++ sed -e s/,cinderv3,volumev3//g ++ grep ',cinderv3,volumev3$' ++ openstack service list -f csv --quote none /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=6cb7eaf744764fd4851f5db1f4fd49f5 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,cinderv3,volumev3,True,admin,' ++ 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= ++ 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 6cb7eaf744764fd4851f5db1f4fd49f5 admin 'http://cinder-api.openstack.svc.cluster.local:8776/v3/%(tenant_id)s' /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=24f615d895b4499eb3f9060223fa5c2f + openstack endpoint show 24f615d895b4499eb3f9060223fa5c2f /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 | 24f615d895b4499eb3f9060223fa5c2f | | interface | admin | | region | RegionOne | | region_id | RegionOne | | service_id | 6cb7eaf744764fd4851f5db1f4fd49f5 | | service_name | cinderv3 | | service_type | volumev3 | | url | http://cinder-api.openstack.svc.cluster.local:8776/v3/%(tenant_id)s | +--------------+---------------------------------------------------------------------+