Skip to content

Commit

Permalink
tempest: Properly render IPv6 endpoint IPs.
Browse files Browse the repository at this point in the history
Signed-off-by: Frode Nordahl <[email protected]>
  • Loading branch information
fnordahl committed Oct 11, 2024
1 parent a9f7794 commit 0d6d912
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zaza/openstack/charm_tests/tempest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import zaza.model as model
import zaza.utilities.deployment_env as deployment_env
import zaza.utilities.juju as zaza_juju_utils
import zaza.utilities.networking
import zaza.openstack.utilities.juju as juju_utils
import zaza.openstack.utilities.openstack as openstack_utils
import zaza.openstack.charm_tests.glance.setup as glance_setup
Expand Down Expand Up @@ -220,7 +221,10 @@ def _add_application_ips(ctxt):
for ctxt_key, application_name in (('keystone', 'keystone'),
('dashboard', 'openstack-dashboard'),
('ncc', 'nova-cloud-controller')):
ctxt[ctxt_key] = zaza_juju_utils.get_application_ip(application_name)
ip = zaza_juju_utils.get_application_ip(application_name)
if ip:
ip = zaza.utilities.networking.format_addr(ip)
ctxt[ctxt_key] = ip


def _add_nova_config(ctxt, keystone_session, missing_fatal=True):
Expand Down

0 comments on commit 0d6d912

Please sign in to comment.