Comment 5 for bug 1753394

Revision history for this message
yafeng (yafeng) wrote :

I tried to add image property hw_scsi_model=virtio-scsi, ID seems correct, but ipxe cannot boot from SAN device:
Boot from SAN device 0x81 failed: Exec format error(http://ipxe.org/2e852001)
Boot from SAN device 0x82 failed: Exec format error(http://ipxe.org/2e852001)

It seems ipxe cannot find the volume devices, because seabios only can detect the first device, ipxe image in this case?

    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none' discard='ignore'/>
      <source file='/mnt/nova/instances/89ed7307-68f6-4e20-8e5e-01ab5f11debe/disk'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
    </disk>
    <disk type='network' device='disk'>
      <driver name='qemu' type='raw' cache='none' discard='unmap'/>
      <auth username='cinder'>
        <secret type='ceph' uuid='6c373d85-665f-4fbf-8bb5-880181870709'/>
      </auth>
      <source protocol='rbd' name='volumes/volume-abf00165-6784-4ea0-aa08-d4fb90fbaa0e'>
        <host name='192.168.1.29' port='6789'/>
        <host name='192.168.1.30' port='6789'/>
        <host name='192.168.1.31' port='6789'/>
      </source>
      <target dev='sda' bus='scsi'/>
      <serial>abf00165-6784-4ea0-aa08-d4fb90fbaa0e</serial>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <disk type='network' device='disk'>
      <driver name='qemu' type='raw' cache='none' discard='unmap'/>
      <auth username='cinder'>
        <secret type='ceph' uuid='6c373d85-665f-4fbf-8bb5-880181870709'/>
      </auth>
      <source protocol='rbd' name='volumes/volume-91b742b2-1570-484e-abf7-2302c9c4beaf'>
        <host name='192.168.1.29' port='6789'/>
        <host name='192.168.1.30' port='6789'/>
        <host name='192.168.1.31' port='6789'/>
      </source>
      <target dev='sdb' bus='scsi'/>
      <serial>91b742b2-1570-484e-abf7-2302c9c4beaf</serial>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>