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