++ openstack service list -f csv --quote none ++ grep ',glance,image$' ++ sed -e s/,glance,image//g + OS_SERVICE_ID=fa29b23d3470424cbad010f30c3e85b8 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,glance,image,True,public,' ++ 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 fa29b23d3470424cbad010f30c3e85b8 public https://image.199-204-45-242.nip.io + OS_ENDPOINT_ID=20c35c1961c34f89b084858600653d50 + openstack endpoint show 20c35c1961c34f89b084858600653d50 +--------------+-------------------------------------+ | Field | Value | +--------------+-------------------------------------+ | enabled | True | | id | 20c35c1961c34f89b084858600653d50 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | fa29b23d3470424cbad010f30c3e85b8 | | service_name | glance | | service_type | image | | url | https://image.199-204-45-242.nip.io | +--------------+-------------------------------------+