

I'm new to Cloudstack and I started to set up my first cluster yesterday. Everything has been running smoothly until I went to add a new host. I followed the steps on the guide on installing a new hypervisor host and attempted to add it via the UI. When attempting to add, Cloudstack UI comes up with the error "Unable to add host" with no further information. I checked the logs on the host server and seen that it is SSH'ing in and then drops 3-6 seconds later.
Nov 19 17:21:13 pl-c-node-01 sshd[14625]: Accepted password for root from IP_REMOVED port 45410 ssh2
Nov 19 17:21:13 pl-c-node-01 sshd[14625]: pam_unix(sshd:session): session opened for user root by (uid=0)
Nov 19 17:21:19 pl-c-node-01 sshd[14625]: Received disconnect from *IP_REMOVED*: 11: Closed due to user request.
How can I troubleshoot this problem?
Edited by: Tuxxin on 19-Nov-2012 12:26
What hypervisor are you using?
Best regards,
{color:#555555}Kirk Kosinski{color} !http://www.linkedin.com/favicon.ico!
{color:#999999}MCITP: EA / VA / EDA7, VCP 4 / 5, CCA{color}
I guess it's KVM. Check /var/log/cloud/agent/agent.log+ on the KVM host to see if there are any errors from CloudStack. Unfortunately the default logging level for this log is INFO, which is often not useful for troubleshooting. You can also check +/var/log/cloud/management/management-server.log on the CloudStack server to see if there is more info besides the "Unable to add host" UI message.
Best regards,
{color:#555555}Kirk Kosinski{color} !http://www.linkedin.com/favicon.ico!
{color:#999999}MCITP: EA / VA / EDA7, VCP 4 / 5, CCA{color}
Ask, Discuss, Answer