++ openstack service list -f csv --quote none ++ sed -e s/,heat-cfn,cloudformation//g ++ grep ',heat-cfn,cloudformation$' + OS_SERVICE_ID=fa6b9fd7433d4375be51d4d0c96944fc ++ openstack endpoint list -f csv --quote none ++ awk -F , '{ print $1 }' ++ grep '^[a-z0-9]*,RegionOne,heat-cfn,cloudformation,True,internal,' + 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 fa6b9fd7433d4375be51d4d0c96944fc internal http://heat-cfn.openstack.svc.cluster.local:8000/v1 + OS_ENDPOINT_ID=8f2ec3701f214cafa61a18ccc3b8560c + openstack endpoint show 8f2ec3701f214cafa61a18ccc3b8560c +--------------+-----------------------------------------------------+ | Field | Value | +--------------+-----------------------------------------------------+ | enabled | True | | id | 8f2ec3701f214cafa61a18ccc3b8560c | | interface | internal | | region | RegionOne | | region_id | RegionOne | | service_id | fa6b9fd7433d4375be51d4d0c96944fc | | url | http://heat-cfn.openstack.svc.cluster.local:8000/v1 | | service_name | heat-cfn | | service_type | cloudformation | +--------------+-----------------------------------------------------+