-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Allow updating of Load Balancer source CIDR list #10968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 4.19
Are you sure you want to change the base?
Conversation
Congratulations on your first Pull Request and welcome to the Apache CloudStack community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md)
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #10968 +/- ##
=========================================
Coverage 15.17% 15.18%
- Complexity 11360 11370 +10
=========================================
Files 5416 5416
Lines 475890 475909 +19
Branches 58093 58101 +8
=========================================
+ Hits 72230 72270 +40
+ Misses 395573 395545 -28
- Partials 8087 8094 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@CodeBleu 4.19 is perfectly alright for this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm
@DaanHoogland Great, thanks!
|
Yes, we should encode this better. We require least two reviews and minimal 1 "external" tester.
When merged by a committer, we will merge the target branch forward to all release branches and main. |
@blueorangutan package |
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13717 |
@blueorangutan test |
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
[SF] Trillian Build Failed (tid-13506) |
[SF] Trillian test result (tid-13507)
|
Description
This PR will allow the updating of a loadbalancer rules
CIDR list
via the API.* Should fix #9313
Not 100% sure this is the correct place to base and create PR for, but this issue does exist in
4.19
,4.20
, andmain
. I figure I'd start here and see what is needed to get this into the code base so>= 4.19
will have the fixes.I have tested this code in
4.19
,4.20
, andmain
branches via simulator and all works, just not sure of the process to get this fix into those branches.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
Before, the Source CIDR list was blank (Simulator env)

Tested on
actual test environment
and below is where you can see when it was restricted it didn't connect to mysql, but when opened up and CIDR set to 0.0.0.0/0 it worked. I tested with specific Public IP in CIDR as well (x.x.0.118/32) and this works and you can see in the virtual router for haproxy it set the ACL.Restricted with wrong IP in source CIDR of LB
With correct source CIDR or 0.0.0.0/0
How Has This Been Tested?
How did you try to break this feature and the system with this change?
Ran multiple tests with Cloudmonkey against simulator and actual test environment. See above for testing info