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