++ sed -e s/,octavia,load-balancer//g ++ grep ',octavia,load-balancer$' ++ openstack service list -f csv --quote none /var/lib/openstack/lib/python3.10/site-packages/munch/__init__.py:24: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources + OS_SERVICE_ID=98d5202c25fa46f48d96e5126ac2e901 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,octavia,load-balancer,True,admin,' ++ awk -F , '{ print $1 }' /var/lib/openstack/lib/python3.10/site-packages/munch/__init__.py:24: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources + 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 98d5202c25fa46f48d96e5126ac2e901 admin http://octavia-api.openstack.svc.cluster.local:9876 /var/lib/openstack/lib/python3.10/site-packages/munch/__init__.py:24: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources + OS_ENDPOINT_ID=75acd5d82f564902964e2d6f285fb9b9 + openstack endpoint show 75acd5d82f564902964e2d6f285fb9b9 /var/lib/openstack/lib/python3.10/site-packages/munch/__init__.py:24: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources +--------------+-----------------------------------------------------+ | Field | Value | +--------------+-----------------------------------------------------+ | enabled | True | | id | 75acd5d82f564902964e2d6f285fb9b9 | | interface | admin | | region | RegionOne | | region_id | RegionOne | | service_id | 98d5202c25fa46f48d96e5126ac2e901 | | service_name | octavia | | service_type | load-balancer | | url | http://octavia-api.openstack.svc.cluster.local:9876 | +--------------+-----------------------------------------------------+