++ openstack service list -f csv --quote none ++ grep ',octavia,load-balancer$' ++ sed -e s/,octavia,load-balancer//g + OS_SERVICE_ID=fa3521610f3a4f9b80673978c2476bbe ++ openstack endpoint list -f csv --quote none ++ awk -F , '{ print $1 }' ++ grep '^[a-z0-9]*,RegionOne,octavia,load-balancer,True,admin,' + 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 fa3521610f3a4f9b80673978c2476bbe admin http://octavia-api.openstack.svc.cluster.local:9876 + OS_ENDPOINT_ID=678ff4cb1f454fb88d148b7c8b1bcd73 + openstack endpoint show 678ff4cb1f454fb88d148b7c8b1bcd73 +--------------+-----------------------------------------------------+ | Field | Value | +--------------+-----------------------------------------------------+ | enabled | True | | id | 678ff4cb1f454fb88d148b7c8b1bcd73 | | interface | admin | | region | RegionOne | | region_id | RegionOne | | service_id | fa3521610f3a4f9b80673978c2476bbe | | url | http://octavia-api.openstack.svc.cluster.local:9876 | | service_name | octavia | | service_type | load-balancer | +--------------+-----------------------------------------------------+