GitHub user bradh352 created a discussion: Agent stuck in "Connecting" state, 
4.21

I have an agent stuck in the "Connecting" state, it seems like its the fault of 
the management server in some way as the agent just keeps restarting 

The interesting log on the management server says it can't acquire a lock on 
the host, I'm assuming this is something DB related?
```
2025-10-28 15:04:36,040 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] 
(AgentConnectTaskPool-2:[ctx-abe4ba59]) (logid:c6a383ed) Failed to handle host 
connection: com.cloud.exception.ConnectionException: Unable to acquire lock on 
host Host 
{"id":31,"name":"hv102.internal.nexthop.ai","type":"Routing","uuid":"8a8a2f0b-be76-4179-a2b9-c9785a81d061"},
 to process agent connection
```



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

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to