-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
server: apply rules when VR of Domain VPC is recreated #8354
server: apply rules when VR of Domain VPC is recreated #8354
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #8354 +/- ##
============================================
+ Coverage 22.25% 30.75% +8.49%
- Complexity 22439 33065 +10626
============================================
Files 5117 5353 +236
Lines 346819 374603 +27784
Branches 49790 54634 +4844
============================================
+ Hits 77190 115196 +38006
+ Misses 258466 244117 -14349
- Partials 11163 15290 +4127
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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, looks like a good cleanup
@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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8051 |
@blueorangutan test |
@shwstppr a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
[SF] Trillian test result (tid-8599)
|
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
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.
Just a minor adjustment.
server/src/main/java/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Daniel Augusto Veronezi Salvador <[email protected]>
@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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8685 |
@blueorangutan test |
@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
[SF] Trillian test result (tid-9264)
|
@DaanHoogland @GutoVeronezi @shwstppr @JoaoJandre Is there any pending concern regarding this or can we proceed with the merge? |
@GaOrtiga |
Ping @GaOrtiga Any update on the testing and results? |
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
@blueorangutan package |
@sureshanaparti 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]: ✔️ el7 ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 10142 |
@blueorangutan package |
@weizhouapache 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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10146 |
Ping @GaOrtiga Any further update? |
No updates, just needs testing, I will check if someone can test and post results. |
tested ok. cc @sureshanaparti @GaOrtiga |
@weizhouapache Thank you for testing. Yes I will create the doc PR. |
Hi @GaOrtiga Please update the doc PR reference here once it is ready. Thanks. |
@weizhouapache @sureshanaparti |
* apply rules when VR is recreated * Apply suggestions from code review Co-authored-by: Daniel Augusto Veronezi Salvador <[email protected]> Co-authored-by: Gabriel <[email protected]>
Description
After re-creating a VR from a domain VPC, ACS will not apply static nat, port forward and load balancer rules to IPs that are not associated to the account that owns the VPC.
An adjustment was made to make sure that these rules are applied for all IPs when performing the following procedures:
VR restart
VPC restart
VPC restart with cleanup
recreate VR when health-check fails
recreate VR on failover
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
How Has This Been Tested?
In a local lab, I performed the procedures listed in the description and verified that after applying the changes, the IPs owned by accounts different than the VPC owner were having their rules applied accordingly.