/dev/kvm permission issue on Ubuntu 22.04

Bug #2049716 reported by Aravindh

This bug report will be marked for expiration in 12 days if no further activity occurs. (find out why)

8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Incomplete
Undecided
Unassigned

Bug Description

OS - Ubuntu 22.04

When deploying Openstack with Kolla Ansible, the libvirt conf is configured with user nova. But looks like /dev/kvm is only accessible on the host by root user and kvm group. This results in errors in the libvirt logs.

error : virQEMUCapsCacheLookupDefault:5796 : invalid argument: KVM is not supported by '/usr/bin/qemu-system-xtensaeb' on this host

Adding 0666 on /dev/kvm stops the error message, but I think this should be handled by Kolla by either adding the nova user to kvm group on host level or use root user on the qemu.conf file.

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

Aravindh, could you please provide full log with an error.
Also which version of Kolla-Ansible used?

Changed in kolla:
status: New → Incomplete
affects: kolla → kolla-ansible
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.