Skip to content

Commit

Permalink
Merge pull request #1161 from openstack-charmers/add-nova-retrier
Browse files Browse the repository at this point in the history
Add a retrier-wrap to the nova client for octavia tests
  • Loading branch information
coreycb authored Nov 2, 2023
2 parents 014c4fa + def0148 commit 18e735c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zaza/openstack/utilities/openstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
from zaza.openstack.utilities import (
exceptions,
generic as generic_utils,
ObjectRetrierWraps,
)
import zaza.utilities.networking as network_utils

Expand Down Expand Up @@ -379,7 +380,8 @@ def get_nova_session_client(session, version=None):
"""
if not version:
version = 2
return novaclient_client.Client(version, session=session)
return ObjectRetrierWraps(
novaclient_client.Client(version, session=session))


def get_neutron_session_client(session):
Expand Down

0 comments on commit 18e735c

Please sign in to comment.