Remove check_haproxy if hacluster is present in the bundle (#819)
Co-authored-by: fdesi <francesco.desimone@canonical.com>
This commit is contained in:
committed by
GitHub
parent
4a6418e939
commit
5aa0f13eaa
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user