[openstack-dev] [nova] FYI: Removing default flavors from nova

Fox, Kevin M Kevin.Fox at pnnl.gov
Wed Apr 6 16:29:00 UTC 2016

It feels kind of like a defcore issue though. Its harder for app developers to create stuff like heat templates intended for cross cloud that recommend a size, m1.small, without a common reference.

We keep making it hard for app developers to target openstack, so they don't join, and then don't complain about when openstack makes their life harder. we need to encourage ease of development on top of the platform.

From: Sean Dague [sean at dague.net]
Sent: Wednesday, April 06, 2016 3:47 AM
To: openstack-dev at lists.openstack.org
Subject: Re: [openstack-dev] [nova] FYI: Removing default flavors from nova

On 04/06/2016 04:19 AM, Sylvain Bauza wrote:
> Le 06/04/2016 06:44, Qiming Teng a écrit :
>> Not an expert of Nova but I am really shocked by such a change. Because
>> I'm not a Nova expert, I don't have a say on the *huge* efforts in
>> maintaining some builtin/default flavors. As a user I don't care where
>> the data have been stored, but I do care that they are gone. They are
>> gone because they **WILL** be supported by devstack. They are gone with
>> the workflow +1'ed **BEFORE** the devstack patch gets merged (many
>> thanks to the depends-on tag). They are gone in hope that all deployment
>> tools will know this when they fail, or fortunately they read this email,
>> or they were reviewing nova patches.
>> It would be a little nicer to initiate a discussion on the mailinglist
>> before such a change is introduced.
> It was communicated accordingly to operators with no strong arguments :
> http://lists.openstack.org/pipermail/openstack-operators/2016-March/010045.html

Not only with no strong arguments, but with a general - "yes please,
that simplifies our life".

> You can also see that https://review.openstack.org/#/c/300127/ is having
> three items :
>  - a DocImpact tag creating a Launchpad bug for documentation about that
>  - a reno file meaning that our release notes will provide also some
> comments about that
>  - a Depends-On tag (like you said) on a devstack change meaning that
> people using devstack won't see a modified behavior.
> Not sure what you need more.

The default flavors were originally hardcoded in Nova (in the initial
commit) -
 and moved into the db 5 years ago to be a copy of the EC2 flavors at
the time -
Those flavors were meant to be examples, not the final story.

All the public clouds delete these and do their own thing, as do I
expect many of the products. Any assumption that software or users have
that these will exist is a bad assumption.

It is a big change, which is why it's being communicated on Mailing
Lists in addition to in the release notes so that people have time to
make any of their tooling not assume these flavors by name will be
there, or to inject them yourself if you are sure you need them (as was
done in the devstack case).


Sean Dague

OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe

More information about the OpenStack-dev mailing list