RosiKyu commented on PR #14515:
URL: https://github.com/apache/cloudstack/pull/14515#issuecomment-7155673428

   I tested this on a KVM lab (2 hosts, NFS primary storage) with the settings 
from #14481: 
`vmSnapshot.strategies.exclude=StorageVMSnapshotStrategy,DefaultVMSnapshotStrategy`
 and `kvm.vmstoragesnapshot.enabled=false`. The VMs had a data disk and no 
guest agent. I ran the steps as the owning user and as root admin.
   
   | Step | 4.22.1.1 | PR packages |
   |---|---|---|
   | `createVMSnapshot snapshotmemory=false quiescevm=true` on a running VM | 
fails, Error row left | fails, Error row left |
   | `deleteVMSnapshot` of that Error row (user, then admin) | fails: "Failed 
to delete Instance Snapshot" | works, row gone |
   | `destroyVirtualMachine expunge=true` of a VM with an Error row | fails: 
"Failed to destroy vm with specified vmId", VM left Stopped | works, VM gone |
   | Disk-only snapshot create, revert, delete on a running and a stopped VM 
with a data disk | OK | OK |
   | Destroy with expunge of a VM that has snapshots | OK | OK |
   | VMSNAPSHOT.CREATE, REVERTTO, DELETE events | listed | listed |
   
   @sureshanaparti One case is still failing: an Error row created on 4.22.1.1, 
before the upgrade to the PR packages. After the upgrade, `deleteVMSnapshot` of 
that row still fails with "Failed to delete Instance Snapshot", with the VM 
stopped and again after starting it, and `destroyVirtualMachine expunge=true` 
of that VM still fails with "Failed to destroy vm with specified vmId". The 
description says "Error rows that predate the marker fall back to the creation 
eligibility check." Is this row expected to be deletable after the upgrade? 
Users who already hit #14481 will have such rows when they upgrade.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to