++ openstack service list -f csv --quote none ++ grep ',placement,placement$' ++ sed -e s/,placement,placement//g + OS_SERVICE_ID=0be8bd0914924a89b6349bc8c54479c8 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,placement,placement,True,admin,' ++ awk -F , '{ print $1 }' + OS_ENDPOINT_ID= ++ echo ++ wc -w + '[' 0 -gt 1 ']' + [[ -n '' ]] + OS_ENDPOINT_UPDATE=True + [[ True == \T\r\u\e ]] ++ openstack endpoint create -f value -c id --region=RegionOne 0be8bd0914924a89b6349bc8c54479c8 admin http://placement-api.openstack.svc.cluster.local:8778/ + OS_ENDPOINT_ID=5709f057236d481aa6cd6a92db2fb205 + openstack endpoint show 5709f057236d481aa6cd6a92db2fb205 +--------------+--------------------------------------------------------+ | Field | Value | +--------------+--------------------------------------------------------+ | enabled | True | | id | 5709f057236d481aa6cd6a92db2fb205 | | interface | admin | | region | RegionOne | | region_id | RegionOne | | service_id | 0be8bd0914924a89b6349bc8c54479c8 | | url | http://placement-api.openstack.svc.cluster.local:8778/ | | service_name | placement | | service_type | placement | +--------------+--------------------------------------------------------+