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