++ openstack service list -f csv --quote none ++ grep ',heat,orchestration$' ++ sed -e s/,heat,orchestration//g + OS_SERVICE_ID=ee9d597839314b579336061a7e85198c ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,heat,orchestration,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 ee9d597839314b579336061a7e85198c public 'https://orchestration.162-253-55-3.nip.io/v1/%(project_id)s' + OS_ENDPOINT_ID=4f53623f9c224a08b9dbe920e830eb0b + openstack endpoint show 4f53623f9c224a08b9dbe920e830eb0b +--------------+-------------------------------------------------------------+ | Field | Value | +--------------+-------------------------------------------------------------+ | enabled | True | | id | 4f53623f9c224a08b9dbe920e830eb0b | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | ee9d597839314b579336061a7e85198c | | url | https://orchestration.162-253-55-3.nip.io/v1/%(project_id)s | | service_name | heat | | service_type | orchestration | +--------------+-------------------------------------------------------------+