++ openstack service list -f csv --quote none ++ sed -e s/,octavia,load-balancer//g ++ grep ',octavia,load-balancer$' + OS_SERVICE_ID=69c00ed8cf524e29bbf3b91502741044 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,octavia,load-balancer,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 69c00ed8cf524e29bbf3b91502741044 public https://load-balancer.199-204-45-222.nip.io + OS_ENDPOINT_ID=9f0c686a99754a818335b9c64717e2f9 + openstack endpoint show 9f0c686a99754a818335b9c64717e2f9 +--------------+---------------------------------------------+ | Field | Value | +--------------+---------------------------------------------+ | enabled | True | | id | 9f0c686a99754a818335b9c64717e2f9 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 69c00ed8cf524e29bbf3b91502741044 | | url | https://load-balancer.199-204-45-222.nip.io | | service_name | octavia | | service_type | load-balancer | +--------------+---------------------------------------------+