prevent nic removal on out of bounds router stop - #8371
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #8371 +/- ##
============================================
+ Coverage 30.88% 30.94% +0.06%
- Complexity 34079 34232 +153
============================================
Files 5341 5347 +6
Lines 374861 375574 +713
Branches 54518 54629 +111
============================================
+ Hits 115769 116220 +451
- Misses 243825 244046 +221
- Partials 15267 15308 +41
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@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 8081 |
|
This code snippet seems not related to private ip release. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8087 |
4213673 to
b61b4e9
Compare
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8091 |
94eacbd to
a5d8a72
Compare
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8098 |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8104 |
weizhouapache
left a comment
There was a problem hiding this comment.
The title needs to be updated
- ip release, not nic removal
- it is not related to out-of-band stop. currently control ip is released even if vr is stopped by cloudstack api. If VR is started out of band, but the previous used / released control ip is allocated to other VRs, there will be some issues.
|
just noticed that the client vlan is being removed as well. I think this must be fixed as well @weizhouapache @andrijapanicsb . |
@DaanHoogland
if only VR is stopped, the vlan is not released. |
ignore this. what @DaanHoogland mentioned is, the vlan of VR nics is set to empty, when VR is stopped (by CloudStack API/UI or OOB) |
thanks @weizhouapache , we also discussed and agreed that this does need fixing (in the scope of this fix). The more general issue (might become) handling of OOB actions in genenral and OOB DRS specifically. I will wrap/clean up the PR |
|
@blueorangutan package |
|
@rohityadavcloud 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 8637 |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
have a look @weizhouapache . should implement what you suggested. |
|
[SF] Trillian test result (tid-9190)
|
|
@blueorangutan package |
|
@rohityadavcloud 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. |
weizhouapache
left a comment
There was a problem hiding this comment.
@DaanHoogland
overall lgtm
left some comments
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8667 |
Co-authored-by: Wei Zhou <weizhou@apache.org>
|
@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 8668 |
|
@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-9237)
|
Co-authored-by: Vishesh <vishesh92@gmail.com> Co-authored-by: Wei Zhou <weizhou@apache.org>
Description
This PR...
Fixes: #8284
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?