GitHub user subincb30 added a comment to the discussion: Can't add host server 
to cloudstack management server

Here is the recent logs:

---
root@ubuntu:~# tail -f /var/log/cloudstack/management/management-server.log
2024-09-19 08:09:17,523 DEBUG [c.c.s.d.VolumeStatsDaoImpl] 
(StatsCollector-3:ctx-8f2e2288) (logid:3fc927f1) Starting to remove all 
volume_stats rows older than [Wed Sep 18 20:09:17 UTC 2024].
2024-09-19 08:09:17,525 INFO  [c.c.v.d.VmStatsDaoImpl] 
(StatsCollector-2:ctx-fe5244f9) (logid:40b04762) Removed a total of [0] 
vm_stats rows older than [Thu Sep 19 08:08:17 UTC 2024].
2024-09-19 08:09:17,525 INFO  [c.c.s.d.VolumeStatsDaoImpl] 
(StatsCollector-3:ctx-8f2e2288) (logid:3fc927f1) Removed a total of [0] 
volume_stats rows older than [Wed Sep 18 20:09:17 UTC 2024].
2024-09-19 08:09:19,255 DEBUG [o.a.c.h.HAManagerImpl] 
(BackgroundTaskPollManager-6:ctx-8f547b9c) (logid:38edd7cf) HA health check 
task is running...
2024-09-19 08:09:23,258 DEBUG [o.a.c.h.HAManagerImpl] 
(BackgroundTaskPollManager-1:ctx-765d761d) (logid:bd6be1a8) HA health check 
task is running...
2024-09-19 08:09:25,242 DEBUG [c.c.c.ConsoleProxyManagerImpl] 
(consoleproxy-1:ctx-23bae9a7) (logid:1d353076) Skip capacity scan as there is 
no Primary Storage in 'Up' state
2024-09-19 08:09:25,256 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] 
(secstorage-1:ctx-358eb897) (logid:e61a3b17) Enabled non-edge zones available 
for scan: 1
2024-09-19 08:09:25,257 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] 
(secstorage-1:ctx-358eb897) (logid:e61a3b17) Zone 1 has no host available which 
is enabled and in Up state
2024-09-19 08:09:25,257 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] 
(secstorage-1:ctx-358eb897) (logid:e61a3b17) Zone [1] is not ready to launch 
secondary storage VM.
2024-09-19 08:09:27,260 DEBUG [o.a.c.h.HAManagerImpl] 
(BackgroundTaskPollManager-3:ctx-243e29db) (logid:feaac53e) HA health check 
task is running...
2024-09-19 08:09:31,263 DEBUG [o.a.c.h.HAManagerImpl] 
(BackgroundTaskPollManager-6:ctx-ad46d590) (logid:232a2af8) HA health check 
task is running...
2024-09-19 08:09:31,848 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:ctx-4d22af35) (logid:e5376347) Found 0 routers to update 
status.
2024-09-19 08:09:31,850 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:ctx-4d22af35) (logid:e5376347) Found 0 VPC's to update 
Redundant State.
2024-09-19 08:09:31,852 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:ctx-4d22af35) (logid:e5376347) Found 0 networks to 
update RvR status.
----


Also, I checked for the specific error for host server IP: 192.168.200.238:

---
2024-09-19 07:24:47,528 INFO  [c.c.r.ResourceManagerImpl] 
(qtp341748265-16:ctx-d80d59ca ctx-6dbc68fe) (logid:4e450a45) Trying to add a 
new host at http://192.168.200.238 in data center 1
2024-09-19 07:24:55,064 DEBUG [c.c.h.k.d.LibvirtServerDiscoverer] 
(qtp341748265-16:ctx-d80d59ca ctx-6dbc68fe) (logid:4e450a45) Succeeded to 
import certificate in the keystore for agent on the KVM host: 192.168.200.238. 
Agent secured and trusted.
2024-09-19 07:30:00,375 WARN  [c.c.r.ResourceManagerImpl] 
(qtp341748265-16:ctx-d80d59ca ctx-6dbc68fe) (logid:4e450a45) Cannot find the 
server resources at http://192.168.200.238
com.cloud.exception.DiscoveryException: Unable to add the host: Cannot find the 
server resources at http://192.168.200.238
2024-09-19 07:30:00,380 INFO  [c.c.a.ApiServer] (qtp341748265-16:ctx-d80d59ca 
ctx-6dbc68fe) (logid:4e450a45) Unable to add the host: Cannot find the server 
resources at http://192.168.200.238
root@ubuntu:~#
-----

Please check and let me know any further details needed.

GitHub link: 
https://github.com/apache/cloudstack/discussions/9715#discussioncomment-10701854

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

Reply via email to