Version of Nova in my Devstack :
--------------------------------------------------------------------------------------
commit c1e383ca55bee667ff6cfdaa35a213a61ea7ab3a
Merge: 581ca4f e0a3d60
Author: Jenkins <email address hidden>
Date: Wed Mar 18 01:06:50 2015 +0000
--------------------------------------------------------------------------------------
When I create a vm from image and take the bdm args like this :
Version of Nova in my Devstack : ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -- 7ff6cfdaa35a213 a61ea7ab3a ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
-------
commit c1e383ca55bee66
Merge: 581ca4f e0a3d60
Author: Jenkins <email address hidden>
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-cde58d79b3 3c --flavor wanghaotype --nic net-id= b8708653- 66e4-4f33- 91a7-97eb0c65b5 4e --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'> disk/by- path/ip- 192.168. 86.76:3260- iscsi-iqn. 2010-10. org.openstack: volume- e264ca3b- a23a-4d51- 9f27-0561c9fca7 5c-lun- 1'/> serial> e264ca3b- a23a-4d51- 9f27-0561c9fca7 5c</serial> disk1'/ >
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/
<target dev='vdb' bus='virtio'/>
<
<alias name='virtio-
<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.