Ask Your Question
0

libvirtError: internal error: no supported architecture for os type 'hvm'

asked 2014-05-02 00:59:04 -0500

Yogeswaran gravatar image

tried all the solutions provided on the internet

On the controller node the scheduler_default_filters is set to AllHostsFilter. libvirt_type=qemu in nova.conf file installed nova-compute-qemu package on the compute node.

but nothing worked.

edit retag flag offensive close merge delete

Comments

Hi Ranjit.

ls -l shows /dev/kvm file belongs to group kvm. But still no luck. xxxxx@compute1:~$ ls -l /dev/kvm crw-rw----+ 1 root kvm 10, 232 May 2 10:54 /dev/kvm

Yogeswaran gravatar imageYogeswaran ( 2014-05-02 04:00:46 -0500 )edit

Great to hear that things worked. Please update the question to add more details and update the answer so others can find useful information in the future.

smaffulli gravatar imagesmaffulli ( 2014-05-02 15:37:44 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-05-02 07:11:55 -0500

Yogeswaran gravatar image

After taking Ranjit's suggestion and restarting nova services in compute node it worked.

edit flag offensive delete link more
0

answered 2014-05-02 02:22:58 -0500

Ranjit gravatar image

see the link textfor troubleshooting . For help, i just copy and paste the required info.

Troubleshoot KVM

Trying to launch a new virtual machine instance fails with the ERRORstate, and the following error appears in the /var/log/nova/nova-compute.log file:

libvirtError: internal error no supported architecture for os type 'hvm'

This message indicates that the KVM kernel modules were not loaded.

If you cannot start VMs after installation without rebooting, the permissions might not be correct. This can happen if you load the KVM module before you install nova-compute. To check whether the group is set to kvm, run:

ls -l /dev/kvm

If it is not set to kvm, run:

udevadm trigger

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-05-02 00:59:04 -0500

Seen: 4,809 times

Last updated: May 02 '14