-
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
Don't add empty iso while starting a VM #10322
base: 4.19
Are you sure you want to change the base?
Conversation
@blueorangutan package |
@vishesh92 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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #10322 +/- ##
============================================
- Coverage 15.16% 15.16% -0.01%
+ Complexity 11306 11304 -2
============================================
Files 5408 5408
Lines 473948 473943 -5
Branches 57851 57851
============================================
- Hits 71883 71873 -10
- Misses 394029 394036 +7
+ Partials 8036 8034 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12324 |
@blueorangutan test matrix |
@vishesh92 a [SL] Trillian-Jenkins matrix job (EL8 mgmt + EL8 KVM, Ubuntu22 mgmt + Ubuntu22 KVM, EL8 mgmt + VMware 7.0u3, EL9 mgmt + XCP-ng 8.2 ) has been kicked to run smoke tests |
[SF] Trillian test result (tid-12301)
|
[SF] Trillian test result (tid-12303)
|
[SF] Trillian test result (tid-12302)
|
[SF] Trillian test result (tid-12304)
|
@blueorangutan test matrix |
@vishesh92 a [SL] Trillian-Jenkins matrix job (EL8 mgmt + EL8 KVM, Ubuntu22 mgmt + Ubuntu22 KVM, EL8 mgmt + VMware 7.0u3, EL9 mgmt + XCP-ng 8.2 ) has been kicked to run smoke tests |
might CKS clusters be impacted by this PR ? |
Description
This PR fixes #10318
Details
This pull request includes a change to the
prepareIsoForVmProfile
method in theTemplateManagerImpl
class to simplify the code by removing an unnecessaryelse
block.Codebase simplification:
server/src/main/java/com/cloud/template/TemplateManagerImpl.java
: Removed the redundantelse
block that created a newTemplateObjectTO
andDiskTO
object and added it to the profile.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?