Hi, Do you have libvirtd installed/running? Please refer to: http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html#id1 (CentOS) https://rohityadav.cloud/blog/cloudstack-kvm/ (Ubuntu)
I'm assuming until now you were trying to install/setup 4.15.1 on CentOS7. On CentOS it checks if the /dev/kvm path exists and on Ubuntu it runs "kvm-ok" whose exit value should be 0 (that is, it exists). If you're on Ubuntu, please install kvm-ok using "apt-get install cpu-checker", and run it manually to check, for example: $ kvm-ok INFO: /dev/kvm exists KVM acceleration can be used $ echo $? 0 Regards. ________________________________ From: technologyrss.mail <technologyrss.m...@gmail.com> Sent: Monday, August 9, 2021 19:37 To: Rohit Yadav <rohit.ya...@shapeblue.com>; dev@cloudstack.apache.org <dev@cloudstack.apache.org> Subject: Re: error - Unable to add the host Please see my kvm server log from below image. [cid:part1.34CC635F.755D11E5@gmail.com] On 8/9/2021 6:08 PM, Rohit Yadav wrote: Alright, can you now try to add the KVM host? Regards. ________________________________ From: technologyrss.mail <technologyrss.m...@gmail.com><mailto:technologyrss.m...@gmail.com> Sent: Monday, August 9, 2021 4:32:56 PM To: Rohit Yadav <rohit.ya...@shapeblue.com><mailto:rohit.ya...@shapeblue.com>; dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> <dev@cloudstack.apache.org><mailto:dev@cloudstack.apache.org> Subject: Re: error - Unable to add the host Please see my image [cid:part2.BDAB33CD.54C33C69@gmail.com] On 8/9/2021 4:51 PM, Rohit Yadav wrote: Alright can you run: modprobe kvm modprobe kvm_intel And then: ls /dev/kvm or, kvm-ok Regards. ________________________________ From: technologyrss.mail <technologyrss.m...@gmail.com><mailto:technologyrss.m...@gmail.com> Sent: Monday, August 9, 2021 16:10 To: Rohit Yadav <rohit.ya...@shapeblue.com><mailto:rohit.ya...@shapeblue.com>; dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> <dev@cloudstack.apache.org><mailto:dev@cloudstack.apache.org> Subject: Re: error - Unable to add the host I see as like below out put. [cid:part7.B762B750.422C555B@gmail.com] ---- Alamin On 8/9/2021 4:31 PM, Rohit Yadav wrote: Hi, Then please check if the kernel you're using ships with KVM enabled. Something you can do lsmod​| grep kvm to check if your kernel ships with KVM. I also see vmx in your cpuinfo output. Regards. ________________________________ From: technologyrss.mail <technologyrss.m...@gmail.com><mailto:technologyrss.m...@gmail.com> Sent: Monday, August 9, 2021 14:19 To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> <dev@cloudstack.apache.org><mailto:dev@cloudstack.apache.org>; Rohit Yadav <rohit.ya...@shapeblue.com><mailto:rohit.ya...@shapeblue.com> Subject: Re: error - Unable to add the host Yes, My KVM server VT is already enable but I check again for over sure. [cid:part12.74473EDB.7C745E8B@gmail.com] and CPU info like as below. [cid:part13.E4BD9937.F5FEF8A0@gmail.com] I don't know what is issue. On 8/9/2021 1:43 PM, Rohit Yadav wrote: Hi, Do you've Intel VTX or AMD-V enabled on the host? You can check the /proc/cpuinfo or output of the kvm-ok command. If this is a virtualised/nested VM, please check and enable hardware acceleration for your VM. Regards. ________________________________ From: technologyrss.mail <technologyrss.m...@gmail.com><mailto:technologyrss.m...@gmail.com> Sent: Friday, August 6, 2021 20:13 To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> <dev@cloudstack.apache.org><mailto:dev@cloudstack.apache.org> Subject: error - Unable to add the host Hi, I hope this is not many problem on my kvm server. First error from log file. This log from ACS server. image 1 [cid:part1.6BF948D3.66C81DE8@gmail.com] [cid:part2.CD61809B.AAD4FE4C@gmail.com] 2nd error from agent log file. This log from KVM server. image 2 [cid:part3.E338B67F.D9F307C4@gmail.com] 3rd error from ACS image 3. [cid:part4.429C4B21.7BBDB4F3@gmail.com] 4th error from web browser as like below. [cid:part5.E973A94F.247D11C4@gmail.com] My KVM server bridge config as like below. [cid:part6.EB16E136.465160F8@gmail.com] Please help me how can I solve this issue. -- Thanks & Regards. Support Admin ________________________________ Facebook<https://www.facebook.com/TechnologyRSS> | Twitter<https://twitter.com/technologyrss1> | YouTube<https://www.youtube.com/channel/UCBq7qGqFEUe6ObVHMuxudTw> | LinkedIn<https://www.linkedin.com/company/technologyrss/> Address : 116/1 West Malibagh, D. I. T Road Dhaka-1217, Bangladesh Mob : +88 01716915504 Email : support.ad...@technologyrss.com<mailto:support.ad...@technologyrss.com> Web : www.technologyrss.com<http://www.technologyrss.com>