Skip to content

Commit

Permalink
Use a system scope token for ironic client
Browse files Browse the repository at this point in the history
  • Loading branch information
freyes committed Jul 12, 2024
1 parent 333644e commit ebbc2b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zaza/openstack/charm_tests/ironic/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebbc2b0

Please sign in to comment.