Openstack's VM not starting: seems an apparmor + kvm 0.14.0+noroms-0ubuntu4.4 problem
Hi,
I'm experiencing a problem about starting virtual machines deployed by openstack on a nova-compute node running on a Natty 11.04 (Linux beta 2.6.38-8-server #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux).
Here's a list of nova packages installed on the server (i'm using a milestone version here):
ii nova-common 2011.3~
ii nova-compute 2011.3~
ii nova-doc 2011.3~
ii nova-instancemo
ii python-nova 2011.3~
ii python-novaclient 2.4.2~bzr25-
The kvm version I'm using here is:
ii kvm 1:84+dfsg-
ii qemu-kvm 0.14.0+
The problem seems similar the the one described here:
http://
In fact, the vm gets deployed on the nova-compute node but does not start.
In the syslog i can see:
Aug 22 12:16:09 beta kernel: [5174076.278148] type=1400 audit(131400816
Aug 22 12:16:09 beta kernel: [5174076.632313] type=1400 audit(131400816
Aug 22 12:16:10 beta multipathd: no /block/ in '/devices/
Aug 22 12:16:10 beta multipathd: no /block/ in '/devices/
Aug 22 12:16:10 beta kernel: [5174077.175247] device vnet0 entered promiscuous mode
Aug 22 12:16:10 beta kernel: [5174077.177043] br12: port 2(vnet0) entering forwarding state
Aug 22 12:16:10 beta kernel: [5174077.177046] br12: port 2(vnet0) entering forwarding state
Aug 22 12:16:11 beta libvirtd: 12:16:11.094: 29235: error : qemuMonitorComm
Aug 22 12:16:11 beta libvirtd: 12:16:11.094: 29235: error : qemuMonitorText
Aug 22 12:16:11 beta kernel: [5174078.434976] br12: port 2(vnet0) entering forwarding state
Aug 22 12:16:11 beta multipathd: no /block/ in '/devices/
Aug 22 12:16:11 beta kernel: [5174078.510639] device vnet0 left promiscuous mode
Aug 22 12:16:11 beta kernel: [5174078.510644] br12: port 2(vnet0) entering disabled state
Aug 22 12:16:11 beta kernel: [5174078.702713] type=1400 audit(131400817
In the dir /etc/apparmor.
root@beta:
libvirt-
root@beta:
#
# This profile is for the domain whose UUID matches this file.
#
#include <tunables/global>
profile libvirt-
#include <abstractions/
#include <libvirt/
}
root@beta:
# DO NOT EDIT THIS FILE DIRECTLY. IT IS MANAGED BY LIBVIRT.
"/var/
"/var/
"/var/
"/var/
"/var/
# don't audit writes to readonly files
deny "/var/lib/
"/var/
"/var/
# don't audit writes to readonly files
deny "/var/lib/
"/var/
# don't audit writes to readonly files
deny "/var/lib/
I've got another nova-compute node (Linux eta 2.6.38-8-server #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux) running the following software on natty:
ii nova-common 2011.2-0ubuntu1 OpenStack Compute - Nova - common files
ii nova-compute 2011.2-0ubuntu1 OpenStack Compute - Nova - compute node
ii kvm 1:84+dfsg-
ii qemu-kvm 0.14.0+
ii qemu-kvm-extras 0.14.50-
ii qemu-kvm-
the apparmor profiles that libvirt generates seem quite similar to the other node's ones but i'm definitively able to start vms on this node.
Am I missing something or this is a returning problem?
Thanks
Giuseppe
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu qemu-kvm Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Giuseppe Civitella
- Solved:
- Last query:
- Last reply: