++ openstack service list -f csv --quote none ++ sed -e s/,glance,image//g ++ grep ',glance,image$' + OS_SERVICE_ID=630432b65c21431dacb21a3a80355312 ++ openstack endpoint list -f csv --quote none ++ awk -F , '{ print $1 }' ++ grep '^[a-z0-9]*,RegionOne,glance,image,True,public,' + 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 630432b65c21431dacb21a3a80355312 public https://image.199-19-213-86.nip.io + OS_ENDPOINT_ID=895853c3f19a414ea04fefc0bc3f7568 + openstack endpoint show 895853c3f19a414ea04fefc0bc3f7568 +--------------+------------------------------------+ | Field | Value | +--------------+------------------------------------+ | enabled | True | | id | 895853c3f19a414ea04fefc0bc3f7568 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 630432b65c21431dacb21a3a80355312 | | service_name | glance | | service_type | image | | url | https://image.199-19-213-86.nip.io | +--------------+------------------------------------+