github-actions[bot] commented on issue #14959:
URL: https://github.com/apache/cloudstack/issues/14959#issuecomment-7413417943

   > [!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/47344104170) for 
details.
   >
   > </details>
   
   ## 🎯 Triage report
   
   For Linstor primary storage, CloudStack reports the sum of all storage pools 
in the resource group, on every node, as capacity. The sum ignores the replica 
count, so the reported capacity can be several times the usable capacity. 
Allocation checks then work against that inflated number. The reporter saw thin 
pools fill up and DRBD detach replicas after a 35 GiB volume was accepted.
   
   ### 📊 Assessment
   
   | Dimension | Value | Reasoning |
   | --- | --- | --- |
   | **Type** | type:bug | Capacity is computed incorrectly, causing 
over-allocation |
   | **Component** | component:primary-storage, 3rd-party:linstor | 
`LinstorUtil` capacity and stats |
   | **Severity** | Severity:Major | Over-allocation led to I/O errors on other 
volumes in the report |
   | **Labels** | type:bug, component:primary-storage, 3rd-party:linstor, 
Severity:Major |  |
   | **Coding agent** | Needs more info | Two fix options (divide by place 
count, or query LINSTOR's size info). A maintainer should choose one, and it 
needs a Linstor cluster to test |
   
   ### 🔗 Similar issues
   
   - #14444 (related) — template size double-counted in the storage 
has-enough-space check on managed pools
   - #8393 (related) — Linstor primary storage not created for disabled hosts
   
   <details>
   <summary>💡 Notes and suggestions</summary>
   
   - Reproduction is in the report: three hosts with a 39 GiB pool each, 
resource group with `place_count 2`, then compare the reported capacity with 
the usable size.
   - `linstor resource-group query-size-info` may be more accurate than 
dividing by the replica count, since it accounts for node placement. Check its 
behaviour before choosing.
   
   </details>
   
   > Triage by Copilot (automated)
   
   > Generated by [Daily Issue 
Triage](https://github.com/apache/cloudstack/actions/runs/47344104170) · 
copilot · haiku55 · \~8 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: 47344104170, workflow_id: daily-issue-triage, run: 
https://github.com/apache/cloudstack/actions/runs/47344104170 -->
   
   <!-- gh-aw-execution: 
{"version":1,"repo_id":"9759448","repository":"apache/cloudstack","aw_workflow_id":"daily-issue-triage","run_id":"47344104170","run_attempt":"1","run_url":"https://github.com/apache/cloudstack/actions/runs/47344104170","publishing_job":{"key":"safe_outputs","check_run_id":"145089478222"}}
 -->


-- 
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