-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Veeam: get templateId from vm instance if vm is created from ISO #10705
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?
Veeam: get templateId from vm instance if vm is created from ISO #10705
Conversation
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
@weizhouapache , I think we can suffice with a unit test for this one, do you agree? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #10705 +/- ##
=========================================
Coverage 15.16% 15.16%
- Complexity 11327 11332 +5
=========================================
Files 5415 5415
Lines 474848 474852 +4
Branches 57914 57915 +1
=========================================
+ Hits 72018 72035 +17
+ Misses 394781 394762 -19
- Partials 8049 8055 +6
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:
|
yes, will add @DaanHoogland |
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
it seems it needs much effort to add the unit test,as the VMGuruTest does not have unit test for |
@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]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13310 |
Description
This PR fixes #9440
The ROOT volume of vm from ISO does not have template_id (which is NULL)
We can get the template_id of vm_instance instead
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?