[Bug 1439280] Re: Libvirt CPU affinity error

2015-05-11 Thread Jeffrey Zhang
I found the root cause in my environment. I use libvirt in LXC. And the lxc doesn't enable the cgroup w/ read and write permission. I add/change the config file with following line. lxc.aa_profile = lxc-container-default-with-nesting And install `cgroup-lite` in lxc guest. The libvirt works

[Bug 1439280] Re: Libvirt CPU affinity error

2015-05-07 Thread Jeffrey Zhang
@Tony Yes. You are right. I am sorry that I make a wrong file diff. I hide my last comment, and paste a correct one. I meet this issue too. After applied following patch, it works. I think in the ubuntu, the libvirt (1.2.12, from cloud-archive) doesn't support numa. diff --git

[Bug 1439280] Re: Libvirt CPU affinity error

2015-05-04 Thread Jeffrey Zhang
I meet this issue too. After applied following patch, it works. I think in the ubuntu, the libvirt (1.2.12, from cloud-archive) doesn't support numa. ` diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py index 4e94b60..d3a37e5 100644 --- a/nova/virt/libvirt/driver.py +++