github-actions[bot] commented on issue #14774: URL: https://github.com/apache/cloudstack/issues/14774#issuecomment-7193634714
> [!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/45829478222) for details. > > </details> ## ๐ฏ Triage report When `addNodesToKubernetesCluster` fails node validation, the revert step cannot remove the node's SSH-port firewall rule. `findByNetworkIdAndPorts` has no purpose filter, so it can match the port-forwarding rule instead, and revoking that throws. The firewall rule stays, and the rest of the revert (including the port-forwarding rule) does not run. The next add-node then fails on the same port. ### ๐ Assessment | Dimension | Value | Reasoning | | --- | --- | --- | | **Type** | type:bug | Revert leaves rules behind and blocks later adds | | **Component** | component:cks | `KubernetesClusterAddWorker.revertNetworkRules` | | **Severity** | Severity:Minor | Stale rule on one port; cleared by hand, and the reporter's workaround is a manual delete | | **Labels** | type:bug, component:cks, Severity:Minor | | | **Coding agent** | Suitable | The reporter specifies the fix: match rules by public IP and port and revoke port-forwarding first | ### ๐ Similar issues - #14799 (related) โ remove-node revokes the wrong firewall rule, leaving the node's rule behind - #14828 (related) โ scale re-creates SSH rules by position, which can conflict on ports - #14772 (related) โ `validate-cks-node` does not check `ip_forward`; the validation failure that triggers this path <details> <summary>๐ก Notes and suggestions</summary> - Reproduction: isolated-network CKS cluster, add-node with a VM that fails validation, then `listFirewallRules` on the cluster IP. - The same purpose-less lookup may exist in the remove-node path (see #14799). Check both. </details> > Generated by [Daily Issue Triage](https://github.com/apache/cloudstack/actions/runs/45829478222) ยท copilot ยท haiku55 ยท \~7 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: 45829478222, workflow_id: daily-issue-triage, run: https://github.com/apache/cloudstack/actions/runs/45829478222 --> <!-- gh-aw-execution: {"version":1,"repo_id":"9759448","repository":"apache/cloudstack","aw_workflow_id":"daily-issue-triage","run_id":"45829478222","run_attempt":"1","run_url":"https://github.com/apache/cloudstack/actions/runs/45829478222","publishing_job":{"key":"safe_outputs","check_run_id":"139947741749"}} --> -- 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]
