++ grep ',nova,compute$' ++ openstack service list -f csv --quote none ++ sed -e s/,nova,compute//g /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=0ab98e11ce0249648f9e8206c231fda8 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,nova,compute,True,public,' ++ 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= ++ wc -w ++ echo + '[' 0 -gt 1 ']' + [[ -n '' ]] + OS_ENDPOINT_UPDATE=True + [[ True == \T\r\u\e ]] ++ openstack endpoint create -f value -c id --region=RegionOne 0ab98e11ce0249648f9e8206c231fda8 public https://compute.162-253-55-181.nip.io/v2.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=2660c13ea3f1407dae776e5c097b4492 + openstack endpoint show 2660c13ea3f1407dae776e5c097b4492 /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 | 2660c13ea3f1407dae776e5c097b4492 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 0ab98e11ce0249648f9e8206c231fda8 | | service_name | nova | | service_type | compute | | url | https://compute.162-253-55-181.nip.io/v2.1 | +--------------+--------------------------------------------+