++ openstack service list -f csv --quote none ++ grep ',octavia,load-balancer$' ++ sed -e s/,octavia,load-balancer//g + OS_SERVICE_ID=19395c503cbb49e8b3d435e3814f3ad2 ++ 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 19395c503cbb49e8b3d435e3814f3ad2 public https://load-balancer.199-204-45-235.nip.io + OS_ENDPOINT_ID=f979294287284dcc9fd4aede871f5e0d + openstack endpoint show f979294287284dcc9fd4aede871f5e0d +--------------+---------------------------------------------+ | Field | Value | +--------------+---------------------------------------------+ | enabled | True | | id | f979294287284dcc9fd4aede871f5e0d | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 19395c503cbb49e8b3d435e3814f3ad2 | | url | https://load-balancer.199-204-45-235.nip.io | | service_name | octavia | | service_type | load-balancer | +--------------+---------------------------------------------+