OpenStack Compute (Nova)

can't boot from volume

Asked by Kim on 2012-07-04

Hi,

I'm running openstack on ubuntu 12.04 and have the latest updates (from ubuntu) installed.
I can start/stop instances and create/attach/delete volumes without problems.
But I can't boot from volume. I followed this guide: http://docs.openstack.org/trunk/openstack-compute/admin/content/boot-from-volume.html
If I try to boot an instance I get this messages (via vnc):
    Booting from Hard Disk...
    Boot failed: not a bootable disk
Here is the compute log: http://paste.openstack.org/show/19263/

I've also tried a volume with a bootable partition. But this also don't boot with this message (via vnc):
    Booting from Hard Disk...
    _

I home you can help me.

Cheers,
Kim

Question information

Language:
English Edit question
Status:
Expired
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
2012-07-20
Last reply:
2012-08-05
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

I get this message in the logfile of the computing Instance:

2012-07-20 16:25:57 INFO nova.virt.libvirt.connection [req-6f9cd35a-1da2-4020-8672-77d7a1d2c346 ba2c21dad9d345dba31d645e5282fa0f bfe2db2a23ff4f26b8ea686d3070ce0b] [instance: 65165167-c8a2-4c8d-b070-c2b8bdab2bb5] Creating image
2012-07-20 16:25:57 INFO nova.virt.libvirt.connection [req-6f9cd35a-1da2-4020-8672-77d7a1d2c346 ba2c21dad9d345dba31d645e5282fa0f bfe2db2a23ff4f26b8ea686d3070ce0b] [instance: 65165167-c8a2-4c8d-b070-c2b8bdab2bb5] Injecting key into image 8497f80d-80de-4e24-9644-04a5a347c262
2012-07-20 16:25:58 WARNING nova.virt.libvirt.connection [req-6f9cd35a-1da2-4020-8672-77d7a1d2c346 ba2c21dad9d345dba31d645e5282fa0f bfe2db2a23ff4f26b8ea686d3070ce0b] [instance: 65165167-c8a2-4c8d-b070-c2b8bdab2bb5] Ignoring error injecting data into image 8497f80d-80de-4e24-9644-04a5a347c262 (
--
qemu-nbd error: Unexpected error while running command.
Command: sudo nova-rootwrap qemu-nbd -c /dev/nbd15 /var/lib/nova/instances/instance-00000044/disk
Exit code: 1
Stdout: ''
Stderr: "qemu-nbd: Failed to bdrv_open '/var/lib/nova/instances/instance-00000044/disk': No such file or directory\n"
--
Failed to mount filesystem: Unexpected error while running command.
Command: sudo nova-rootwrap guestmount --rw -a /var/lib/nova/instances/instance-00000044/disk -m /dev/sda1 /tmp/tmpoeXoGE
Exit code: 1
Stdout: ''
Stderr: 'Traceback (most recent call last):\n File "/usr/bin/nova-rootwrap", line 69, in <module>\n env=filtermatch.get_environment(userargs))\n File "/usr/lib/python2.7/subprocess.py", line 679, in __init__\n errread, errwrite)\n File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child\n raise child_exception\nOSError: [Errno 2] No such file or directory\n')
2012-07-20 16:26:04 INFO nova.virt.libvirt.connection [-] [instance: 65165167-c8a2-4c8d-b070-c2b8bdab2bb5] Instance spawned successfully.

Launchpad Janitor (janitor) said : #4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.