github-actions[bot] commented on issue #14810: URL: https://github.com/apache/cloudstack/issues/14810#issuecomment-7280536494
> [!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/46428878382) for details. > > </details> ## 🎯 Triage report A CKS cluster created with a CNI configuration stays in Starting. With a CNI configuration, the control node's user data is merged into a MIME multipart. The part that begins with `## template: jinja` is typed `text/cloud-config`, so cloud-init parses the raw template as YAML and drops the whole CKS cloud-config, including SSH keys and the kubeadm bootstrap. The issue also says `registerCniConfiguration` accepts a call with no `cniconfig`, and a cluster that uses it then fails with an NPE in `KubernetesClusterStartWorker`. The proposed fixes are to type the jinja part as `text/jinja2`, and to reject a missing or blank `cniconfig` at registration. ### 📊 Assessment | Dimension | Value | Reasoning | | --- | --- | --- | | **Type** | type:bug | Cloud-init drops the CKS config; the reporter gives the log line | | **Component** | component:cks | Control node user data and CNI configuration registration | | **Severity** | Severity:Major | Cluster never bootstraps when a CNI configuration is used | | **Labels** | type:bug, component:cks, Severity:Major | Based on the issue text | | **Coding agent** | Suitable | Specific fixes given: MIME part type and registration validation | ### 🔗 Similar issues - #14780 (related) — unclear failure when a node's user data is over `vm.userdata.max.length` - #13471 (related) — CKS node stuck in Starting with a non-default template <details> <summary>💡 Notes and suggestions</summary> - Reproduction: register a shell-script or MIME CNI configuration, create a cluster with it, then check cloud-init's log on the control node for the YAML error. - Check the second issue as a separate case: `registerCniConfiguration` with no `cniconfig`. </details> > Generated by [Daily Issue Triage](https://github.com/apache/cloudstack/actions/runs/46428878382) · 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: 46428878382, workflow_id: daily-issue-triage, run: https://github.com/apache/cloudstack/actions/runs/46428878382 --> <!-- gh-aw-execution: {"version":1,"repo_id":"9759448","repository":"apache/cloudstack","aw_workflow_id":"daily-issue-triage","run_id":"46428878382","run_attempt":"1","run_url":"https://github.com/apache/cloudstack/actions/runs/46428878382","publishing_job":{"key":"safe_outputs","check_run_id":"141896161471"}} --> -- 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]
