++ openstack service list -f csv --quote none ++ grep ',heat,orchestration$' ++ sed -e s/,heat,orchestration//g + OS_SERVICE_ID=9d63df2933094cd499a4a1e3d5f4be3b ++ openstack endpoint list -f csv --quote none ++ awk -F , '{ print $1 }' ++ grep '^[a-z0-9]*,RegionOne,heat,orchestration,True,public,' + OS_ENDPOINT_ID= ++ wc -w ++ echo + '[' 0 -gt 1 ']' + [[ -n '' ]] + OS_ENDPOINT_UPDATE=True + [[ True == \T\r\u\e ]] ++ openstack endpoint create -f value -c id --region=RegionOne 9d63df2933094cd499a4a1e3d5f4be3b public 'https://orchestration.162-253-55-123.nip.io/v1/%(project_id)s' + OS_ENDPOINT_ID=e32fadceb2fd439b8e04888e445b9920 + openstack endpoint show e32fadceb2fd439b8e04888e445b9920 +--------------+---------------------------------------------------------------+ | Field | Value | +--------------+---------------------------------------------------------------+ | enabled | True | | id | e32fadceb2fd439b8e04888e445b9920 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 9d63df2933094cd499a4a1e3d5f4be3b | | service_name | heat | | service_type | orchestration | | url | https://orchestration.162-253-55-123.nip.io/v1/%(project_id)s | +--------------+---------------------------------------------------------------+