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 (main): an upgrade, scale or start fails if a node still has an ISO attached #14630
On main, a CKS upgrade, scale-up or start fails at once if a node VM still has an ISO attached, for example the Kubernetes binaries ISO left by an operation that didn't finish:
ERROR KubernetesClusterUpgradeWorker Failed to attach binaries ISO for VM : <control node> in the Kubernetes cluster name: <cluster>
com.cloud.exception.InvalidParameterValueException: The specified ISO is already attached to this Instance.
at com.cloud.template.TemplateManagerImpl.enforceCdromAttachLimits(TemplateManagerImpl.java)
at com.cloud.template.TemplateManagerImpl.attachIso(TemplateManagerImpl.java)
at com.cloud.kubernetes.cluster.actionworkers.KubernetesClusterActionWorker.attachIsoKubernetesVMs(KubernetesClusterActionWorker.java)
The operation fails before it changes anything, and the cluster goes to Alert. It keeps failing until the ISO is detached from each node by hand.
Cause:
KubernetesClusterActionWorker.attachIsoKubernetesVMs calls templateService.attachIso(isoId, vmId, true) on every node, and relies on the attach replacing whatever ISO the node has. That is how attachIso behaves on 4.22.
Multiple CD-ROM / ISO Support Per VM #13101 (multiple CD-ROMs per VM) added TemplateManagerImpl.enforceCdromAttachLimits. It refuses an ISO that is already attached, and, with the default of one CD-ROM, any second ISO ("Instance has reached the maximum of 1 attached CD-ROM(s)").
A node can be left holding an ISO when the management server stops during a CKS operation, or when an operator attached one by hand.
versions
main (since #13101). 4.22 is not affected, as its attachIso replaces the attached ISO.
The steps to reproduce the bug
Create a CKS cluster.
Attach the binaries ISO of the cluster's Kubernetes version to one of its node VMs (attachIso), or stop the management server while an upgrade of the cluster is running, after the ISO is attached.
Upgrade or scale up the cluster (after any recovery of the cluster state).
The job fails with "The specified ISO is already attached to this Instance." With a different ISO attached, it fails with "Instance has reached the maximum of 1 attached CD-ROM(s)".
What to do about it?
In attachIsoKubernetesVMs, leave the binaries ISO in place on a node that has it already, and detach any other ISO from the node before attaching, as the attach used to replace it.
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.
On main, a CKS upgrade, scale-up or start fails immediately if a node VM already has an ISO attached, for example the binaries ISO left by an operation that did not finish. Since #13101, attachIso refuses an ISO that is already attached. With the default one-CD-ROM limit it also refuses any second ISO. 4.22 is not affected. A fix is already open as #14637.
📊 Assessment
Dimension
Value
Reasoning
Type
type:bug
Regression on main from the CD-ROM limit change (#13101)
Activity
github-actions commentedon Nov 10, 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
On main, a CKS upgrade, scale-up or start fails immediately if a node VM already has an ISO attached, for example the binaries ISO left by an operation that did not finish. Since #13101,
attachIsorefuses an ISO that is already attached. With the default one-CD-ROM limit it also refuses any second ISO. 4.22 is not affected. A fix is already open as #14637.📊 Assessment
KubernetesClusterActionWorker.attachIsoKubernetesVMs🔗 Similar issues
💡 Notes and suggestions
Add this agentic workflow to your repo
To install this agentic workflow, run