Hello all, I would like to ask for your assistance with my efforts to install and configure cloudstack.
I have a cloudstack management running on one server and a cloudstack agent running on a different server. When I try to add a new host on the cloudstack management, it is not successful (the process times out and the error message is "unable to add the host"). Looking at the log file on the management server (/var/log/cloudstack/management/management-server.log), we can see that the process fails due to KVM not enabled on the agent: 2014-11-07 00:44:08,030 INFO [c.c.r.ResourceManagerImpl] (catalina-exec-9:ctx-b10b108e ctx-ae87aed0) Trying to add a new host at http://87.244.198.134 in data center 1 2014-11-07 00:44:08,194 DEBUG [c.c.u.s.SSHCmdHelper] (catalina-exec-9:ctx-b10b108e ctx-ae87aed0) Executing cmd: lsmod|grep kvm 2014-11-07 00:44:09,387 DEBUG [c.c.u.s.SSHCmdHelper] (catalina-exec-9:ctx-b10b108e ctx-ae87aed0) lsmod|grep kvm output:kvm 337772 0 2014-11-07 00:44:09,389 DEBUG [c.c.u.s.SSHCmdHelper] (catalina-exec-9:ctx-b10b108e ctx-ae87aed0) Executing cmd: cloudstack-setup-agent -m 87.244.198.132 -z 1 -p 1 -c 1 -g d64bbafc-94af-34f4-8f11-52f8a9a95504 -a --pubNic=cloudbr0 --prvNic=cloudbr0 --guestNic=cloudbr0 --hypervisor=kvm 2014-11-07 00:44:10,488 DEBUG [c.c.u.s.SSHCmdHelper] (catalina-exec-9:ctx-b10b108e ctx-ae87aed0) cloudstack-setup-agent -m 87.244.198.132 -z 1 -p 1 -c 1 -g d64bbafc-94af-34f4-8f11-52f8a9a95504 -a --pubNic=cloudbr0 --prvNic=cloudbr0 --guestNic=cloudbr0 --hypervisor=kvm output:Starting to configure your system: Checking KVM...[Failed] Please enable KVM on this machine Try to restore your system: However, when we log into the agent, KVM module is loaded and the process is running: # lsmod | grep kvm kvm 337772 0 # service libvirtd status libvirtd (pid 11391) is running... and the cloudstack-agnet is running as well: #service cloudstack-agent status cloudstack-agent (pid 12122) is running... If I try to run the cloudstack-setup-agent on the agent server, I will get the same error message - "please enable KVM on this machine" Searching the list archives I have found that one of the possible reasons might be unsupported or disabled virtualization support in cpu/bios. However that seems not to be the case here: grep -E 'svm|vmx' /proc/cpuinfo flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid Both management and agent services are run on a Centos 6.5. I have tried both clean install as well as install with the latest updates (2.6.32-504.el6.x86_64). Cloudstack version is 4.4.1 (cloudstack-management-4.4.1-NONOSS_3.el6.x86_64 and cloudstack-agent-4.4.1-NONOSS_3.el6.x86_64) IPtables and SElinux are temporarily disabled. Any ideas will be much appreciated. Thank you! Regards, Michal
