++ grep ',octavia,load-balancer$' ++ sed -e s/,octavia,load-balancer//g ++ openstack service list -f csv --quote none Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + OS_SERVICE_ID=1d5cebdfd1a64770b8381f6e60f4154a ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,octavia,load-balancer,True,public,' ++ awk -F , '{ print $1 }' Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + 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 1d5cebdfd1a64770b8381f6e60f4154a public https://load-balancer.162-253-55-19.nip.io Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + OS_ENDPOINT_ID=30bbf272714149248a1f94e423617adb + openstack endpoint show 30bbf272714149248a1f94e423617adb Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' +--------------+--------------------------------------------+ | Field | Value | +--------------+--------------------------------------------+ | enabled | True | | id | 30bbf272714149248a1f94e423617adb | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 1d5cebdfd1a64770b8381f6e60f4154a | | url | https://load-balancer.162-253-55-19.nip.io | | service_name | octavia | | service_type | load-balancer | +--------------+--------------------------------------------+