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