github-actions[bot] commented on issue #14860: URL: https://github.com/apache/cloudstack/issues/14860#issuecomment-7347461422
> [!WARNING] > threat detection engine error > The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding. > > <!-- gh-aw-threat-engine-error --> > > <details> > <summary>What happened</summary> > > The threat detection engine failed to produce results. > > Review the [workflow run logs](https://github.com/apache/cloudstack/actions/runs/46892957876) for details. > > </details> ## 🎯 Triage report On KVM with FibreChannel managed storage, a multipath map that has lost all its paths still passes the existence check, so CloudStack attaches a dead disk and reports success. `isConnected()` only checks that the device is a block device, and `connectVolume.sh` does not rescan a map that already exists. The reporter sees this after a host holds the map open, for example through an LVM volume group inside the guest disk. ### 📊 Assessment | Dimension | Value | Reasoning | | --- | --- | --- | | **Type** | type:bug | Attach succeeds with a dead device, data-integrity risk | | **Component** | component:kvm, component:primary-storage | Multipath adapter and `connectVolume.sh` on KVM | | **Severity** | Severity:Major | Attach and template creation read I/O errors or zeros without an error; the report links an empty template (#14858) | | **Labels** | type:bug, component:kvm, component:primary-storage, Severity:Major | | | **Coding agent** | Suitable | Fix is specified: treat a map with no active paths as not connected, and flush it before rescanning. PR #14861 is open | ### 🔗 Similar issues - #14858 (related) — `createtmplt.sh` ignores qemu-img errors and marks an empty template ready - #14030 (related) — KVM snapshot merge can leave a volume path pointing at a missing file <details> <summary>💡 Notes and suggestions</summary> - Reproduction is in the report: hold the map open with `sleep ... < /dev/mapper/<wwid>`, detach, then re-attach. Check `multipath -ll` for a map with no paths. - PR #14861 is linked to this issue and targets 4.22.3. </details> > Generated by [Daily Issue Triage](https://github.com/apache/cloudstack/actions/runs/46892957876) · copilot · haiku55 · \~6 AIC · ⊞ 3.8K · [◷](https://github.com/search?q=repo%3Aapache%2Fcloudstack+%22gh-aw-workflow-call-id%3A+apache%2Fcloudstack%2Fdaily-issue-triage%22&type=issues) <details> <summary><sub>Add this agentic workflow to your repo</sub></summary> To install this agentic workflow, run ``` gh aw add githubnext/agentics/workflows/daily-issue-triage.md@139fa09ef17cde4135e696ff8e7af09bc5ddfa6e ``` </details> <!-- gh-aw-workflow-call-id: apache/cloudstack/daily-issue-triage --> <!-- gh-aw-agentic-workflow: Daily Issue Triage, engine: copilot, model: claude-haiku-5.5, id: 46892957876, workflow_id: daily-issue-triage, run: https://github.com/apache/cloudstack/actions/runs/46892957876 --> <!-- gh-aw-execution: {"version":1,"repo_id":"9759448","repository":"apache/cloudstack","aw_workflow_id":"daily-issue-triage","run_id":"46892957876","run_attempt":"1","run_url":"https://github.com/apache/cloudstack/actions/runs/46892957876","publishing_job":{"key":"safe_outputs","check_run_id":"143509523434"}} --> -- 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]
