+ shopt -s nocasematch + [[ service == \D\e\f\a\u\l\t ]] ++ openstack domain create --or-show --enable -f value -c id '--description=Domain for RegionOne/service' service /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 + PROJECT_DOMAIN_ID=61dfd84f531f4e3cae54a5e5e8526ad1 + [[ service == \D\e\f\a\u\l\t ]] ++ openstack domain create --or-show --enable -f value -c id '--description=Domain for RegionOne/service' service /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 + USER_DOMAIN_ID=61dfd84f531f4e3cae54a5e5e8526ad1 + shopt -u nocasematch + USER_PROJECT_DESC='Service Project for RegionOne/service' ++ openstack project create --or-show --enable -f value -c id --domain=61dfd84f531f4e3cae54a5e5e8526ad1 '--description=Service Project for RegionOne/service' service /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 + USER_PROJECT_ID=83b43c27e23e4fa3be21f564872a08cc + USER_DESC='Service User for RegionOne/service/barbican' ++ openstack user create --or-show --enable -f value -c id --domain=61dfd84f531f4e3cae54a5e5e8526ad1 --project-domain=61dfd84f531f4e3cae54a5e5e8526ad1 --project=83b43c27e23e4fa3be21f564872a08cc '--description=Service User for RegionOne/service/barbican' barbican-RegionOne /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 No password was supplied, authentication will fail when a user does not have a password. + USER_ID=99f8fa0ba56545f0b15e3abab71ebda1 + set +x Setting user password via: openstack user set --password=xxxxxxx 99f8fa0ba56545f0b15e3abab71ebda1 /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 + IFS=, + for SERVICE_OS_ROLE in ${SERVICE_OS_ROLES} + ks_assign_user_role + [[ admin == \a\d\m\i\n ]] + USER_ROLE_ID=admin + openstack role add --user=99f8fa0ba56545f0b15e3abab71ebda1 --user-domain=61dfd84f531f4e3cae54a5e5e8526ad1 --project-domain=61dfd84f531f4e3cae54a5e5e8526ad1 --project=83b43c27e23e4fa3be21f564872a08cc 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 + : member ++ openstack role create --or-show -f value -c id member /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 + export USER_ROLE_ID=e927d7729f52413198736b10822cc406 + USER_ROLE_ID=e927d7729f52413198736b10822cc406 + ks_assign_user_role + [[ admin == \a\d\m\i\n ]] + USER_ROLE_ID=admin + openstack role add --user=99f8fa0ba56545f0b15e3abab71ebda1 --user-domain=61dfd84f531f4e3cae54a5e5e8526ad1 --project-domain=61dfd84f531f4e3cae54a5e5e8526ad1 --project=83b43c27e23e4fa3be21f564872a08cc 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