Welcome, Guest
Username: Password: Remember me
Archived CloudStack Forums for reference purposes please direct all future inquiries to the Apache CloudStack mailing lists.

incubator.apache.org/cloudstack/mailing-lists.html

TOPIC: Unable to add host with Centos 6.3 + KVM

Unable to add host with Centos 6.3 + KVM 1 year 1 week ago #12744

  • zjacobi
  • zjacobi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hello, I've been trying to get the current RHEL version of Cloudstack installed on a box running Centos 6.3 so I can get a feel for how it works. Unfortunately, I've been unable to create a host. I keep recieving the error "unable to add host" when I try to set up a host on the GUI. I've been able to set up a zone, pod, and cluster.

I've tried every IP and name I can think of for the host, and I've gone through some of things that have worked for others (fixing libvirtb, making sure ssh ports are open, etc.) without any luck. I've put my logfile in a spoiler below, I haven't seen any other logs with similar readouts, so if anyone could take a look at it and tell me what to try that would be great.

Warning: Spoiler! [ Click to expand ]


And here is the agent.log file contents:
Warning: Spoiler! [ Click to expand ]
Last Edit: 1 year 1 week ago by zjacobi. Reason: Added more log data
The administrator has disabled public write access.

Re: Unable to add host with Centos 6.3 + KVM 1 year 1 week ago #12768

  • kirkkosinski
  • kirkkosinski's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 70
  • Thank you received: 6
  • Karma: 5
Can you try using CentOS 6.2 on the host? 6.3 is not supported in CloudStack 3.0.2.

Best regards,
Kirk
The administrator has disabled public write access.

Re: Unable to add host with Centos 6.3 + KVM 1 year 1 week ago #12771

  • kirkkosinski
  • kirkkosinski's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 70
  • Thank you received: 6
  • Karma: 5
Also, I believe a new CloudStack release is coming soon, and it should fully support CentOS 6.3.

Best regards,
Kirk
The administrator has disabled public write access.

Re: Unable to add host with Centos 6.3 + KVM 1 year 6 days ago #12801

  • jiang
  • jiang's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hi, I has sloved this problem.Please check these services of Centos6.3 :

#service cgconfig status
#service libvirtd status
The administrator has disabled public write access.

Re: Unable to add host with Centos 6.3 + KVM 10 months 3 weeks ago #13019

  • fuzzysfj
  • fuzzysfj's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Something I discovered today that might help. I installed my management server with the web server components from the CentOS install, just for kicks. I have installed the management server many times without those packages and it seemed to work very consistently when adding hosts but this time I could not get it to add a host. After messing around for a while I turned the firewall off on the VM host and that still didn't make a difference, then I turned off the firewall on the management server and vhwalla there appeared my VM host without doing anything further. It seems that it was adding it all along but could not manage it. Something with the install of the web server packages in the CentOS install blocks some ports that CS needs.

FYI - I couldn't get the management UI to work either in this scenario until I allowed port 8080. whereas if you install a Basic Server install of CentOS without the web server packages it seems to work without having to explicitly allow 8080. Or maybe the cloud-setup-management script does it right without the web server packages installed. Dunno.
The administrator has disabled public write access.
Time to create page: 0.470 seconds

Open@Citrix

Citrix supports the open source community via developer support and evangeslism. We have a number of developers and evangelists that participate actively in the open source community in Apache Cloudstack, OpenDaylight, Xen Project and XenServer. We also conduct educational activities via the Build A Cloud events held all over the world. 

Connect