Problem
copySnapshot between zones fails with:
Timeout waiting for response from storage host
The destination SSVM actually finishes the HTTP download (vmdk/nvram/ovf) in seconds.
Files are present on destination secondary storage, but the management server never
marks the copy as successful.
Versions
4.22.1.0 (also present on current main)
Hypervisor: VMware
Reproduced 5+ times, always ~90s timeout.
Root cause
DownloadListener.getAccountIdForDataObject() handles TEMPLATE and VOLUME only.
For SNAPSHOT it returns null, then:
Long accountId = getAccountIdForDataObject();
Account account = _accountMgr.getAccount(accountId);
Copying a template between the same zones works.
Steps to reproduce
- VMware zone A + zone B, NFS secondary in both
- Create a volume snapshot, wait until BackedUp
copySnapshot from zone A to zone B
- Dest SSVM log:
Download Completion ... status=DOWNLOAD_FINISHED
- MS log: timeout after ~90s — UI: Failed to copy snapshot
Expected
Snapshot Ready on destination image store, snapshot_zone_ref updated.
Actual
Job failed. No snapshot_store_ref row on dest store. Orphan files may remain on dest NFS.
Problem
copySnapshotbetween zones fails with:Timeout waiting for response from storage hostThe destination SSVM actually finishes the HTTP download (vmdk/nvram/ovf) in seconds.
Files are present on destination secondary storage, but the management server never
marks the copy as successful.
Versions
4.22.1.0 (also present on current main)
Hypervisor: VMware
Reproduced 5+ times, always ~90s timeout.
Root cause
DownloadListener.getAccountIdForDataObject()handles TEMPLATE and VOLUME only.For SNAPSHOT it returns null, then:
Copying a template between the same zones works.
Steps to reproduce
copySnapshotfrom zone A to zone BDownload Completion ... status=DOWNLOAD_FINISHEDExpected
Snapshot Ready on destination image store,
snapshot_zone_refupdated.Actual
Job failed. No
snapshot_store_refrow on dest store. Orphan files may remain on dest NFS.