-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Netris: Fix inactive VPCs deletion #11618
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
Conversation
|
@blueorangutan package |
|
@Pearl1594 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. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11618 +/- ##
=========================================
Coverage 17.39% 17.39%
- Complexity 15279 15282 +3
=========================================
Files 5888 5888
Lines 526092 526092
Branches 64223 64223
=========================================
Hits 91527 91527
Misses 424233 424233
Partials 10332 10332
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:
|
nvazquez
left a comment
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.
LGTM - manually tested
|
weizhouapache
left a comment
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.
code lgtm
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✖️ debian ✔️ suse15. SL-JID 14964 |
|
@blueorangutan test |
|
@nvazquez a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-14356)
|
Co-authored-by: Nicolas Vazquez <[email protected]>



Description
This PR addresses an issue with cleanup of inactive VPCs. For whatever reason, if a VPC isn't found on Netris end either due to some out of band operation or due to some other activity, deletion of the VPC fails reporting that it can't find the resource on Netris. This fix makes the check lenient by not failing the cleanup operation if the resource(VPC) isn't found on Netris end - it just logs it and proceeds to clean it up on CloudStack end.
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?