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