++ openstack service list -f csv --quote none ++ grep ',nova,compute$' ++ sed -e s/,nova,compute//g + OS_SERVICE_ID=001e2e81ab604d88b6e3928a45bcfe4a ++ openstack endpoint list -f csv --quote none ++ awk -F , '{ print $1 }' ++ grep '^[a-z0-9]*,RegionOne,nova,compute,True,public,' + 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 001e2e81ab604d88b6e3928a45bcfe4a public https://compute.199-204-45-74.nip.io/v2.1 + OS_ENDPOINT_ID=da20e0223c764448836be8b7a771b7a8 + openstack endpoint show da20e0223c764448836be8b7a771b7a8 +--------------+-------------------------------------------+ | Field | Value | +--------------+-------------------------------------------+ | enabled | True | | id | da20e0223c764448836be8b7a771b7a8 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 001e2e81ab604d88b6e3928a45bcfe4a | | url | https://compute.199-204-45-74.nip.io/v2.1 | | service_name | nova | | service_type | compute | +--------------+-------------------------------------------+