Uh oh!
There was an error while loading. Please reload this page.
Simplify validation while creating volume templates via UI - #9828
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## 4.20 #9828 +/- ##
==========================================
Coverage 15.78% 15.78% - Complexity 12564 12565 +1
==========================================
Files 5627 5627 Lines 492250 492250 Branches 61405 61137 -268 ==========================================
Hits 77710 77710 Misses 406066 406066 Partials 8474 8474
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
hsato03
commented
Oct 18, 2024
blueorangutan
commented
Oct 18, 2024
@hsato03 a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
blueorangutan
commented
Oct 18, 2024
UI build failed: ✖️ |
DaanHoogland
commented
Oct 28, 2024
blueorangutan
commented
Oct 28, 2024
@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
blueorangutan
commented
Oct 28, 2024
UI build failed: ✖️ |
blueorangutan
commented
Oct 28, 2024
UI build: ✖️ |
Pearl1594
left a comment
There was a problem hiding this comment.
Verified listed combinations, works as expected. LGTM
DaanHoogland
left a comment
There was a problem hiding this comment.
clgtm (and tested by @Pearl1594 ) not sure what caused the build failures yet, but investigating
hsato03
commented
Nov 1, 2024
blueorangutan
commented
Nov 1, 2024
@hsato03 a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 1, 2024
UI build: ✔️ |
* 4.20: UI: Fix userdata and load balancer selection (#10016) Prevent password updates for SAML and LDAP users (#9999) cloudstack-migrate-databases: sql AND added (#10033) engine/schema: move SQLs to 4.20.0 to 4.20.1 upgrade (#10018) Remove user from project before deletion (#10008) Simplify validation for creating volume templates via UI (#9828)
Co-authored-by: Henrique Sato <henrique.sato@scclouds.com.br>
* 4.20: UI: Fix userdata and load balancer selection (apache#10016) Prevent password updates for SAML and LDAP users (apache#9999) cloudstack-migrate-databases: sql AND added (apache#10033) engine/schema: move SQLs to 4.20.0 to 4.20.1 upgrade (apache#10018) Remove user from project before deletion (apache#10008) Simplify validation for creating volume templates via UI (apache#9828)
Description
Currently, creating templates for
DATADISKvolumes is only possible if they have already been part of a VM and are detached. This behavior has been extended so that the volume does not need to be detached and the template can be created as long as the VM is stopped.Furthermore, the UI allows templates to be created for
ROOTvolumes in theAllocatedstate, however, the creation always results in an error as the volume needs to exist in the primary storage for the template creation to be possible. With the changes, this option is no longer available.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
In the UI, I tried creating a template from a volume in different scenarios:
ROOTAllocatedROOTReadyDATADISKReadyDATADISKReadyROOTReadyDATADISKReady