++ openstack service list -f csv --quote none ++ sed -e s/,nova,compute//g ++ grep ',nova,compute$' + OS_SERVICE_ID=c4836bbb6d3a4fd4bd11e29a5b0f0390 ++ 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 c4836bbb6d3a4fd4bd11e29a5b0f0390 public https://compute.199-204-45-129.nip.io/v2.1 + OS_ENDPOINT_ID=297445b74fa34e1ab5f4a18dad894be2 + openstack endpoint show 297445b74fa34e1ab5f4a18dad894be2 +--------------+--------------------------------------------+ | Field | Value | +--------------+--------------------------------------------+ | enabled | True | | id | 297445b74fa34e1ab5f4a18dad894be2 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | c4836bbb6d3a4fd4bd11e29a5b0f0390 | | url | https://compute.199-204-45-129.nip.io/v2.1 | | service_name | nova | | service_type | compute | +--------------+--------------------------------------------+