++ openstack service list -f csv --quote none ++ grep ',heat,orchestration$' ++ sed -e s/,heat,orchestration//g + OS_SERVICE_ID=14652e6bc93c454b807c769253fb3a1c ++ awk -F , '{ print $1 }' ++ grep '^[a-z0-9]*,RegionOne,heat,orchestration,True,public,' ++ openstack endpoint list -f csv --quote none + 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 14652e6bc93c454b807c769253fb3a1c public 'https://orchestration.199-19-213-104.nip.io/v1/%(project_id)s' + OS_ENDPOINT_ID=ac0b22d9e13e4ca5be4418a165c824f4 + openstack endpoint show ac0b22d9e13e4ca5be4418a165c824f4 +--------------+---------------------------------------------------------------+ | Field | Value | +--------------+---------------------------------------------------------------+ | enabled | True | | id | ac0b22d9e13e4ca5be4418a165c824f4 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 14652e6bc93c454b807c769253fb3a1c | | url | https://orchestration.199-19-213-104.nip.io/v1/%(project_id)s | | service_name | heat | | service_type | orchestration | +--------------+---------------------------------------------------------------+