github-actions[bot] commented on issue #14601: URL: https://github.com/apache/cloudstack/issues/14601#issuecomment-6744185522
> [!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/42625769126) for details. > > </details> ## 🎯 Triage report On KVM, a running VM's ROOT volume can be grown with a size-only `resizeVolume`, but growing it through a larger disk offering (`resizeVolume diskofferingid` or `changeOfferingForVolume`) is refused. The refusal comes from `checkIfVolumeIsRootAndVmIsRunning`, which applies to every hypervisor and to any size change on the offering paths. The reporter asks that growing (not shrinking) on KVM be allowed through the offering path too. ### 📊 Assessment | Dimension | Value | Reasoning | | --- | --- | --- | | **Type** | type:bug | Same operation is accepted or refused depending on which API is used | | **Component** | component:kvm | Report is specific to KVM; the check is in `VolumeApiServiceImpl` | | **Severity** | Severity:Minor | A size-only resize or stopping the VM works as a workaround | | **Labels** | type:bug, component:kvm, Severity:Minor | | | **Coding agent** | Needs more info | Scope needs a decision: whether the check should be hypervisor-specific, and whether shrinking stays blocked | ### 🔗 Similar issues - #14622 (related) — KVM RBD volume resize fails until libvirt refreshes the pool - #14552 (related) — CKS scale requests resize nodes to an outdated offering <details> <summary>💡 Notes and suggestions</summary> - Reproduction is in the report: deploy a KVM VM, grow its ROOT volume by size, then try the same grow through a larger disk offering. - Confirm the expected behaviour for other hypervisors stays unchanged. </details> > Generated by [Daily Issue Triage](https://github.com/apache/cloudstack/actions/runs/42625769126) · copilot · haiku55 · \~4 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: 42625769126, workflow_id: daily-issue-triage, run: https://github.com/apache/cloudstack/actions/runs/42625769126 --> <!-- gh-aw-execution: {"version":1,"repo_id":"9759448","repository":"apache/cloudstack","aw_workflow_id":"daily-issue-triage","run_id":"42625769126","run_attempt":"1","run_url":"https://github.com/apache/cloudstack/actions/runs/42625769126","publishing_job":{"key":"safe_outputs","check_run_id":"129262122857"}} --> -- 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]
