-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix list backups after backup vm is expunged #9392
Fix list backups after backup vm is expunged #9392
Conversation
@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. |
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
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.18 #9392 +/- ##
==========================================
Coverage 12.25% 12.25%
- Complexity 9316 9317 +1
==========================================
Files 4699 4699
Lines 414603 414608 +5
Branches 52169 52055 -114
==========================================
+ Hits 50821 50824 +3
- Misses 357474 357475 +1
- Partials 6308 6309 +1
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.
Code lgtm
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10366 |
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.
Tested and verified. List backups works fine after the fix.
* 4.18: Fix list backups after backup vm is expunged (#9392)
* 4.18: Fix list backups after backup vm is expunged (apache#9392)
Description
This PR fixes list backups after backup vm is expunged.
Issue: There is NPE when getting backup offering from the expunged VM, which is null (as it required to remove the backup offering assignment before expunging VM - introduced here: #5017)
Fixes #9341
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?