weizhouapache commented on PR #10028:
URL: https://github.com/apache/cloudstack/pull/10028#issuecomment-2522691649

   > test_01_secure_vm_migration fails as "Unable to deploy the VM as the host: 
ol8.localdomain is not in the right state" is consistent, however I am not sure 
if it is related as I have seen this error in other PRs as well ... needs 
investigation.
   
   @DaanHoogland 
   seems unrelated. 
   
   I recall we have faced the issue before
   ```
   2024-12-05 19:22:41,560 DEBUG [c.c.h.Status] 
(AgentConnectTaskPool-13:ctx-1c122273) (logid:0523be08) Unable to update host 
for event:Ready. Name=ol8.localdomain; 
New=[status=Up:msid=null:lastpinged=1692799264]; 
Old=[status=Connecting:msid=null:lastpinged=1692799264]; 
DB=[status=Connecting:msid=32987513095075:lastpinged=1692799259:old update 
count=45]
   2024-12-05 19:22:41,561 INFO  [c.c.u.e.CSExceptionErrorCode] 
(AgentConnectTaskPool-15:ctx-b814e2d3) (logid:b85f4adb) Could not find 
exception: com.cloud.exception.ConnectionException in error code list for 
exceptions
   2024-12-05 19:22:41,561 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] 
(AgentTaskPool-9:ctx-d2c55a62) (logid:315eb3a2) Notifying other nodes of to 
disconnect
   2024-12-05 19:22:41,562 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentConnectTaskPool-15:ctx-b814e2d3) (logid:b85f4adb) Failed to handle host 
connection:
   com.cloud.exception.ConnectionException: Unable to acquire lock on host 
1922ce9f-4d1d-453e-bf1f-4676592379a4
       at 
com.cloud.agent.manager.AgentManagerImpl.sendReadyAndGetAttache(AgentManagerImpl.java:1155)
       at 
com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:1168)
       at 
com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.runInContext(AgentManagerImpl.java:1252)
       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 
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)
   ```
   
   cc @vishesh92 


-- 
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]

Reply via email to