++ openstack service list -f csv --quote none ++ grep ',glance,image$' ++ sed -e s/,glance,image//g + OS_SERVICE_ID=634ec47815474c5096a8475d4b15bc57 ++ 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 634ec47815474c5096a8475d4b15bc57 public https://image.199-19-213-141.nip.io + OS_ENDPOINT_ID=59b2c7f6404c4c1d8e1806254fb05089 + openstack endpoint show 59b2c7f6404c4c1d8e1806254fb05089 +--------------+-------------------------------------+ | Field | Value | +--------------+-------------------------------------+ | enabled | True | | id | 59b2c7f6404c4c1d8e1806254fb05089 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 634ec47815474c5096a8475d4b15bc57 | | url | https://image.199-19-213-141.nip.io | | service_name | glance | | service_type | image | +--------------+-------------------------------------+