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