github-actions[bot] commented on issue #12761: URL: https://github.com/apache/cloudstack/issues/12761#issuecomment-5294165061
## ๐ฏ Triage report CloudStack fails to expunge an RBD volume when Ceph snapshot-based mirroring is enabled on the underlying image, because the delete path doesn't disable mirroring before removing snapshots/image. The reporter proposes automatically disabling mirroring prior to deletion, and separately requests native mirroring support (out of scope for this bug). ### ๐ Assessment | Dimension | Value | Reasoning | |---|---|---| | **Type** | type:bug | Expunge operation fails due to unhandled externally-managed Ceph state (mirroring), not itself a new feature | | **Component** | component:ceph, component:primary-storage | RBD/Ceph primary storage volume deletion path | | **Severity** | Severity:Minor | Reporter has a manual workaround (disable mirroring via `rbd` CLI before delete); has a couple of +1 reactions indicating some interest | | **Labels** | type:bug, component:ceph, component:primary-storage, Severity:Minor | | | **Coding agent** | Needs more info | The requested defensive fix (check + disable mirroring before delete) is well-scoped and self-contained, but native "enable mirroring from CloudStack" is a separate feature request that would need maintainer design input | ### ๐ Similar issues No duplicate or closely related open issues found. <details><summary>๐ก Notes and suggestions</summary> - A maintainer (DaanHoogland) already engaged, framing this as needing "defensive code against an out-of-bounds change in Ceph" (i.e., mirroring enabled outside CloudStack's knowledge). - Suggested minimal fix: before `rbd rm`/expunge in the KVM RBD storage adaptor, run `rbd info <pool>/<image>` and if `mirroring state: enabled`, call `rbd mirror image disable <pool>/<image>` first. - The broader ask (native mirroring management from CloudStack UI/API) should likely be tracked as a separate `type:new-feature` issue if pursued. </details> > Generated by [Daily Issue Triage](https://github.com/apache/cloudstack/actions/runs/31806898936) ยท sonnet50 357.5K ยท [โท](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: 31806898936, workflow_id: daily-issue-triage, run: https://github.com/apache/cloudstack/actions/runs/31806898936 --> <!-- 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]
