Havana: boot from ISO not working

Bug #1256906 reported by Ruediger Rissmann
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Medium
Unassigned

Bug Description

I have a problem booting an instance from an ISO image. This works well in our folsom cloud, but its not working on out havana cloud. I have an ISO image uploaded and try to create an instance from it. Images are store on an rbd volume. the instance hangs with

Boot failed: could not read the boot disk

I traced the problem down to the content of the libvirt.xml file. The problem seems to be the following config setting:

<disk type="network" device="disk">

If I create an instance from the same libvirt.xml file and just change the "disk" to "cdrom" the instance is booting.

Tags: libvirt
Revision history for this message
Daniel Berrange (berrange) wrote :

You need to actually provide some technical info on what you were doing to get to this state.

eg at a minimum provide the output of 'glance image-show XXXX' for the image you are trying to use, and the full 'nova boot' command line you are using and/or output of 'nova show XXXX' for the instance in question. Also attach the glance.conf and nova.conf configuration files to the bug

Revision history for this message
Ruediger Rissmann (ruediger.rissmann) wrote :
Download full text (6.8 KiB)

I uploaded an ISO image to glance:
# glance image-list
+--------------------------------------+-----------------------------+-------------+------------------+-------------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+-----------------------------+-------------+------------------+-------------+--------+
| 63dd32a7-7d8b-45b1-84af-f081e8fc0ccb | CentOS 6.4 x86_64 (minimal) | iso | bare | 358959104 | active |

and now I try to boot it:
nova boot --flavor 1 --image 63dd32a7-7d8b-45b1-84af-f081e8fc0ccb "ISO test"
+--------------------------------------+--------------------------------------+
| Property | Value |
+--------------------------------------+--------------------------------------+
| OS-EXT-STS:task_state | scheduling |
| image | CentOS 6.4 x86_64 (minimal) |
| OS-EXT-STS:vm_state | building |
| OS-EXT-SRV-ATTR:instance_name | instance-000001bb |
| OS-SRV-USG:launched_at | None |
| flavor | m1.tiny |
| id | ce8983eb-1ac8-41ce-8eef-b4a3995bb32b |
| security_groups | [{u'name': u'default'}] |
| user_id | 74890c05d705413e9502abdd6b155dbb |
| OS-DCF:diskConfig | MANUAL |
| accessIPv4 | |
| accessIPv6 | |
| progress | 0 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-AZ:availability_zone | nova |
| config_drive | |
| status | BUILD |
| updated | 2013-12-02T14:16:52Z |
| hostId | |
| OS-EXT-SRV-ATTR:host | None |
| OS-SRV-USG:terminated_at | None |
| key_name | None |
| OS-EXT-SRV-ATTR:hypervisor_hostname | None |
| name | ISO test |
| adminPass | LdPac6MQaqcr |
| tenant_id | 2096e25f5e814882b5907bc5db342308 |
| created | 2013-12-02T14:16:52Z |
| os-extended-volumes:volumes_attached | [] |
| metadata | {} ...

Read more...

Revision history for this message
Ruediger Rissmann (ruediger.rissmann) wrote :

Here the libvirt.xml of the instance.
As you can see the device is set to "disk"
<disk type="network" device="disk">
If I change that to cdrom I can use virsh and create an instance from that.

Revision history for this message
Ruediger Rissmann (ruediger.rissmann) wrote :
Revision history for this message
Ruediger Rissmann (ruediger.rissmann) wrote :
Revision history for this message
Arminder Singh Girgla (arminder) wrote :

Any updates to this?

Revision history for this message
Ruediger Rissmann (ruediger.rissmann) wrote :

I am in the process of setting up a new environment. Ill check if boot from ISO is working there once it is up and running.

tags: added: libvirt
Changed in nova:
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
Kashyap Chamarthy (kashyapc) wrote :

[Triaging bugs here.]

Ruediger, did you get to setup a new environment to test the boot from ISO? If so, please post the observations here.

Revision history for this message
Sean Dague (sdague) wrote :

extremely old bug that says reporter will get back with info, but didn't

Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.