Ask Your Question

nova boot from image with block-device and volume type

asked 2016-02-25 07:38:50 -0500

matansab gravatar image

updated 2016-02-25 07:44:24 -0500


Please take a look at the following command:

nova boot --flavor m1.large --block-device source=image,id=5524dc31-fabe-47b5-95e7-53d915034272,dest=volume,size=24,shutdown=remove,bootindex=0 MyThing --nic net-id=087a89bf-b864-4208-9ac3-c638bb1ad1cc

It is booting an instance from an image and also creating a volume from Cinder. is there any way I can define the Volume Type of the volume?

If not, how does it know what volume type to choose?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-04-18 09:23:04 -0500

Vinayak gravatar image

you can use --volume-type option while creating the volume similarly, during nova boot, you can specify the volume type using vda=<volume-id>:<volume-type>:<volume-size>

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2016-02-25 07:38:50 -0500

Seen: 1,090 times

Last updated: Feb 25 '16