DRDAVIDBANNER commented on PR #14804:
URL: https://github.com/apache/cloudstack/pull/14804#issuecomment-7163856611

   Thanks @DaanHoogland, and 25.0 is fine.
   
   I've added a Marvin smoke test in 00dfb12dd1: 
`test/integration/smoke/test_kvm_file_based_no_copy_snapshots.py` (also listed 
in `.github/workflows/ci.yml`). It enables 
`kvm.file.based.volume.snapshot.no.copy` on the zone's file-based pools for the 
run and restores the previous values afterwards. It writes known data to the 
volume files on the host with `qemu-io` and, after every operation, checks both 
the data and the files on the pool:
   
   - `test_01`: take, revert and delete on a running Instance; the snapshot 
takes no copy, revert restores the frozen data and delete merges the file back;
   - `test_02`: a chain of snapshots taken and deleted in different orders on a 
running and a stopped Instance; the newest data of every block is kept and only 
the latest snapshot can be reverted;
   - `test_03`: the operations that would break the chain are refused: volume 
or template from the snapshot, Instance snapshot, hot-attach and storage 
migration;
   - `test_04`: two concurrent deletes of the same snapshot; exactly one 
succeeds and the volume ends on its own file;
   - `test_05`: expunging a volume removes its snapshot files from the pool;
   - `test_06`: with the setting disabled, regular snapshots are taken as 
before.
   
   It is tagged `required_hardware="true"`, so the simulator run skips it. It 
needs a KVM zone with an NFS, SharedMountPoint or local pool, 
`snapshot.backup.to.secondary=false` and `qemu-io` on the hosts, and it skips 
with a reason when any of these is missing. It passes 6/6 for me on a KVM zone 
with NFS primary storage (Ubuntu 24.04 host, management server built from this 
branch).
   
   If a committer could start a BlueOrangutan package and KVM test run, that 
would be very welcome.
   


-- 
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