happyalexkg commented on issue #8326:
URL: https://github.com/apache/cloudstack/issues/8326#issuecomment-1845539297
After investigating log, i find this. When host is down in logs
2023-12-07 21:18:39,560 WARN [o.a.c.h.HAManagerImpl]
(pool-1-thread-25:null) (logid:c1f8c520) Unable to find next HA state for
current HA state=[Checking] for event=[HealthCheckFailed] for host=[2].
com.cloud.utils.fsm.NoTransitionException: Unable to transition to a new
state from Checking via HealthCheckFailed
at
com.cloud.utils.fsm.StateMachine2.getTransition(StateMachine2.java:108)
at
com.cloud.utils.fsm.StateMachine2.getNextState(StateMachine2.java:94)
at
org.apache.cloudstack.ha.HAManagerImpl.transitionHAState(HAManagerImpl.java:155)
at jdk.internal.reflect.GeneratedMethodAccessor108.invoke(Unknown
Source)
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.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.$Proxy339.transitionHAState(Unknown Source)
at
org.apache.cloudstack.ha.task.HealthCheckTask.processResult(HealthCheckTask.java:59)
at org.apache.cloudstack.ha.task.BaseHATask.call(BaseHATask.java:104)
at org.apache.cloudstack.ha.task.BaseHATask.call(BaseHATask.java:36)
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)
may be it's cause why vm not migrating
--
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]