Skip to content

chore: Make Loadbalancer Amphora feature generally available - #898

Merged
gboutry merged 2 commits into
canonical:stable/2024.1from
hemanthnakkina:amphora-feature-gate-stable/2024.1
Aug 19, 2026
Merged

chore: Make Loadbalancer Amphora feature generally available#898
gboutry merged 2 commits into
canonical:stable/2024.1from
hemanthnakkina:amphora-feature-gate-stable/2024.1

Conversation

@hemanthnakkina

@hemanthnakkina hemanthnakkina commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Loadbalancer Amphora feature is behind a feature gate. Operator needs to set the following config option on snap openstack feature.loadbalancer-amphora=True.

The idea is to make the feature Generally Available and move it out of feature gate.

QA steps

sudo snap install openstack --channel <>
sudo snap set openstack feature.microovn-sdn=True
sudo snap set openstack ovn.provider=microovn
sudo snap set openstack feature.split-roles=true
sunbeam cluster bootstrap --role control,compute,storage -a
sunbeam configure -a
sunbeam loadbalancer configure

Links

https://canonical-openstack.readthedocs-hosted.com/en/latest/how-to/features/load-balancer/#enabling-the-amphora-provider

@hemanthnakkina
hemanthnakkina marked this pull request as draft August 13, 2026 09:29
hemanthnakkina and others added 2 commits August 14, 2026 13:25
Loadbalancer Amphora feature is behind a feature gate.
Move it out of feature gate so that the functionality
is generally available.

Signed-off-by: Hemanth Nakkina <hemanth.nakkina@canonical.com>
(cherry picked from commit 75f77ec)
(cherry picked from commit d26b638)
Making amphora GA (prev commit) left requires:["feature.microovn-sdn"]
on a GA gate, which validate_feature_gate_config — run at every CLI
startup and snap set — would raise on default deployments where
microovn-sdn is off (not the default SDN on stable/2025.1).

- Skip GA gates' requires in validate_feature_gate_config (startup
  validator); their deps are use-time concerns, not config-time.
- Add use-time check in run_configure_plans enable path: raise
  ClickException if feature.microovn-sdn is not enabled, before
  deploying any amphora infrastructure.
- Update test_ga_gate_with_unmet_dep to reflect GA gates' requires
  are not validated at startup; add TestRunConfigurePlansMicroovnCheck.

Signed-off-by: Hemanth Nakkina <hemanth.nakkina@canonical.com>
(cherry picked from commit 7909e3d)
@hemanthnakkina
hemanthnakkina force-pushed the amphora-feature-gate-stable/2024.1 branch from 774a29f to a4313fc Compare August 14, 2026 07:57
@hemanthnakkina
hemanthnakkina marked this pull request as ready for review August 14, 2026 07:57
@gboutry
gboutry merged commit 87afb3d into canonical:stable/2024.1 Aug 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants