When attempting to add my first host to my CS management server (172.16.0.4)
I get this message in /var/log/cloudstack/management/management-server.log:

2020-06-24 01:11:43,127 WARN  [c.c.r.ResourceManagerImpl]
(qtp119358627-14:ctx-ef5277d6 ctx-0125110f) (logid:964a6eef) Unable to find
the server resources at http://172.16.0.6
2020-06-24 01:11:43,127 INFO  [c.c.u.e.CSExceptionErrorCode]
(qtp119358627-14:ctx-ef5277d6 ctx-0125110f) (logid:964a6eef) Could not find
exception: com.cloud.exception.DiscoveryException in error code list for
exceptions
2020-06-24 01:11:43,128 WARN  [o.a.c.a.c.a.h.AddHostCmd]
(qtp119358627-14:ctx-ef5277d6 ctx-0125110f) (logid:964a6eef) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:822)

Meanwhile: On the host that I'm trying to add (172.16.0.6)...

2020-06-23 21:47:55,009 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
(logid:) Connected to the host: 172.16.0.4
2020-06-23 21:47:55,040 INFO  [kvm.storage.LibvirtStorageAdaptor]
(Agent-Handler-1:null) (logid:) Attempting to create storage pool
3d86e1d3-b8c5-47b3-96c8-c37d3064e9e4 (Filesystem) in libvirt
2020-06-23 21:47:55,041 ERROR [kvm.resource.LibvirtConnection]
(Agent-Handler-1:null) (logid:) Connection with libvirtd is broken: invalid
connection pointer in virConnectGetVersion
2020-06-23 21:47:55,042 INFO  [kvm.storage.LibvirtStorageAdaptor]
(Agent-Handler-1:null) (logid:) Found existing defined storage pool
3d86e1d3-b8c5-47b3-96c8-c37d3064e9e4, using it.
2020-06-23 21:47:55,042 INFO  [kvm.storage.LibvirtStorageAdaptor]
(Agent-Handler-1:null) (logid:) Trying to fetch storage pool
3d86e1d3-b8c5-47b3-96c8-c37d3064e9e4 from libvirt
2020-06-23 21:47:55,045 INFO  [kvm.storage.LibvirtStorageAdaptor]
(Agent-Handler-1:null) (logid:) Attempting to create storage pool
3d86e1d3-b8c5-47b3-96c8-c37d3064e9e4 (Filesystem) in libvirt
2020-06-23 21:47:55,045 INFO  [kvm.storage.LibvirtStorageAdaptor]
(Agent-Handler-1:null) (logid:) Found existing defined storage pool
3d86e1d3-b8c5-47b3-96c8-c37d3064e9e4, using it.
2020-06-23 21:47:55,046 INFO  [kvm.storage.LibvirtStorageAdaptor]
(Agent-Handler-1:null) (logid:) Trying to fetch storage pool
3d86e1d3-b8c5-47b3-96c8-c37d3064e9e4 from libvirt
2020-06-23 21:47:55,049 WARN  [cloud.agent.Agent] (Agent-Handler-1:null)
(logid:) Unable to send reques: null
2020-06-23 21:47:55,147 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
(logid:) Connected to the host: 172.16.0.4
2020-06-23 21:47:55,291 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
(logid:) Connected to the host: 172.16.0.4
2020-06-23 21:47:55,444 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
(logid:) Connected to the host: 172.16.0.4

On a hunch: I verified that libvirtd is listening on the host that I'm
trying to add (172.16.0.6)...

[root@vmh-1 ~]# netstat -tanp | grep virt
tcp        0      0 0.0.0.0:16514           0.0.0.0:*               LISTEN
     1654/libvirtd
tcp6       0      0 :::16514                :::*                    LISTEN
     1654/libvirtd

Would somebody please be so kind as to tell me what all of that means - Why
can't I add hosts to this new management server?

TIA,
Eric Pretorious
Portland, Oregon

Reply via email to