Skip to content

Commit b97c1c8

Browse files
committed
Do not create volume backed LB with ovn provider
(cherry picked from commit e3389c0)
1 parent a8e933f commit b97c1c8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • zaza/openstack/charm_tests/octavia

zaza/openstack/charm_tests/octavia/tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,9 @@ def create_loadbalancer(self, ensure_volume_backed=False):
500500
else:
501501
vip_subnet_id = subnet_id
502502
for provider in self.get_lb_providers(self.octavia_client).keys():
503+
if ensure_volume_backed and provider != 'amphora':
504+
continue
505+
503506
logging.info('Creating loadbalancer with provider {}'
504507
.format(provider))
505508
final_exc = None

0 commit comments

Comments
 (0)