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