github-actions[bot] commented on issue #14911: URL: https://github.com/apache/cloudstack/issues/14911#issuecomment-7380585584
> [!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/47117162082) for details. > > </details> ## ๐ฏ Triage report On a CKS upgrade, `upgrade-kubernetes.sh` applies the CNI and dashboard manifests right after containerd and kubelet restart, while the API server is still starting. The first `kubectl apply` fails with `unexpected EOF` and then with forbidden errors. With the default three retries the upgrade succeeds on a later run, but with `cloud.kubernetes.cluster.upgrade.retries=0` the upgrade stops at the control node and the cluster goes to Alert. Open PR #14912 is linked. ### ๐ Assessment | Dimension | Value | Reasoning | | --- | --- | --- | | **Type** | type:bug | Script runs before the API server accepts manifests, with reproduction steps | | **Component** | component:cks | Upgrade script in the CKS plugin | | **Severity** | Severity:Major | With retries at 0, every upgrade stops at the control node | | **Labels** | type:bug, component:cks, Severity:Major | Based on the issue text and the reporter's logs | | **Coding agent** | Suitable | The expected fix is clear: wait for the API server before applying manifests. PR #14912 is open | ### ๐ Similar issues - #14922 (related) โ CKS upgrade does not apply the provider and CSI driver of the new version - #14824 (related) โ CKS upgrade reaches nodes on the wrong SSH port - #14896 (related) โ CKS node bootstrap on containerd 2.x <details> <summary>๐ก Notes and suggestions</summary> - Reproduction: set `cloud.kubernetes.cluster.upgrade.retries` to 0, then upgrade a one-control-node cluster to a newer Kubernetes version. - The issue is milestone 4.22.3. Check whether PR #14912 targets 4.22 and main. </details> > Generated by [Daily Issue Triage](https://github.com/apache/cloudstack/actions/runs/47117162082) ยท copilot ยท haiku55 ยท \~11 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: 47117162082, workflow_id: daily-issue-triage, run: https://github.com/apache/cloudstack/actions/runs/47117162082 --> <!-- gh-aw-execution: {"version":1,"repo_id":"9759448","repository":"apache/cloudstack","aw_workflow_id":"daily-issue-triage","run_id":"47117162082","run_attempt":"1","run_url":"https://github.com/apache/cloudstack/actions/runs/47117162082","publishing_job":{"key":"safe_outputs","check_run_id":"144301762793"}} --> -- 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]
