You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "nabassa1323 (via GitHub)" <gi...@apache.org> on 2026/08/17 20:13:07 UTC
[I] copySnapshot between zones fails with: Timeout waiting for response from storage host [cloudstack]
nabassa1323 opened a new issue, #13900:
URL: https://github.com/apache/cloudstack/issues/13900
### 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
Regression from commit ca7b08ac ("secondary storage resource limit for download").
`DownloadListener.getAccountIdForDataObject()` handles TEMPLATE and VOLUME only.
For SNAPSHOT it returns null, then:
```java
Long accountId = getAccountIdForDataObject(); // null
Account account = _accountMgr.getAccount(accountId); // NPE (unbox null Long)
--
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: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] copySnapshot between zones fails with: Timeout waiting for response from storage host [cloudstack]
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #13900:
URL: https://github.com/apache/cloudstack/issues/13900#issuecomment-5319722324
Thanks for opening your first issue here! Be sure to follow the issue template!
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] copySnapshot between zones fails with: Timeout waiting for response from storage host [cloudstack]
Posted by "nabassa1323 (via GitHub)" <gi...@apache.org>.
nabassa1323 commented on issue #13900:
URL: https://github.com/apache/cloudstack/issues/13900#issuecomment-6164432121
I tested the fix from PR https://github.com/apache/cloudstack/pull/13929 on CloudStack 4.22.1.0 (VMware, NFS secondary, copySnapshot between zones).
Result: works as expected โ destination SSVM download completes and the management server marks the snapshot copy successful (Ready / snapshot_zone_ref updated). No more ~90s "Timeout waiting for response from storage host".
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] copySnapshot between zones fails with: Timeout waiting for response from storage host [cloudstack]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13900:
URL: https://github.com/apache/cloudstack/issues/13900#issuecomment-5396255295
## ๐ฏ Triage report
`copySnapshot` between zones times out even though the destination SSVM finishes the download successfully. Root cause: `DownloadListener.getAccountIdForDataObject()` only handles TEMPLATE and VOLUME data object types, returning null for SNAPSHOT, which then causes an NPE-adjacent failure path (`accountMgr.getAccount(null)`) before the copy can be marked successful.
### ๐ Assessment
| Dimension | Value | Reasoning |
|---|---|---|
| **Type** | type:bug | Clear regression-like failure for a specific data object type (SNAPSHOT) not handled in shared code path |
| **Component** | component:vmware, component:secondary-storage | Reproduced on VMware zones with NFS secondary storage; affects cross-zone snapshot copy |
| **Severity** | Severity:Major | Cross-zone snapshot copy fails 100% of the time, with orphan files possibly left behind, and no workaround mentioned |
| **Labels** | type:bug, component:vmware, component:secondary-storage, Severity:Major | |
| **Coding agent** | Suitable | Root cause pinpointed to a specific method and missing case; fix is a well-scoped addition of SNAPSHOT handling in `getAccountIdForDataObject()` |
### ๐ Similar issues
No similar open issues found.
<details><summary>๐ก Notes and suggestions</summary>
Fix should add a SNAPSHOT case to `DownloadListener.getAccountIdForDataObject()` analogous to the existing TEMPLATE/VOLUME handling โ likely resolving the snapshot's owning account via the snapshot's volume/VM. Also worth checking for orphaned files left on destination NFS after failed attempts.
</details>
> Generated by [Daily Issue Triage](https://github.com/apache/cloudstack/actions/runs/32734226944) ยท sonnet50 233.4K ยท [โท](https://github.com/search?q=repo%3Aapache%2Fcloudstack+%22gh-aw-workflow-call-id%3A+apache%2Fcloudstack%2Fdaily-issue-triage%22&type=issues)
>
<details>
<summary>Add this agentic workflows to your repo</summary>
To install this agentic workflow, run
```
gh aw add githubnext/agentics/workflows/daily-issue-triage.md@d7c1dc4b72b00607a67caaffdcc216cb64379cf9
```
</details>
<!-- gh-aw-agentic-workflow: Daily Issue Triage, engine: copilot, version: 1.0.52, model: claude-sonnet-5, id: 32734226944, workflow_id: daily-issue-triage, run: https://github.com/apache/cloudstack/actions/runs/32734226944 -->
<!-- gh-aw-workflow-call-id: apache/cloudstack/daily-issue-triage -->
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org