← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1443796] [NEW] Missing dest type in block_device_mapping_v2

 

Public bug reported:

when i use the command like follows to create vm
nova boot --image 66c6aa5a-ce65-40ca-b0fc-1af18b2f744d --flavor m1.tiny --nic net-id=05233983-9bf6-4ab3-bc82-687d6ab9204d --block-device source=blank,device=vdb,bootindex=1,size=1 cirros

After the vm start, virsh dumpxml vm
i can only found one disk attached to the vm

    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source file='/opt/stack/data/nova/instances/bf7e6006-393e-4e8c-91d3-a28eee965f79/disk'/>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw' cache='none'/>
      <source file='/opt/stack/data/nova/instances/bf7e6006-393e-4e8c-91d3-a28eee965f79/disk.config'/>
      <target dev='hdd' bus='ide'/>
      <readonly/>
      <alias name='ide0-1-1'/>
      <address type='drive' controller='0' bus='1' target='0' unit='1'/>
    </disk>
    <controller type='usb' index='0'>
      <alias name='usb0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <controller type='ide' index='0'>
      <alias name='ide0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>

In my view, we need to check the if the dest exsit in
block_device_mappint_v2

** Affects: nova
     Importance: Undecided
     Assignee: zhangjialong (zhangjl)
         Status: New


** Tags: bdm dest missing

** Changed in: nova
     Assignee: (unassigned) => zhangjialong (zhangjl)

-- 
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/1443796

Title:
  Missing dest type in block_device_mapping_v2

Status in OpenStack Compute (Nova):
  New

Bug description:
  when i use the command like follows to create vm
  nova boot --image 66c6aa5a-ce65-40ca-b0fc-1af18b2f744d --flavor m1.tiny --nic net-id=05233983-9bf6-4ab3-bc82-687d6ab9204d --block-device source=blank,device=vdb,bootindex=1,size=1 cirros

  After the vm start, virsh dumpxml vm
  i can only found one disk attached to the vm

      <disk type='file' device='disk'>
        <driver name='qemu' type='qcow2' cache='none'/>
        <source file='/opt/stack/data/nova/instances/bf7e6006-393e-4e8c-91d3-a28eee965f79/disk'/>
        <target dev='vda' bus='virtio'/>
        <alias name='virtio-disk0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
      </disk>
      <disk type='file' device='cdrom'>
        <driver name='qemu' type='raw' cache='none'/>
        <source file='/opt/stack/data/nova/instances/bf7e6006-393e-4e8c-91d3-a28eee965f79/disk.config'/>
        <target dev='hdd' bus='ide'/>
        <readonly/>
        <alias name='ide0-1-1'/>
        <address type='drive' controller='0' bus='1' target='0' unit='1'/>
      </disk>
      <controller type='usb' index='0'>
        <alias name='usb0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
      </controller>
      <controller type='pci' index='0' model='pci-root'>
        <alias name='pci.0'/>
      </controller>
      <controller type='ide' index='0'>
        <alias name='ide0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
      </controller>

  In my view, we need to check the if the dest exsit in
  block_device_mappint_v2

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


Follow ups

References