openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #23438
Error running instance on LXC(Folsom)
Hi everyone,
I've configured LXC successfully on the compute node. Its running Ubuntu
12.04. After adding ubuntu-cloud repo, I installed
nova-compute-lxc(folsom). The node is being recognized by the controller.
For the image, I downloaded ubuntu uec image.
http://uec-images.ubuntu.com/releases/precise/release/ubuntu-12.04-server-cloudimg-amd64.tar.gz
Extracted and added the .img file to glance using the following command.
$ glance image-create --disk-format=raw --container-format=bare
--name="ubuntu-12.04-amd64-lxc" --is-public=true --property
hypervisor_type=lxc --file precise-server-cloudimg-amd64.img
I booted the instance and it was scheduled on the LXC node. There is no
error message in the nova-compute logs but the instance doesn't boot.
Here's the console log.
init: Unable to create device: /dev/kmsg
cloud-init-container: emitted ifup for eth0
cloud-init start-local running: Wed, 08 May 2013 18:39:22 +0000. up
12985071.30 seconds
no instance data found in start-local
The instance boots after sometime without any IP. I've already configured
bridge, br100, on the compute-node. I'm not sure what am I missing.
Additionally, while troubleshooting I found these error in the libvirtd.log
when the instance was running.
2013-05-08 18:39:27.060+0000: 8034: error : virDomainGetVcpus:8912 : this
function is not supported by the connection driver: virDomainGetVcpus
2013-05-08 18:39:27.186+0000: 8041: error : virDomainGetVcpus:8912 : this
function is not supported by the connection driver: virDomainGetVcpus
2013-05-08 18:39:29.439+0000: 8032: error : virDomainGetVcpus:8912 : this
function is not supported by the connection driver: virDomainGetVcpus
Any suggestions?
--
Shashank Sahni