From 5aa0f13eaa7eb0f64e7d659fbd4ab1b1ff743bb5 Mon Sep 17 00:00:00 2001 From: FrancescoDeSimone Date: Fri, 8 Jul 2022 11:19:51 +0000 Subject: [PATCH] Remove check_haproxy if hacluster is present in the bundle (#819) Co-authored-by: fdesi --- zaza/openstack/charm_tests/manila/tests.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zaza/openstack/charm_tests/manila/tests.py b/zaza/openstack/charm_tests/manila/tests.py index 455feef..086e16a 100644 --- a/zaza/openstack/charm_tests/manila/tests.py +++ b/zaza/openstack/charm_tests/manila/tests.py @@ -91,6 +91,14 @@ class ManilaTests(test_utils.OpenStackBaseTest): units = zaza.model.get_units('manila') services = ['apache2', 'haproxy', 'manila-scheduler', 'manila-data'] + # Remove check_haproxy if hacluster is present in the bundle + # See LP Bug#1880601 for details + try: + if zaza.model.get_units('hacluster'): + services.remove("haproxy") + except KeyError: + pass + cmds = [] for check_name in services: cmds.append(