rhtyd commented on issue #4998:
URL: https://github.com/apache/cloudstack/issues/4998#issuecomment-833498573


   @cafecat6503 based on the logs, it seems your vSphere DC has no hosts:
   
   ```
   2021-05-06 00:43:51,409 ERROR [c.c.h.v.m.VmwareManagerImpl] 
(qtp1644231115-16:ctx-9d55a0d4 ctx-5805610d) (logid:bda73b7f) Unable to find 
host from inventory path: /home-dc1/cloud-cluster/<my-esxi-hostfqdn>
   2021-05-06 00:43:51,409 INFO  [c.c.h.v.VmwareServerDiscoverer] 
(qtp1644231115-16:ctx-9d55a0d4 ctx-5805610d) (logid:bda73b7f) Found 0 hosts.
   ...
   2021-05-06 00:43:51,415 WARN  [c.c.r.ResourceManagerImpl] 
(qtp1644231115-16:ctx-9d55a0d4 ctx-5805610d) (logid:bda73b7f) Unable to find 
the server resources at 
http://<my-vCenter-fqdn>/home-dc1/cloud-cluster/<my-esxi-hostfqdn>
   ```
   
   Can you if your DC has any host? (url in logs pointing to 
/home-dc1/cloud-cluster/<my-esxi-hostfqdn>)
   
   You need to add your hosts to the cluster under a DC in vSphere before 
adding them in cloudstack. Also check the cluster name and DC name. (Do they 
match what you configured while you deployed the zone, or in the cluster where 
you're adding the host?)


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to