github-actions[bot] commented on issue #14742: URL: https://github.com/apache/cloudstack/issues/14742#issuecomment-7133408125
> [!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/45403771981) for details. > > </details> ## 🎯 Triage report Host maintenance and HA evacuation place a migrated VM back on its last host whenever that host is Up and has capacity, because `deployInVmLastHost()` runs before the planner and nothing reads `isMigrationPlan()`. With memory overcommit this can overload one host. The reporter's lab data shows 376 of 447 maintenance migrations placed by the last-host check. ### 📊 Assessment | Dimension | Value | Reasoning | | --- | --- | --- | | **Type** | type:bug | Allocator is bypassed for evacuation migrations | | **Component** | component:compute | Deployment planning and host maintenance | | **Severity** | Severity:Major | Overcommitted hosts lead to OOM kills of guest VMs | | **Labels** | type:bug, component:compute, Severity:Major | Based on the issue text | | **Coding agent** | Suitable | Fix is specified: skip the last-host shortcut for migration plans, keep the source host excluded | ### 🔗 Similar issues - #14744 (related) — HA restart puts a VM back on the host that stopped it; same last-host shortcut - #13010 (related) — instance stopped during host-maintenance live migration <details> <summary>💡 Notes and suggestions</summary> - Reproduction is in the report: three KVM hosts, `vm.allocation.algorithm=firstfitleastconsumed`, maintenance on A then B. - The HA planner fallback in `migrateAway()` is also mentioned by the reporter; check it is covered. </details> > Generated by [Daily Issue Triage](https://github.com/apache/cloudstack/actions/runs/45403771981) · 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: 45403771981, workflow_id: daily-issue-triage, run: https://github.com/apache/cloudstack/actions/runs/45403771981 --> <!-- gh-aw-execution: {"version":1,"repo_id":"9759448","repository":"apache/cloudstack","aw_workflow_id":"daily-issue-triage","run_id":"45403771981","run_attempt":"1","run_url":"https://github.com/apache/cloudstack/actions/runs/45403771981","publishing_job":{"key":"safe_outputs","check_run_id":"138490927189"}} --> -- 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]
