From ebbc2b0560922fa3c9118511ad60c6ec423a59f8 Mon Sep 17 00:00:00 2001 From: Felipe Reyes Date: Fri, 12 Jul 2024 15:38:12 -0400 Subject: [PATCH] Use a system scope token for ironic client --- zaza/openstack/charm_tests/ironic/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zaza/openstack/charm_tests/ironic/tests.py b/zaza/openstack/charm_tests/ironic/tests.py index deba8ab01..b6c53809e 100644 --- a/zaza/openstack/charm_tests/ironic/tests.py +++ b/zaza/openstack/charm_tests/ironic/tests.py @@ -22,7 +22,8 @@ def _get_ironic_client(ironic_api_version="1.58"): - keystone_session = openstack_utils.get_overcloud_keystone_session() + keystone_session = openstack_utils.get_overcloud_keystone_session( + scope='system') ironic = ironic_client.Client(1, session=keystone_session, os_ironic_api_version=ironic_api_version) return ironic