Uh oh!
There was an error while loading. Please reload this page.
[UI] Allow quiescevm and asyncbackup flags while taking volume snapshot from UI when these are supported for the volume - #10265
Conversation
sureshanaparti
commented
Jan 24, 2025
blueorangutan
commented
Jan 24, 2025
@sureshanaparti a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## 4.19 #10265 +/- ##
=========================================
Coverage 15.16% 15.17% - Complexity 11332 11333 +1
=========================================
Files 5415 5415 Lines 474912 474938 +26 Branches 57926 57930 +4 =========================================
+ Hits 72043 72057 +14 - Misses 394814 394823 +9 - Partials 8055 8058 +3
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:
|
blueorangutan
commented
Jan 24, 2025
UI build: ✔️ |
DaanHoogland
commented
Jan 24, 2025
@Rubueno , any chance you can test this? |
Rubueno
commented
Jan 24, 2025
Thanks for your efforts @DaanHoogland ! I'm abroad right now, but I'll try to find time next week. |
DaanHoogland
commented
Jan 24, 2025
have a good trip @Rubueno , I hope to start on a release by the end of next week, no pressure ;) |
Thanks! I've just tested the change but it does not seem the quiesce option is present in the "Take Instance volume Snapshot" window. I've tested with local, RBD and NFS on KVM. |
DaanHoogland
commented
Jan 27, 2025
You are right, I only see it on the take instance snapshot dialog. Can you comment @sureshanaparti ? |
sureshanaparti
commented
Jan 29, 2025
quiesce option will not available in both VM -> "Take Instance volume Snapshot" & Volume -> "Take Snapshot" dialogs, when the volume response returns quiescevm as false. |
Rubueno
commented
Jan 29, 2025
But in this case it is present in Volume -> "Take Snapshot" and VM -> "Take Instance Snapshot" dialogs |
Both these dialogs are in sync with the quiescevm param in the volume response, shows it when quiescevm param is true. Even when it is set, it fails here when unsupported: https://github.com/apache/cloudstack/blob/4.19/engine/storage/snapshot/src/main/java/org/apache/cloudstack/storage/snapshot/DefaultSnapshotStrategy.java#L496-L498 |
@Rubueno are you fine with these changes in this PR (both dialogs are in sync with respect to the volume response). ui/src/views/compute/CreateSnapshotWizard.vue (VM -> "Take Instance volume Snapshot" dialog) => ui/src/views/storage/TakeSnapshot.vue (Volume -> "Take Snapshot" dialog) => |
Rubueno
commented
Feb 3, 2025
@sureshanaparti In our env I cannot proceed with testing this, and thus does not resolve issue #10106, as both dialog boxes give different output at the moment |
sureshanaparti
commented
Feb 3, 2025
ok @Rubueno, does your env has the updated code / pkgs from this PR? |
sureshanaparti
commented
Feb 3, 2025
@blueorangutan package |
blueorangutan
commented
Feb 3, 2025
@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. |
Rubueno
commented
Feb 3, 2025
Yes I had built new packages based on 4.19 |
blueorangutan
commented
Feb 3, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12308 |
Rubueno
commented
Feb 3, 2025
Hmm an interesting development: When taking a snapshot from VM -> "Take Instance Snapshot" with "Quiesce Instance" enabled, it will make a snapshot and quiesce process works. When taking a snapshot from Volume -> "Take Snapshot" with "Quiesce Instance" enabled, it will not quiesce the instance and even logs VM -> "Take Instance Snapshot" logfile: https://pastebin.com/hYMHDxKF |
DaanHoogland
commented
Mar 6, 2025
@sureshanaparti can you comment on @Rubueno 's results? |
sureshanaparti
commented
Apr 21, 2025
@Rubueno Fixed to set quiescevm in the snapshot payload (from the quiescevm parameter) while taking a snapshot from volume, please check. |
sureshanaparti
commented
Apr 21, 2025
@harikrishna-patnala thanks for testing, I've verified "quiescevm" for all the 3 forms, it is honored as set in the UI. Changes done for "quiescevm" in "Take Instance Snapshot" form to show for VMware, KVM hypervisors only - it is used for VMware, the support of it depends on the underlying storage for KVM, ignored/unused for XenServer. |
sureshanaparti
commented
Apr 21, 2025
@blueorangutan package |
blueorangutan
commented
Apr 21, 2025
@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. |
2bbbfca to
57126b7Compareblueorangutan
commented
Apr 21, 2025
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 13122 |
Rubueno
commented
Apr 21, 2025
Thank you both for your efforts. I'm traveling right now and unable to test myself. |
sureshanaparti
commented
Apr 22, 2025
@blueorangutan package |
blueorangutan
commented
Apr 22, 2025
@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. |
blueorangutan
commented
Apr 22, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13131 |
sureshanaparti
commented
Apr 22, 2025
Noticed below issues in the Simulator CI tests, seems to be python (version) issue. cc @DaanHoogland |
sureshanaparti
commented
Apr 22, 2025
@blueorangutan test |
blueorangutan
commented
Apr 22, 2025
@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
weizhouapache
commented
Apr 22, 2025
@sureshanaparti |
blueorangutan
commented
Apr 23, 2025
[SF] Trillian test result (tid-13086)
|
Uh oh!
There was an error while loading. Please reload this page.
DaanHoogland
commented
May 1, 2025
@sureshanaparti , is it realistic to have this finished/fixed before 4.19.3? |
@DaanHoogland no further changes required on this PR. |
RosiKyu
left a comment
There was a problem hiding this comment.
LGTM. The 'quiescevm' option is now displayed consistently in modals. If the volume response has 'quiescevm' enabled, only then you can see that option on both "Take Instance volume Snapshot" ( "Compute" -> "Instances") and "Take Snapshot" ("Volumes") UI.
…ot from UI when these are supported for the volume (apache#10265)
Description
This PR allows quiescevm and asyncbackup flags while taking volume snapshot from UI when these are supported for the volume, addresses #10106.
Also, updated snapshot forms to show quiescevm for VMware & KVM hypervisors.
Changes from ui/src/views/storage/TakeSnapshot.vue were removed in #7873, re-added in this PR. Now, ui/src/views/compute/CreateSnapshotWizard.vue and ui/src/views/storage/TakeSnapshot.vue are in sync with respect to quiescevm and asyncbackup flags.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Checked the create snapshot UI from instance and volume.
How did you try to break this feature and the system with this change?