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