Bug 1393243

Summary: missing flavors from RHOS10 overcloud deployment
Product: Red Hat OpenStack Reporter: Ronnie Rasouli <rrasouli>
Component: openstack-tripleo-heat-templatesAssignee: Jiri Stransky <jstransk>
Status: CLOSED NOTABUG QA Contact: Arik Chernetsky <achernet>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: aschultz, dclarke, mburns, rhel-osp-director-maint, sgordon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-10 14:25:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1382278    
Bug Blocks:    

Description Ronnie Rasouli 2016-11-09 07:27:40 UTC
Description of problem:

RHOS10 overcloud is missing the default cloud flavors AKA, tiny, small, medium, large...

openstack flavor list

[stack@undercloud-0 ~]$ nova flavor-list
+----+------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+------+-----------+------+-----------+------+-------+-------------+-----------+
+----+------+-----------+------+-----------+------+-------+-------------+-----------+


Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-5.0.0-1.2.el7ost.noarch
rhosp-director-images-10.0-20161104.1.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. deploy overcloud RHOS10
2. source overcloudrc
3. openstack flavor list

Actual results:

List is empty

Expected results:

Default flavors to be created



Additional info:

Comment 2 Diana Clarke 2017-02-10 14:25:20 UTC
This is by design – Nova no longer creates default flavors.

- Remove flavor seeding from the base migration
- https://review.openstack.org/#/c/300127/

From the release notes:

"The default flavors that nova has previously had are no longer created as part of the first database migration. New deployments will need to create appropriate flavors before first use."

Additional context can be found in the following mailing list thread.

- [openstack-dev] [nova] FYI: Removing default flavors from nova
- http://lists.openstack.org/pipermail/openstack-dev/2016-April/091434.html

Comment 3 Stephen Gordon 2017-02-10 15:43:00 UTC
FYI there is an open RFE to optionally have TripleO create flavors in future, this is tracked as Bug# 1382278.

Comment 4 awaugama 2017-09-07 19:15:06 UTC
Closed without a fix therefore QE won't automate