Bug 1486311

Summary: OSP11 -> OSP12 upgrade: custom roles_data file validator
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: rhosp-directorAssignee: mathieu bultel <mbultel>
Status: CLOSED EOL QA Contact: Marius Cornea <mcornea>
Severity: medium Docs Contact:
Priority: medium    
Version: 12.0 (Pike)CC: dbecker, mandreou, mbracho, mbultel, mburns, morazi, rhel-osp-director-maint, sclewis
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 12.0 (Pike)   
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: 2019-01-11 16:26:38 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:
Embargoed:

Description Marius Cornea 2017-08-29 12:52:20 UTC
Description of problem:
In OSP12 the roles in roles_data.yaml were assigned several new attributes:
https://github.com/openstack/tripleo-heat-templates/blob/master/roles_data.yaml#L152-L168

When upgrading composable roles deployments the roles data file needs to be manually adjusted to include all these new changes. Since there are quite a lot of such new attributes skipping one of them is very easy resulting in a potential failed upgrade. 

We need a validation tool that takes an adjusted roles_data file as an input and validates that it is OSP12 compatible and ready to be used during the upgrade process. 

Running this validation would become a mandatory step in the upgrade process of a composable roles deployment.

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-7.0.0-0.20170821194253.el7ost.noarch