You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CKS: unclear late failure when a node's user data is over vm.userdata.max.length #14780
CKS renders each node's cloud-config (certificates, keys and settings filled in), base64-encodes it and deploys the VM. If the result is over vm.userdata.max.length (default 32768), deploy fails deep inside VM creation:
what the user sees
where the real reason is
Provisioning the control VM failed in the Kubernetes cluster : <name>
management server log: User data has exceeded configurable max length: 32768
The error doesn't say which node type, how big the user data is, or which setting to change.
On add-node, the CKS ISO is already attached and the cluster has already changed state when it fails.
If the etcd node is the one that's too big, the cluster is left in Starting.
Stock 4.22 control-node user data is already about 28 KB after base64, so a CNI configuration (cniconfigurationid) or more content in the templates is enough to go over the limit.
versions
4.22 (also main)
The steps to reproduce the bug
Set vm.userdata.max.length below the control node's user data size (e.g. 16384), or use a large CNI configuration.
Create a CKS cluster.
The create job fails with the generic message above.
What to do about it?
Check each node's base64 user data against vm.userdata.max.length in CKS, before that VM is deployed (and on add-node, before the ISO is attached), and fail with a message that names the node type, cluster, size and limit.
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.
What happened
The threat detection engine failed to produce results.
When a CKS node's base64-encoded userdata exceeds vm.userdata.max.length (default 32768), VM deployment fails with a generic 'Provisioning the control VM failed' message. The real reason is only in the management server log. On add-node the ISO is already attached and the cluster state has changed by then. The reporter notes that stock 4.22 control-node userdata is already about 28 KB, so a CNI configuration can push it over the limit.
📊 Assessment
Dimension
Value
Reasoning
Type
type:improvement
Error message and check timing; no data loss reported
Component
component:cks
CKS node userdata rendering and deploy path
Severity
n/a
Not a bug report; the failure is clear once found in the log
Labels
type:improvement, component:cks
Coding agent
Suitable
Requirements are specific: check size before deploy, name node type, size and limit
Activity
github-actions commentedon Nov 26, 2026
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.
What happened
The threat detection engine failed to produce results.
Review the workflow run logs for details.
🎯 Triage report
When a CKS node's base64-encoded userdata exceeds
vm.userdata.max.length(default 32768), VM deployment fails with a generic 'Provisioning the control VM failed' message. The real reason is only in the management server log. On add-node the ISO is already attached and the cluster state has changed by then. The reporter notes that stock 4.22 control-node userdata is already about 28 KB, so a CNI configuration can push it over the limit.📊 Assessment
🔗 Similar issues
💡 Notes and suggestions
vm.userdata.max.lengthto 16384 and create a CKS cluster.Add this agentic workflow to your repo
To install this agentic workflow, run