GitHub user TheKunalSen created a discussion: After reboot host connection issue

my setup was working well untill i rebooted all the servers and now two of my 
hosts are in alert mode and cant connect to the management but the the third 
one got connected

i am getting logs like this in two of my hosts

```
2026-06-17 12:16:19,938 INFO  [cloud.agent.Agent] (Agent-Handler-2:[]) (logid:) 
Process agent startup answer, agent [id: 0, uuid: , name: ] connected to the 
server
2026-06-17 12:16:19,940 INFO  [cloud.agent.Agent] (Agent-Handler-2:[]) (logid:) 
Startup Response Received: agent [id: 0, uuid: , name: ]
2026-06-17 12:16:20,086 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-2:[]) (logid:4a2bdde0) Attempting to create storage pool 
81ecd9fd-9cdf-34cb-b99d-51d0e2cf3a0c (NetworkFilesystem) in libvirt
2026-06-17 12:16:20,088 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-2:[]) (logid:4a2bdde0) Found existing defined storage 
pool 81ecd9fd-9cdf-34cb-b99d-51d0e2cf3a0c, using it.
2026-06-17 12:16:20,095 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-2:[]) (logid:4a2bdde0) Trying to fetch storage pool 
81ecd9fd-9cdf-34cb-b99d-51d0e2cf3a0c from libvirt
2026-06-17 12:16:22,053 INFO  [cloud.agent.Agent] (Agent-Handler-1:[]) (logid:) 
Connected to the host: 172.16.17.201
2026-06-17 12:16:25,145 INFO  [kvm.resource.LibvirtComputingResource] 
(Agent-Handler-1:[]) (logid:) Detected agent disconnect event, running through 
0 disconnect hooks
2026-06-17 12:16:25,145 INFO  [cloud.agent.Agent] (Agent-Handler-1:[]) (logid:) 
Lost connection to host: 172.16.17.201. Attempting reconnection while we still 
have 0 commands in progress.
2026-06-17 12:16:25,147 INFO  [utils.nio.NioClient] (Agent-Handler-1:[]) 
(logid:) NioClient connection closed
2026-06-17 12:16:30,147 INFO  [cloud.agent.Agent] (Agent-Handler-1:[]) (logid:) 
Reconnecting to host: 172.16.17.201
2026-06-17 12:16:30,148 INFO  [utils.nio.NioClient] (Agent-Handler-1:[]) 
(logid:) Connecting to 172.16.17.201:8250
2026-06-17 12:16:30,148 INFO  [utils.nio.NioClient] (Agent-Handler-1:[]) 
(logid:) Connected to 172.16.17.201:8250
2026-06-17 12:16:30,149 INFO  [utils.nio.Link] (Agent-Handler-1:[]) (logid:) 
Conf file found: /etc/cloudstack/agent/agent.properties
2026-06-17 12:16:30,240 INFO  [utils.nio.NioClient] (Agent-Handler-1:[]) 
(logid:) SSL: Handshake done
2026-06-17 12:16:30,312 INFO  [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) 
(logid:) Fetching CPU speed from command "lscpu".
2026-06-17 12:16:30,349 INFO  [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) 
(logid:) Command [lscpu | grep -i 'Model name' | head -n 1 | egrep -o 
'[[:digit:]].[[:digit:]]+GHz' | sed 's/GHz//g'] resulted in the value [2100] 
for CPU speed.
2026-06-17 12:16:30,349 INFO  [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) 
(logid:) Fetching host CPU arch
2026-06-17 12:16:30,361 INFO  [kvm.resource.LibvirtComputingResource] 
(Agent-Handler-1:[]) (logid:) Host uses control group [cgroup2fs].
2026-06-17 12:16:30,361 INFO  [kvm.resource.LibvirtComputingResource] 
(Agent-Handler-1:[]) (logid:) Calculating the max shares of the host.
2026-06-17 12:16:30,361 INFO  [kvm.resource.LibvirtComputingResource] 
(Agent-Handler-1:[]) (logid:) The max shares of the host is [50400].
2026-06-17 12:16:30,431 WARN  [utils.script.Script] (Agent-Handler-1:[]) 
(logid:) Execution of process [12494] for command [/bin/bash -c virt-v2v 
--version ] failed.
2026-06-17 12:16:30,431 WARN  [utils.script.Script] (Agent-Handler-1:[]) 
(logid:) Process [12494] for command [/bin/bash -c virt-v2v --version ] 
encountered the error: [127].
2026-06-17 12:16:30,457 WARN  [utils.script.Script] (Agent-Handler-1:[]) 
(logid:) Execution of process [12514] for command [/bin/bash -c ovftool 
--version ] failed.
2026-06-17 12:16:30,457 WARN  [utils.script.Script] (Agent-Handler-1:[]) 
(logid:) Process [12514] for command [/bin/bash -c ovftool --version ] 
encountered the error: [127].
2026-06-17 12:16:32,018 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(Agent-Handler-1:[]) (logid:) Attempting to create storage pool 
2eb31580-54fb-4573-8401-083fbe23dcb7 (Filesystem) in libvirt
2026-06-17 12:16:32,042 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(Agent-Handler-1:[]) (logid:) Found existing defined storage pool 
2eb31580-54fb-4573-8401-083fbe23dcb7, using it.
2026-06-17 12:16:32,042 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(Agent-Handler-1:[]) (logid:) Trying to fetch storage pool 
2eb31580-54fb-4573-8401-083fbe23dcb7 from libvirt
2026-06-17 12:16:33,107 INFO  [cloud.agent.Agent] (Agent-Handler-2:[]) (logid:) 
Process agent startup answer, agent [id: 0, uuid: , name: ] connected to the 
server
2026-06-17 12:16:33,109 INFO  [cloud.agent.Agent] (Agent-Handler-2:[]) (logid:) 
Startup Response Received: agent [id: 0, uuid: , name: ]
2026-06-17 12:16:33,250 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-4:[]) (logid:902a941f) Attempting to create storage pool 
81ecd9fd-9cdf-34cb-b99d-51d0e2cf3a0c (NetworkFilesystem) in libvirt
2026-06-17 12:16:33,270 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-4:[]) (logid:902a941f) Found existing defined storage 
pool 81ecd9fd-9cdf-34cb-b99d-51d0e2cf3a0c, using it.
2026-06-17 12:16:33,276 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-4:[]) (logid:902a941f) Trying to fetch storage pool 
81ecd9fd-9cdf-34cb-b99d-51d0e2cf3a0c from libvirt
2026-06-17 12:16:35,241 INFO  [cloud.agent.Agent] (Agent-Handler-1:[]) (logid:) 
Connected to the host: 172.16.17.201
2026-06-17 12:16:38,325 INFO  [kvm.resource.LibvirtComputingResource] 
(Agent-Handler-1:[]) (logid:) Detected agent disconnect event, running through 
0 disconnect hooks
2026-06-17 12:16:38,325 INFO  [cloud.agent.Agent] (Agent-Handler-1:[]) (logid:) 
Lost connection to host: 172.16.17.201. Attempting reconnection while we still 
have 0 commands in progress.
2026-06-17 12:16:38,327 INFO  [utils.nio.NioClient] (Agent-Handler-1:[]) 
(logid:) NioClient connection closed
2026-06-17 12:16:43,328 INFO  [cloud.agent.Agent] (Agent-Handler-1:[]) (logid:) 
Reconnecting to host: 172.16.17.201
2026-06-17 12:16:43,328 INFO  [utils.nio.NioClient] (Agent-Handler-1:[]) 
(logid:) Connecting to 172.16.17.201:8250
2026-06-17 12:16:43,329 INFO  [utils.nio.NioClient] (Agent-Handler-1:[]) 
(logid:) Connected to 172.16.17.201:8250
2026-06-17 12:16:43,329 INFO  [utils.nio.Link] (Agent-Handler-1:[]) (logid:) 
Conf file found: /etc/cloudstack/agent/agent.properties
2026-06-17 12:16:43,420 INFO  [utils.nio.NioClient] (Agent-Handler-1:[]) 
(logid:) SSL: Handshake done
2026-06-17 12:16:43,471 INFO  [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) 
(logid:) Fetching CPU speed from command "lscpu".
2026-06-17 12:16:43,510 INFO  [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) 
(logid:) Command [lscpu | grep -i 'Model name' | head -n 1 | egrep -o 
'[[:digit:]].[[:digit:]]+GHz' | sed 's/GHz//g'] resulted in the value [2100] 
for CPU speed.
2026-06-17 12:16:43,510 INFO  [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) 
(logid:) Fetching host CPU arch
2026-06-17 12:16:43,521 INFO  [kvm.resource.LibvirtComputingResource] 
(Agent-Handler-1:[]) (logid:) Host uses control group [cgroup2fs].
2026-06-17 12:16:43,521 INFO  [kvm.resource.LibvirtComputingResource] 
(Agent-Handler-1:[]) (logid:) Calculating the max shares of the host.
2026-06-17 12:16:43,521 INFO  [kvm.resource.LibvirtComputingResource] 
(Agent-Handler-1:[]) (logid:) The max shares of the host is
```


its like connecting and disconnecting

<img width="1593" height="295" alt="image" 
src="https://github.com/user-attachments/assets/2f2ecfda-fbac-42c0-a101-1e25c1c52731";
 />


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

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

Reply via email to