Detection of underlying openstack ladbalancer mechanism should consider region

Bug #1919940 reported by Hemanth Nakkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Openstack Integrator Charm
Fix Released
High
Hemanth Nakkina

Bug Description

Currently the function to detect if Octavia is present in the underlying openstack [1] gets catalog across all regions and if octavia is detected in any one of the region then openstack-integrator considers Octavia is active. However the LB creation/deletion fails further if Octavia is not present in the same region as trust parameters passed to openstack-integrator.

The Octavia detection should return True only when Octavia is present in the same region as openstack creds/trust passed to the charm.

Usecase:
Cloud deployed with 2 regions. Region1 has Neutron LBaaS (older mechanism) and Region 2 has Octavia.
When openstack-integrator charm is deployed with openstack credentials of Region1, the charm detects Octavia is present in the cloud and tries to create Octavia LBs on Region1 and further fails.
The expectation in this case is openstack-integrator charm should default to NeutronLBaaS Implementation since Octavia is not present in that particular region and try creation of LBs with NeutronLBaaS mechanism.

[1] https://github.com/juju-solutions/charm-openstack-integrator/blob/9b805567c4d5d2dd4da7a33ecaa4ad7504d7e0ed/lib/charms/layer/openstack.py#L136-L140

Tags: sts
description: updated
Changed in charm-openstack-integrator:
assignee: nobody → Hemanth Nakkina (hemanth-n)
tags: added: sts
Revision history for this message
Hemanth Nakkina (hemanth-n) wrote :
Changed in charm-openstack-integrator:
status: New → In Progress
Revision history for this message
Hemanth Nakkina (hemanth-n) wrote :

PR merged and so changing the status to Fix Committed

Changed in charm-openstack-integrator:
status: In Progress → Fix Committed
Revision history for this message
George Kraft (cynerva) wrote :
Changed in charm-openstack-integrator:
milestone: none → 1.20+ck2
importance: Undecided → High
Revision history for this message
Kevin W Monroe (kwmonroe) wrote :

1.20+ck2 is no longer planned; this will go out with the upcoming 1.21 release.

Changed in charm-openstack-integrator:
milestone: 1.20+ck2 → 1.21
Changed in charm-openstack-integrator:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.