++ grep ',cinderv3,volumev3$' ++ sed -e s/,cinderv3,volumev3//g ++ 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=5725fffcff0648e48bfb14005cfc313b ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,cinderv3,volumev3,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= ++ 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 5725fffcff0648e48bfb14005cfc313b public 'https://volume.199-19-213-188.nip.io/v3/%(tenant_id)s' /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=e13cf8f2a4314359b9bcc15840abf633 + openstack endpoint show e13cf8f2a4314359b9bcc15840abf633 /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 | e13cf8f2a4314359b9bcc15840abf633 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 5725fffcff0648e48bfb14005cfc313b | | service_name | cinderv3 | | service_type | volumev3 | | url | https://volume.199-19-213-188.nip.io/v3/%(tenant_id)s | +--------------+-------------------------------------------------------+