You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "ahmadamirahmadi007 (via GitHub)" <gi...@apache.org> on 2025/06/07 07:16:49 UTC

[D] Upgrading K8S Failed [cloudstack]

GitHub user ahmadamirahmadi007 created a discussion: Upgrading K8S Failed

Upgrading from the following versions has a problem. why?
1.30.5 into 1.31.8
1.31.8 into 1.32.4 
1.32.4 into 1.33
but i can upgrade from 1.30.3 into 1.30.5

GitHub link: https://github.com/apache/cloudstack/discussions/10988

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Upgrading K8S Failed [cloudstack]

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
GitHub user kiranchavala added a comment to the discussion: Upgrading K8S Failed

@ahmadamirahmadi007  could you please share the cloudstack version and the kvm os details you are using to perform the activity?

Also the network details of the k8s clusters ( is it isolated, shared, vpc tier) 

GitHub link: https://github.com/apache/cloudstack/discussions/10988#discussioncomment-13406265

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Upgrading K8S Failed [cloudstack]

Posted by "ahmadamirahmadi007 (via GitHub)" <gi...@apache.org>.
GitHub user ahmadamirahmadi007 added a comment to the discussion: Upgrading K8S Failed

its another failed in upgrafing from 1.30.5 into 1.30.13

2025-06-07 14:03:11,554 ERROR [c.c.k.c.a.KubernetesClusterActionWorker] (API-Job-Executor-88:ctx-2e915bda job-33084 ctx-196a511a) (logid:16a30b3c) Failed to upgrade Kubernetes cluster : 22af645d1859cb5ca6da0c484f1f37ea-01jx57z4hpk29trtvk84bk664k, unable to upgrade Kubernetes node on VM : k8s-22af645d1859cb5ca6da0c484f1f37ea-01j-control-1974a805516
com.cloud.utils.exception.CloudRuntimeException: Failed to upgrade Kubernetes cluster : 22af645d1859cb5ca6da0c484f1f37ea-01jx57z4hpk29trtvk84bk664k, unable to upgrade Kubernetes node on VM : k8s-22af645d1859cb5ca6da0c484f1f37ea-01j-control-1974a805516
	at com.cloud.kubernetes.cluster.actionworkers.KubernetesClusterActionWorker.logTransitStateDetachIsoAndThrow(KubernetesClusterActionWorker.java:266)
	at com.cloud.kubernetes.cluster.actionworkers.KubernetesClusterUpgradeWorker.upgradeKubernetesClusterNodes(KubernetesClusterUpgradeWorker.java:127)
	at com.cloud.kubernetes.cluster.actionworkers.KubernetesClusterUpgradeWorker.upgradeCluster(KubernetesClusterUpgradeWorker.java:177)
	at com.cloud.kubernetes.cluster.KubernetesClusterManagerImpl.upgradeKubernetesCluster(KubernetesClusterManagerImpl.java:1622)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
	at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
	at com.sun.proxy.$Proxy466.upgradeKubernetesCluster(Unknown Source)
	at org.apache.cloudstack.api.command.user.kubernetes.cluster.UpgradeKubernetesClusterCmd.execute(UpgradeKubernetesClusterCmd.java:114)
	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:172)
	at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:112)
	at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:654)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
	at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:602)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

GitHub link: https://github.com/apache/cloudstack/discussions/10988#discussioncomment-13397602

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Upgrading K8S Failed [cloudstack]

Posted by "ahmadamirahmadi007 (via GitHub)" <gi...@apache.org>.
GitHub user ahmadamirahmadi007 closed a discussion: Upgrading K8S Failed

Upgrading from the following versions has a problem. why?
1.30.5 into 1.31.8
1.31.8 into 1.32.4 
1.32.4 into 1.33
but i can upgrade from 1.30.3 into 1.30.5

GitHub link: https://github.com/apache/cloudstack/discussions/10988

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Upgrading K8S Failed [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
GitHub user DaanHoogland added a comment to the discussion: Upgrading K8S Failed

@ahmadamirahmadi007 , any updates?

GitHub link: https://github.com/apache/cloudstack/discussions/10988#discussioncomment-13640626

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org