Skip to content

Hotswap security groups - #14970

Open
bddvlpr wants to merge 2 commits into
apache:mainfrom
bddvlpr:hotswap-security-groups
Open

bddvlpr wants to merge 2 commits into
apache:mainfrom
bddvlpr:hotswap-security-groups

Conversation

@bddvlpr

@bddvlpr bddvlpr commented Dec 3, 2026

Copy link
Copy Markdown

Description

Allow security group membership changes on running instances. Apply updates transactionally and refresh rules on the instance and peers whose ingress or egress rules reference the groups.

Added hardware smoke tests convering live traffic changes, peer rule refreshes, membership clearing, duplicate and invalid IDs, and stopped instance updates.

Closes: #9960
Closes: #12976

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

Smoke tested on a virtualized cluster, yet to be tested on a running cluster. Validated both smoke tests on CirrOS and CentOS Stream 9.

How did you try to break this feature and the system with this change?

This enhancement is only tested and designed for KVM. Due to a lack of hardware, I am unable to test this for other hypervisors.

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.

@codecov

codecov Bot commented Dec 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 3.87%. Comparing base (58fda71) to head (382b551).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #14970    +/-   ##
=======================================
  Coverage   3.86%    3.87%            
=======================================
  Files        494      499     +5     
  Lines      42888    43151   +263     
  Branches    8141     8204    +63     
=======================================
+ Hits        1657     1670    +13     
- Misses     40999    41246   +247     
- Partials     232      235     +3     
Flag Coverage Δ
uitests 3.87% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bddvlpr
bddvlpr force-pushed the hotswap-security-groups branch from 382b551 to e594515 Compare December 3, 2026 14:06
@bddvlpr

bddvlpr commented Dec 3, 2026

Copy link
Copy Markdown
Author

Rebased the branch, forgot it was stale.

@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 20282

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Live security group additions and removals Improvement Request : Adjust security groups more flexibly

2 participants