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