From 6d9d712310453db3528b93159280c3e687aedf3e Mon Sep 17 00:00:00 2001 From: Hemanth Nakkina Date: Fri, 3 Nov 2023 13:17:49 +0530 Subject: [PATCH] Fix traefik config filename Traefik config file names are of format juju_ingress_ingress__.yaml for ingress interface. However if traefik_route interface is used, the file name format is juju_ingress_traefik-route__.yamlwq In tempest tests, wait_for_traefik, change the filename format to support both ingress and traefik-route interfaces. --- zaza/openstack/charm_tests/tempest/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaza/openstack/charm_tests/tempest/tests.py b/zaza/openstack/charm_tests/tempest/tests.py index 350ba474e..9e2e39b8f 100644 --- a/zaza/openstack/charm_tests/tempest/tests.py +++ b/zaza/openstack/charm_tests/tempest/tests.py @@ -198,7 +198,7 @@ def wait_for_traefik(self, application_name): "determine when traefik has processed all requests") units_count = len(zaza.model.get_units(application_name)) container_cmd = ( - "cat /opt/traefik/juju/juju_ingress_ingress_*_{}.yaml").format( + "cat /opt/traefik/juju/juju_ingress_*_*_{}.yaml").format( application_name) container_name = "traefik" for unit in zaza.model.get_units("traefik"):