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