++ openstack service list -f csv --quote none ++ grep ',placement,placement$' ++ sed -e s/,placement,placement//g + OS_SERVICE_ID=f93b860a849d43dea17bdbdbdb39f9a9 ++ 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 f93b860a849d43dea17bdbdbdb39f9a9 admin http://placement-api.openstack.svc.cluster.local:8778/ + OS_ENDPOINT_ID=ba92e8bc526b4537af630b4944c32664 + openstack endpoint show ba92e8bc526b4537af630b4944c32664 +--------------+--------------------------------------------------------+ | Field | Value | +--------------+--------------------------------------------------------+ | enabled | True | | id | ba92e8bc526b4537af630b4944c32664 | | interface | admin | | region | RegionOne | | region_id | RegionOne | | service_id | f93b860a849d43dea17bdbdbdb39f9a9 | | url | http://placement-api.openstack.svc.cluster.local:8778/ | | service_name | placement | | service_type | placement | +--------------+--------------------------------------------------------+