← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1605569] [NEW] Whether the configuration ( disk_prefix ) effective

 

Public bug reported:

Test item:

pre:  nova.conf  disk_prefix set 
      disk_prefix = sd


command 1:
nova boot --flavor 1 --block-device source=volume,id=4fe4a694-e1bf-43e5-8d34-3fcd695f92e6,dest=volume,bootindex=0 --nic net-id=dde29d8e-2920-4a5c-8df8-ebb6de28266c vm1
virsh dumpxml:
<target dev='sda' bus='scsi'/>

command 2:
nova boot --flavor 1 --block-device source=volume,id=4fe4a694-e1bf-43e5-8d34-3fcd695f92e6,dest=volume,device=vda,bootindex=0 --nic net-id=dde29d8e-2920-4a5c-8df8-ebb6de28266c vm2
virsh dumpxml:
<target dev='vda' bus='virtio'/>

command 3:
nova boot --flavor 1 --block-device source=volume,id=4fe4a694-e1bf-43e5-8d34-3fcd695f92e6,dest=volume,bus=virtio,bootindex=0 --nic net-id=dde29d8e-2920-4a5c-8df8-ebb6de28266c vm3
virsh dumpxml:
<target dev='sda' bus='virtio'/>

in command3
sudo fdisk -l in Virtual machine:
Disk /dev/vda


I think the command3 is not normal. it should be <target dev='vda'
bus='virtio'/>

** Affects: nova
     Importance: Undecided
     Assignee: Ji.Wei (jiwei)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Ji.Wei (jiwei)

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

Title:
  Whether the configuration ( disk_prefix ) effective

Status in OpenStack Compute (nova):
  New

Bug description:
  Test item:

  pre:  nova.conf  disk_prefix set 
        disk_prefix = sd


  
  command 1:
  nova boot --flavor 1 --block-device source=volume,id=4fe4a694-e1bf-43e5-8d34-3fcd695f92e6,dest=volume,bootindex=0 --nic net-id=dde29d8e-2920-4a5c-8df8-ebb6de28266c vm1
  virsh dumpxml:
  <target dev='sda' bus='scsi'/>

  command 2:
  nova boot --flavor 1 --block-device source=volume,id=4fe4a694-e1bf-43e5-8d34-3fcd695f92e6,dest=volume,device=vda,bootindex=0 --nic net-id=dde29d8e-2920-4a5c-8df8-ebb6de28266c vm2
  virsh dumpxml:
  <target dev='vda' bus='virtio'/>

  command 3:
  nova boot --flavor 1 --block-device source=volume,id=4fe4a694-e1bf-43e5-8d34-3fcd695f92e6,dest=volume,bus=virtio,bootindex=0 --nic net-id=dde29d8e-2920-4a5c-8df8-ebb6de28266c vm3
  virsh dumpxml:
  <target dev='sda' bus='virtio'/>

  in command3
  sudo fdisk -l in Virtual machine:
  Disk /dev/vda


  I think the command3 is not normal. it should be <target dev='vda'
  bus='virtio'/>

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


Follow ups