openstack havana live migration libvirt cgroup issue for instances

asked 2014-05-06 03:23:56 -0500

Sifty gravatar image

Hi Openstack world

I have 4 host nodes in my openstack cluster using glusterfs shared storage - however I am having this issue when using the live-migration flag on my hosts, am I missing something. I am assuming this is something to do with libvirt and my config of qemu.conf, almost as if the live migration isn't respecting /migrating the cgroup permissions.

my qemu.conf config.

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",
]

security_driver = "none"

clear_emulator_capabilities = 1

Here are some of the relevant logs from libvirtd.

2014-05-04 17:58:36.047+0000: 6205: error : qemuRemoveCgroup:754 : internal error Unable to find cgroup for instance-00000193
2014-05-04 17:58:36.047+0000: 6205: warning : qemuProcessStop:4415 : Failed to remove cgroup for instance-00000193
2014-05-04 17:58:50.808+0000: 6211: error : virNWFilterDHCPSnoopEnd:2131 : internal error ifname "vnet6" not in key map
2014-05-04 17:58:50.831+0000: 6211: error : virNetDevGetIndex:653 : Unable to get index for interface vnet6: No such device
2014-05-04 17:58:50.958+0000: 6211: error : qemuRemoveCgroup:754 : internal error Unable to find cgroup for instance-000001a6
2014-05-04 17:58:50.958+0000: 6211: warning : qemuProcessStop:4415 : Failed to remove cgroup for instance-000001a6
2014-05-04 17:58:56.309+0000: 6203: error : virNWFilterDHCPSnoopEnd:2131 : internal error ifname "vnet7" not in key map
2014-05-04 17:58:56.322+0000: 6203: error : virNetDevGetIndex:653 : Unable to get index for interface vnet7: No such device
2014-05-04 17:58:56.447+0000: 6203: error : qemuRemoveCgroup:754 : internal error Unable to find cgroup for instance-000001b2

As always any tips or pointers very much appreciated.

edit retag flag offensive close merge delete