++ openstack service list -f csv --quote none ++ grep ',glance,image$' ++ sed -e s/,glance,image//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=a8eabe74284546339719a32e918c727d ++ openstack endpoint list -f csv --quote none ++ awk -F , '{ print $1 }' ++ grep '^[a-z0-9]*,RegionOne,glance,image,True,admin,' /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 a8eabe74284546339719a32e918c727d admin http://glance-api.openstack.svc.cluster.local:9292 /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=e8c8aa6075a24e139e1feed8c7ce5670 + openstack endpoint show e8c8aa6075a24e139e1feed8c7ce5670 /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 | e8c8aa6075a24e139e1feed8c7ce5670 | | interface | admin | | region | RegionOne | | region_id | RegionOne | | service_id | a8eabe74284546339719a32e918c727d | | service_name | glance | | service_type | image | | url | http://glance-api.openstack.svc.cluster.local:9292 | +--------------+----------------------------------------------------+