++ grep ',glance,image$' ++ openstack service list -f csv --quote none ++ sed -e s/,glance,image//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=1efdcd8ae679499684572f42591f9841 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,glance,image,True,public,' ++ awk -F , '{ print $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= ++ 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 1efdcd8ae679499684572f42591f9841 public https://image.199-204-45-89.nip.io /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=e35a73d1cb264737962b63b21ed53017 + openstack endpoint show e35a73d1cb264737962b63b21ed53017 /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 | e35a73d1cb264737962b63b21ed53017 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 1efdcd8ae679499684572f42591f9841 | | service_name | glance | | service_type | image | | url | https://image.199-204-45-89.nip.io | +--------------+------------------------------------+