Bug 1891389 - collect-flavors-and-verify-profiles validation fails when Overcloud{{role.name}}Flavor is not explicitly defined in templates
Summary: collect-flavors-and-verify-profiles validation fails when Overcloud{{role.nam...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z3
: 16.1 (Train on RHEL 8.2)
Assignee: David Peacock
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks: 1893896
TreeView+ depends on / blocked
 
Reported: 2020-10-26 04:35 UTC by Takashi Kajinami
Modified: 2024-03-25 16:48 UTC (History)
5 users (show)

Fixed In Version: openstack-tripleo-validations-11.3.2-1.20200916153437.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 18:37:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1901472 0 None None None 2020-10-26 05:07:06 UTC
OpenStack gerrit 759607 0 None MERGED Use the default flavor name when flavor parameter is not defined 2021-02-18 12:28:36 UTC
Red Hat Product Errata RHEA-2020:5413 0 None None None 2020-12-15 18:37:38 UTC

Description Takashi Kajinami 2020-10-26 04:35:50 UTC
Description of problem:

collect-flavors-and-verify-profiles validation fails with the following message,

"msg": "Role 'Controller' is in use, but has no flavor assigned\nRole 'Compute' is in use, but has no flavor assigned\nRole..."

It seems that this validation requires that Overcloud{{role.name}}Flavor parameter is explicitly set.
However this flavor parameter is not required in tripleo-heat-templates, and the default flavor (baremetal or FlavorDefault defined in roles_data.yaml) is used if the parameter is not defined in deployment templates.
So we should implement the same logic to pick up the default value automatically, instead of requiring users add these parameters just for validation.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Deploy overcloud without Overcloud{{role.name}}Flavor
2. Run collect-flavors-and-verify-profiles validation

Actual results:
The validation fails with "Role '<role name>' is in use, but has no flavor assigned"

Expected results:
The validation does not fail with the above message

Additional info:

Comment 11 errata-xmlrpc 2020-12-15 18:37:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.1.3 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:5413


Note You need to log in before you can comment on or make changes to this bug.