← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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 allow the bootindex=1 when creating vm from image with
a blank volume. Or we forbid this kind of parameter combination.

** Affects: nova
     Importance: Undecided
     Assignee: wanghao (wanghao749)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => wanghao (wanghao749)

-- 
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):
  New

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 allow the bootindex=1 when creating vm from image
  with a blank volume. Or we forbid this kind of parameter combination.

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


Follow ups

References