Ask Your Question
1

nova boot from image with block-device and volume type

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

matansab gravatar image

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

Hi,

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?

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

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

Seen: 849 times

Last updated: Feb 25 '16