codewest commented on issue #11758:
URL: https://github.com/apache/cloudstack/issues/11758#issuecomment-3471206735
This bug also seems to result in problems when attempting to add an external
instance to a kubernetes cluster, even if your rules are not modified:
```
2025-10-31 03:36:27,158 ERROR [c.c.k.c.a.KubernetesClusterAddWorker]
(API-Job-Executor-114:[ctx-7a2a1a5b, job-356, ctx-3c474a01]) (logid:2ad9bf3c)
Node with ID: 32 cannot be added as a worker node as it does not have the
following dependencies: 1
2025-10-31 03:36:27,158 DEBUG [c.c.k.c.a.KubernetesClusterAddWorker]
(API-Job-Executor-114:[ctx-7a2a1a5b, job-356, ctx-3c474a01]) (logid:2ad9bf3c)
Reverting network rules for VM ID 32 on network example-network
2025-10-31 03:36:27,159 DEBUG [c.c.k.c.a.KubernetesClusterAddWorker]
(API-Job-Executor-114:[ctx-7a2a1a5b, job-356, ctx-3c474a01]) (logid:2ad9bf3c)
Removing firewall rule 62
2025-10-31 03:36:27,160 ERROR [c.c.k.c.a.KubernetesClusterAddWorker]
(API-Job-Executor-114:[ctx-7a2a1a5b, job-356, ctx-3c474a01]) (logid:2ad9bf3c)
Unexpected exception while trying to add the external node 32 to the Kubernetes
cluster example: Unable to find 62 having purpose [Firewall, Ipv6Firewall]
com.cloud.exception.InvalidParameterValueException: Unable to find 62 having
purpose [Firewall, Ipv6Firewall]
at
com.cloud.kubernetes.cluster.actionworkers.KubernetesClusterAddWorker.revertNetworkRules(KubernetesClusterAddWorker.java:318)
at
com.cloud.kubernetes.cluster.actionworkers.KubernetesClusterAddWorker.validateAndSetupNode(KubernetesClusterAddWorker.java:234)
at
com.cloud.kubernetes.cluster.actionworkers.KubernetesClusterAddWorker.importNodeToCluster(KubernetesClusterAddWorker.java:202)
at
com.cloud.kubernetes.cluster.actionworkers.KubernetesClusterAddWorker.addNodesToCluster(KubernetesClusterAddWorker.java:92)
at
com.cloud.kubernetes.cluster.KubernetesClusterManagerImpl.addNodesToKubernetesCluster(KubernetesClusterManagerImpl.java:2221)
at jdk.proxy3/jdk.proxy3.$Proxy534.addNodesToKubernetesCluster(Unknown
Source)
at
org.apache.cloudstack.api.command.user.kubernetes.cluster.AddNodesToKubernetesClusterCmd.execute(AddNodesToKubernetesClusterCmd.java:108)
2025-10-31 03:36:27,161 DEBUG [c.c.k.c.a.KubernetesClusterAddWorker]
(API-Job-Executor-114:[ctx-7a2a1a5b, job-356, ctx-3c474a01]) (logid:2ad9bf3c)
Reverting network rules for VM ID 32 on network example-network
2025-10-31 03:36:27,162 DEBUG [c.c.k.c.a.KubernetesClusterAddWorker]
(API-Job-Executor-114:[ctx-7a2a1a5b, job-356, ctx-3c474a01]) (logid:2ad9bf3c)
Removing firewall rule 61
```
--
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]