--image and --volume shouldn't be required if block-device-mapping is provided
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Low
|
Unassigned |
Bug Description
Hi,
I'm trying to update shell scripts that use nova/neutron/cinder to use only the 'openstack' cli.
The nova command I try to convert is (note the instance have only mapped block devices ):
nova boot --poll --flavor tiny --block-device source=
In:
openstack server create --wait --nic port-id=
I have some issues:
* I cannot provide the 'shutdown=' option
* I cannot set the device type (ie: volume or snapshot)
* I got the following error message: openstack server create: error: one of the arguments --image --volume is required
Only the last one really blocks me.
The code seems doing wrong assumptions here: https:/
And perhaps block-device-
Cheers,
Changed in python-openstackclient: | |
assignee: | nobody → Aakash Soni (aakash-soni0308) |
information type: | Public → Public Security |
information type: | Public Security → Public |
The server create --block- device- mapping probably does need to be updated, Nova has made some changes around here since this was written. Apparently though you are attempting to boot from a volume? Then --volume is required. What we need to work out is passing in the rest of the options to go with the volume.