++ openstack service list -f csv --quote none ++ grep ',placement,placement$' ++ sed -e s/,placement,placement//g + OS_SERVICE_ID=bbaf944ed2804a54b4f2258211d5606d ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,placement,placement,True,internal,' ++ 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 bbaf944ed2804a54b4f2258211d5606d internal http://placement-api.openstack.svc.cluster.local:8778/ + OS_ENDPOINT_ID=90010b7dd517409b8a3883688f50c700 + openstack endpoint show 90010b7dd517409b8a3883688f50c700 +--------------+--------------------------------------------------------+ | Field | Value | +--------------+--------------------------------------------------------+ | enabled | True | | id | 90010b7dd517409b8a3883688f50c700 | | interface | internal | | region | RegionOne | | region_id | RegionOne | | service_id | bbaf944ed2804a54b4f2258211d5606d | | url | http://placement-api.openstack.svc.cluster.local:8778/ | | service_name | placement | | service_type | placement | +--------------+--------------------------------------------------------+