Merge "Fix Compute Live Migration tests with Ironic"

This commit is contained in:
Zuul 2022-11-24 10:04:31 +00:00 committed by Gerrit Code Review
commit cd354d8ce3
1 changed files with 2 additions and 0 deletions

View File

@ -698,6 +698,8 @@ class BaseV2ComputeAdminTest(BaseV2ComputeTest):
binary='nova-compute')['services']
hosts = []
for svc in svcs:
if svc['host'].endswith('-ironic'):
continue
if svc['state'] == 'up' and svc['status'] == 'enabled':
if CONF.compute.compute_volume_common_az:
if svc['zone'] == CONF.compute.compute_volume_common_az: