++ openstack service list -f csv --quote none ++ grep ',glance,image$' ++ sed -e s/,glance,image//g + OS_SERVICE_ID=b3d01738bf5246729b72afe45707d84a ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,glance,image,True,public,' ++ awk -F , '{ print $1 }' + OS_ENDPOINT_ID= ++ wc -w ++ echo + '[' 0 -gt 1 ']' + [[ -n '' ]] + OS_ENDPOINT_UPDATE=True + [[ True == \T\r\u\e ]] ++ openstack endpoint create -f value -c id --region=RegionOne b3d01738bf5246729b72afe45707d84a public https://image.199-204-45-19.nip.io + OS_ENDPOINT_ID=ee03236bc34f4a16b41e73221a7207a0 + openstack endpoint show ee03236bc34f4a16b41e73221a7207a0 +--------------+------------------------------------+ | Field | Value | +--------------+------------------------------------+ | enabled | True | | id | ee03236bc34f4a16b41e73221a7207a0 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | b3d01738bf5246729b72afe45707d84a | | url | https://image.199-204-45-19.nip.io | | service_name | glance | | service_type | image | +--------------+------------------------------------+