Comment 3 for bug 907269

Revision history for this message
Kevin Jackson (kevin-linuxservices) wrote :

Hmm - wasn't expecting this - fails on Ubuntu 11.10 with nova-core from milestone PPA.

Ubuntu 11.10 Fresh Install with latest updates.

apt-get install -y python-software-properties
add-apt-repository ppa:nova-core/milestone
apt-get install -y rabbitmq-server nova-api nova-objectstore nova-scheduler nova-network nova-compute glance qemu unzip python-support

Same nova.conf as before
Created network configs (private and floating)
Used Oneiric cloud image
cloud-publish-tarball ...

euca-run-instances ami-00000002 -k openstack -t m1.tiny

Says spawned successful - but instance hasn't been so successful.
euca-get-console-output empty (apart from beginning identifier)
Same warning (I'm presuming the warning is the crux - I've not noticed it before)

011-12-21 12:41:47,059 DEBUG nova.utils [-] Running cmd (subprocess): qemu-img create -f qcow2 -o cluster_size=2M,backing_file=/var/lib/nova/instances/_base/da4b9237bacccdf19c0760cab7aec4a8359010b0_sm /var/lib/nova/instances/instance-00000001/disk from (pid=9308) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198
2011-12-21 12:41:47,553 INFO nova.virt.libvirt_conn [db1901eb-7181-489e-9051-0f303a1e5a5f None None] instance instance-00000001: injecting key into image 2
2011-12-21 12:41:47,554 DEBUG nova.utils [db1901eb-7181-489e-9051-0f303a1e5a5f None None] Running cmd (subprocess): sudo qemu-nbd -c /dev/nbd15 /var/lib/nova/instances/instance-00000001/disk from (pid=9308) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198
2011-12-21 12:41:48,809 DEBUG nova.utils [db1901eb-7181-489e-9051-0f303a1e5a5f None None] Running cmd (subprocess): sudo kpartx -a /dev/nbd15 from (pid=9308) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198
2011-12-21 12:41:48,916 DEBUG nova.utils [db1901eb-7181-489e-9051-0f303a1e5a5f None None] Running cmd (subprocess): sudo kpartx -d /dev/nbd15 from (pid=9308) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198
2011-12-21 12:41:48,929 DEBUG nova.utils [db1901eb-7181-489e-9051-0f303a1e5a5f None None] Running cmd (subprocess): sudo qemu-nbd -d /dev/nbd15 from (pid=9308) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198
2011-12-21 12:41:48,954 WARNING nova.virt.libvirt_conn [db1901eb-7181-489e-9051-0f303a1e5a5f None None] instance instance-00000001: ignoring error injecting data into image 2 (Mapped device was not found (we can only inject raw disk images): /dev/mapper/nbd15p1)
2011-12-21 12:41:51,260 DEBUG nova.virt.libvirt_conn [-] instance instance-00000001: is running from (pid=9308) spawn /usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py:670