Ask Your Question

Create nova flavors without disk

asked 2015-11-16 03:15:04 -0500

Daniel Bellantuono gravatar image

updated 2015-11-19 09:07:46 -0500

Hi Guys, How can i create a flavor without any disk in local storage, i didn't found anything in documentation I need to permit only boot from volume from a specific flavors.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-11-19 09:07:12 -0500

Daniel Bellantuono gravatar image

Ok, I think to found a workaround. If the disk size of flavor is "-1", Nova allows only a boot from volume.

edit flag offensive delete link more

answered 2015-11-16 05:58:33 -0500

capsali gravatar image

We changed glance policy to enable only admin to boot from images! Anyone other role it's restricted to boot from images and can only boot from volume!

edit flag offensive delete link more


If there are only "boot from volume" flavors this workaround seems ok. But in my case i need to have two type of flavor, 1 for "boot from images" and 1 for "boot from volume"

Daniel Bellantuono gravatar imageDaniel Bellantuono ( 2015-11-16 06:19:20 -0500 )edit

i have made a mistake! There is no policy that prevents a user to launch an instance from image. We simply created a new role and denied it access to glance so he cant list images, nor upload new ones!

capsali gravatar imagecapsali ( 2015-11-16 06:39:46 -0500 )edit

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

1 follower


Asked: 2015-11-16 03:15:04 -0500

Seen: 53 times

Last updated: Nov 19 '15