++ openstack service list -f csv --quote none ++ grep ',nova,compute$' ++ sed -e s/,nova,compute//g + OS_SERVICE_ID=bb1ff4f0836346cab3cd812ef05fe5d6 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,nova,compute,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 bb1ff4f0836346cab3cd812ef05fe5d6 public https://compute.162-253-55-52.nip.io/v2.1 + OS_ENDPOINT_ID=a0b44524e0ff482caea69bc6176c2bdc + openstack endpoint show a0b44524e0ff482caea69bc6176c2bdc +--------------+-------------------------------------------+ | Field | Value | +--------------+-------------------------------------------+ | enabled | True | | id | a0b44524e0ff482caea69bc6176c2bdc | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | bb1ff4f0836346cab3cd812ef05fe5d6 | | url | https://compute.162-253-55-52.nip.io/v2.1 | | service_name | nova | | service_type | compute | +--------------+-------------------------------------------+