-
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
Simplify validation while creating volume templates via UI #9828
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #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 a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
UI build failed: ✖️ |
@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
UI build failed: ✖️ |
UI build: ✖️ |
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.
Verified listed combinations, works as expected. LGTM
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 (and tested by @Pearl1594 ) not sure what caused the build failures yet, but investigating
Description
Currently, creating templates for
DATADISK
volumes 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
ROOT
volumes in theAllocated
state, 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:
ROOT
Allocated
ROOT
Ready
DATADISK
Ready
DATADISK
Ready
ROOT
Ready
DATADISK
Ready