[Openstack] Quantum+Openvswitch: could not open /dev/net/tun: Operation not permitted

Dean Troyer dtroyer at gmail.com
Thu May 24 22:49:49 UTC 2012


On Thu, May 24, 2012 at 3:05 PM, Igor Laskovy <igor.laskovy at gmail.com> wrote:
> kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: could not
> open /dev/net/tun: Operation not permitted

By chance I just happened to find the solution this afternoon...add
the following to /etc/libvirt/qemu.conf and restart libvirt:

cgroup_device_acl = [
   "/dev/null", "/dev/full", "/dev/zero",
   "/dev/random", "/dev/urandom",
   "/dev/ptmx", "/dev/kvm", "/dev/kqemu",
   "/dev/rtc", "/dev/hpet", "/dev/net/tun",
]

It is possible that the list can be pared down, I pulled that verbatim
from http://fedoraproject.org/wiki/Quantum.

dt

-- 

Dean Troyer
dtroyer at gmail.com




More information about the Openstack mailing list