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

   @Pearl1594 I tested snapshot copies to a second zone with the PR packages 
and with the 24.0 build, on the same lab with fresh VMs for each build. One 
difference showed up.
   
   **Test coverage**
   
   1. Two zones, KVM. Zone 1 has CLVM_NG and NFS primary storage, zone 2 has 
its own NFS primary and secondary storage. `kvm.incremental.snapshot=true`, 
`snapshot.backup.to.secondary=true`.
   2. Snapshot of a CLVM_NG root disk with zone 2 picked: first one and second 
one in the chain. Both are BackedUp in zone 1 and zone 2.
   3. Copy of a zone 1 only snapshot to zone 2. OK.
   4. Volume in zone 2 from the zone 2 copy, attached to a VM in zone 2. OK.
   5. Template in zone 2 from the zone 2 copy, VM deployed in zone 2 from it. 
Running.
   6. Delete of only the zone 2 copy. The zone 1 copy stays.
   7. `snapshot.backup.to.secondary=false` with zone 2 picked: refused with 
"Backing up of snapshot has been disabled. Snapshot can not be taken for 
multiple zones", same as on 24.0.
   
   **Difference from 24.0**
   
   Snapshot of a CLVM_NG root disk with `asyncbackup=true` and zone 2 picked:
   
   1. Take a snapshot of the root disk of a running VM on CLVM_NG storage, with 
Async backup on and zone 2 selected.
   2. Check the snapshot's zones after a few minutes.
   
   On 24.0 the snapshot is BackedUp in zone 1 and zone 2. With the PR packages 
it is BackedUp in zone 1 only. The snapshot job succeeds, there is no 
SNAPSHOT.COPY event and no error or alert. I saw this twice, the second time 
checked again after 90 seconds.
   
   The same snapshot without Async backup reaches zone 2 with the PR packages. 
An NFS root disk with Async backup and zone 2 selected also stays in zone 1 
only, on both 24.0 and the PR packages.
   
   Is zone 1 only the intended result for CLVM_NG with Async backup now? If 
yes, an error or a note when zones are selected would help, since the request 
reports success.


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