github-actions[bot] commented on issue #12772:
URL: https://github.com/apache/cloudstack/issues/12772#issuecomment-5294166135
## ๐ฏ Triage report
`GuestNetworkGuru.allocate()` calls `allocateDirectIp()` (intended for
Shared networks) for Isolated networks configured with `SpecifyIpRanges=true`,
causing `InsufficientAddressCapacityException` when the zone's VLAN pools are
exhausted even though the isolated network's own CIDR still has capacity. Issue
includes detailed repro steps, stack trace, and a proposed code fix, though the
reporter admits the root cause analysis may be incomplete.
### ๐ Assessment
| Dimension | Value | Reasoning |
|---|---|---|
| **Type** | type:bug | VM deployment failure caused by incorrect IP
allocation path selection based on network type |
| **Component** | component:networking | Guest network IP allocation logic
(`GuestNetworkGuru`) |
| **Severity** | Severity:Major | Blocks VM deployment entirely in the
affected configuration once VLAN pools are exhausted |
| **Labels** | type:bug, component:networking, Severity:Major | |
| **Coding agent** | Needs more info | Reporter explicitly states
uncertainty about the root cause ("it's a little complicated"); a maintainer is
already assigned and discussing the correct fix, so validation/design input is
needed before implementation |
### ๐ Similar issues
No duplicate or closely related open issues found.
<details><summary>๐ก Notes and suggestions</summary>
- A maintainer (weizhouapache, assigned) already commented that the check
should likely be scoped to Shared networks only (`GuestType.Shared`),
consistent with the reporter's proposed fix โ worth confirming there isn't a
case where Isolated + `SpecifyIpRanges` legitimately needs `allocateDirectIp()`.
- Suggested test coverage: deploy VM in Isolated network with
`SpecifyIpRanges=true` after exhausting VLAN pool IPs, verify IP is now sourced
from the network's CIDR via `acquireGuestIpAddress()`.
</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]