← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1441990] Re: There is no bootable disk when create vm from image with bdm args.

 

As per Dan comments from the https://review.opendev.org/171984 this is
not a bug as the behavior could be useful in some cases.

** Changed in: nova
       Status: New => Invalid

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

Title:
  There is no bootable disk when create vm from image with bdm args.

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  Version of Nova in my Devstack :
  --------------------------------------------------------------------------------------
  commit c1e383ca55bee667ff6cfdaa35a213a61ea7ab3a
  Merge: 581ca4f e0a3d60
  Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
  Date:   Wed Mar 18 01:06:50 2015 +0000
  --------------------------------------------------------------------------------------

  When I create a vm from image and take the bdm args like this :

  nova boot --image 0c466b13-163c-4f2f-adfd-cde58d79b33c --flavor
  wanghaotype --nic net-id=b8708653-66e4-4f33-91a7-97eb0c65b54e --block-
  device source=blank,dest=volume,device=vdb,bootindex=0,size=1 wanghao

  It worke but the vm don't have bootable disk because the vm's xml only
  have this :

      <disk type='block' device='disk'>
        <driver name='qemu' type='raw' cache='none'/>
        <source dev='/dev/disk/by-path/ip-192.168.86.76:3260-iscsi-iqn.2010-10.org.openstack:volume-e264ca3b-a23a-4d51-9f27-0561c9fca75c-lun-1'/>
        <target dev='vdb' bus='virtio'/>
        <serial>e264ca3b-a23a-4d51-9f27-0561c9fca75c</serial>
        <alias name='virtio-disk1'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
      </disk>

  I think we should forbid this kind of parameter combination.

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


References