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