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: [email protected]

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

Reply via email to