++ openstack service list -f csv --quote none ++ grep ',magnum,container-infra$' ++ sed -e s/,magnum,container-infra//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=4f96e781c9fc4e06b56aecc8b1fcdbe0 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,magnum,container-infra,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 4f96e781c9fc4e06b56aecc8b1fcdbe0 admin http://magnum-api.openstack.svc.cluster.local:9511/v1 /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=b59e5eb5dd6f4a07a91ef82cc9f3a85a + openstack endpoint show b59e5eb5dd6f4a07a91ef82cc9f3a85a /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 | b59e5eb5dd6f4a07a91ef82cc9f3a85a | | interface | admin | | region | RegionOne | | region_id | RegionOne | | service_id | 4f96e781c9fc4e06b56aecc8b1fcdbe0 | | service_name | magnum | | service_type | container-infra | | url | http://magnum-api.openstack.svc.cluster.local:9511/v1 | +--------------+-------------------------------------------------------+