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

   > [!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/46657804450) for 
details.
   >
   > </details>
   
   ## ๐ŸŽฏ Triage report
   
   On scale, CKS revokes every node's SSH port-forwarding rule and re-creates 
them by list position (2222 + index). This changes rule IDs and ports for 
existing nodes, moves nodes added with `addNodesToKubernetesCluster`, and on 
isolated networks can conflict with an added node's firewall rule, so the scale 
fails partway. Scale-down can also renumber the remaining nodes. The reporter's 
expected behaviour is that existing rules stay and only nodes without a rule 
get one, on a free port.
   
   ### ๐Ÿ“Š Assessment
   
   | Dimension | Value | Reasoning |
   | --- | --- | --- |
   | **Type** | type:bug | Scale changes unrelated nodes' rules and fails on 
conflicts, with reproduction steps |
   | **Component** | component:cks | Scale worker SSH rules on isolated, VPC 
and Netris networks |
   | **Severity** | Severity:Major | Scale can fail after old rules are 
removed; added nodes can end up with two rules |
   | **Labels** | type:bug, component:cks, Severity:Major | Based on the issue 
text |
   | **Coding agent** | Needs more info | Several scale cases (scale-up, second 
scale, scale-down, nodeids) need a design decision on rule reuse |
   
   ### ๐Ÿ”— Similar issues
   
   - #14824 (related) โ€” upgrade reaches nodes on the wrong SSH port; the 
reporter notes the upgrade change is linked to this one
   - #14797 (related) โ€” add-node can pick a port a live node uses
   - #14159 (related) โ€” scale-down with separate etcd revokes wrong SSH rules
   - #13970 (related) โ€” configurable source CIDR for auto-provisioned SSH rules
   
   <details>
   <summary>๐Ÿ’ก Notes and suggestions</summary>
   
   - Reproduction: isolated network, 1 control and 2 workers, add an existing 
VM with `addNodesToKubernetesCluster` (port 2225), then `scaleKubernetesCluster 
size=3`.
   - The issue also lists a second scale failure that depends on rule order. 
Check both cases in the fix.
   
   </details>
   
   > Generated by [Daily Issue 
Triage](https://github.com/apache/cloudstack/actions/runs/46657804450) ยท 
copilot ยท haiku55 ยท \~9 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: 46657804450, workflow_id: daily-issue-triage, run: 
https://github.com/apache/cloudstack/actions/runs/46657804450 -->
   
   <!-- gh-aw-execution: 
{"version":1,"repo_id":"9759448","repository":"apache/cloudstack","aw_workflow_id":"daily-issue-triage","run_id":"46657804450","run_attempt":"1","run_url":"https://github.com/apache/cloudstack/actions/runs/46657804450","publishing_job":{"key":"safe_outputs","check_run_id":"142687507625"}}
 -->


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