++ openstack service list -f csv --quote none ++ grep ',glance,image$' ++ sed -e s/,glance,image//g + OS_SERVICE_ID=25cb75b6812b4f6bb5469f3456a56ae8 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,glance,image,True,public,' ++ awk -F , '{ print $1 }' + OS_ENDPOINT_ID=5413a0489db747578fa2ca069111ad4c ++ echo 5413a0489db747578fa2ca069111ad4c ++ wc -w + '[' 1 -gt 1 ']' + [[ -n 5413a0489db747578fa2ca069111ad4c ]] ++ openstack endpoint show 5413a0489db747578fa2ca069111ad4c -f value -c url + OS_ENDPOINT_URL_CURRENT=https://image.162-253-55-223.nip.io + '[' https://image.162-253-55-223.nip.io == https://image.162-253-55-223.nip.io ']' + echo 'Endpoints Match: no action required' + OS_ENDPOINT_UPDATE=False Endpoints Match: no action required + [[ False == \T\r\u\e ]] + openstack endpoint show 5413a0489db747578fa2ca069111ad4c +--------------+-------------------------------------+ | Field | Value | +--------------+-------------------------------------+ | enabled | True | | id | 5413a0489db747578fa2ca069111ad4c | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 25cb75b6812b4f6bb5469f3456a56ae8 | | url | https://image.162-253-55-223.nip.io | | service_name | glance | | service_type | image | +--------------+-------------------------------------+