← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1148734] Re: boot with volume lacks disk serial number

 

** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1148734

Title:
  boot with volume lacks disk serial number

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  when an instance attach volume, the libvirt xml looks like:

  <disk type='block' device='disk'>
    <driver name='qemu' type='raw' cache='none'/>
    <source dev='/dev/disk/by-path/ip-192.168.1.1:3260-iscsi-iqn.2010-10.org.openstack:volume-bb0512b4-ce6c-46f6-bed9-c74704eba87a-lun-0'/>
    <target dev='vdd' bus='virtio'/>
    <serial>bb0512b4-ce6c-46f6-bed9-c74704eba87a</serial>
    <alias name='virtio-disk3'/>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  </disk>

  however, when an instance boot with volume, the libvirt xml lacks the
  'serial' element:

  <disk type='block' device='disk'>
    <driver name='qemu' type='raw' cache='none'/>
    <source dev='/dev/disk/by-path/ip-192.168.1.1:3260-iscsi-iqn.2010-10.org.openstack:volume-1a9ca4f2-0151-45c3-b0e7-196615bc6773-lun-0'/>
    <target dev='vdd' bus='virtio'/>
    <alias name='virtio-disk3'/>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  </disk>

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1148734/+subscriptions