++ openstack service list -f csv --quote none ++ grep ',placement,placement$' ++ sed -e s/,placement,placement//g + OS_SERVICE_ID=849ac5ac0a664080a6475ce39b3de66c ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,placement,placement,True,internal,' ++ awk -F , '{ print $1 }' + OS_ENDPOINT_ID=03514bbe07f6403ba00b3c9371d6d9cb ++ echo 03514bbe07f6403ba00b3c9371d6d9cb ++ wc -w + '[' 1 -gt 1 ']' + [[ -n 03514bbe07f6403ba00b3c9371d6d9cb ]] ++ openstack endpoint show 03514bbe07f6403ba00b3c9371d6d9cb -f value -c url + OS_ENDPOINT_URL_CURRENT=http://placement-api.openstack.svc.cluster.local:8778/ + '[' http://placement-api.openstack.svc.cluster.local:8778/ == http://placement-api.openstack.svc.cluster.local:8778/ ']' + echo 'Endpoints Match: no action required' + OS_ENDPOINT_UPDATE=False + [[ False == \T\r\u\e ]] + openstack endpoint show 03514bbe07f6403ba00b3c9371d6d9cb Endpoints Match: no action required +--------------+--------------------------------------------------------+ | Field | Value | +--------------+--------------------------------------------------------+ | enabled | True | | id | 03514bbe07f6403ba00b3c9371d6d9cb | | interface | internal | | region | RegionOne | | region_id | RegionOne | | service_id | 849ac5ac0a664080a6475ce39b3de66c | | url | http://placement-api.openstack.svc.cluster.local:8778/ | | service_name | placement | | service_type | placement | +--------------+--------------------------------------------------------+