++ grep ',nova,compute$' ++ openstack service list -f csv --quote none ++ sed -e s/,nova,compute//g /var/lib/openstack/lib/python3.10/site-packages/zaqarclient/version.py:17: 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=80b5d79688674fa4a4443afc5315f199 ++ openstack endpoint list -f csv --quote none ++ awk -F , '{ print $1 }' ++ grep '^[a-z0-9]*,RegionOne,nova,compute,True,public,' /var/lib/openstack/lib/python3.10/site-packages/zaqarclient/version.py:17: 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 80b5d79688674fa4a4443afc5315f199 public https://compute.199-204-45-44.nip.io/v2.1 /var/lib/openstack/lib/python3.10/site-packages/zaqarclient/version.py:17: 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=a39d60f0f15c46be9b36830887383471 + openstack endpoint show a39d60f0f15c46be9b36830887383471 /var/lib/openstack/lib/python3.10/site-packages/zaqarclient/version.py:17: 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 | a39d60f0f15c46be9b36830887383471 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 80b5d79688674fa4a4443afc5315f199 | | service_name | nova | | service_type | compute | | url | https://compute.199-204-45-44.nip.io/v2.1 | +--------------+-------------------------------------------+