RFE: tripleo-validation should warn when parameters in env files are overridden by other env files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Invalid
|
Undecided
|
Unassigned |
Bug Description
If I deploy tripleo with multiple environment files that include the same default parameters with different values, the last one included wins. This can cause a surprise for the deployer. We should create a tripleo-validation which tests the included environment files for duplicate parameters/
For instance, if this is my deploy command-line:
openstack overcloud deploy --templates \
-e environments/
-e environments/
-e network-
-r roles_data.yaml \
--control-scale 1 \
--compute-scale 2 \
--control-flavor control \
--compute-flavor compute \
--ntp-server 10.1.24.11
Assume that the parameter_default for OS::TripleO:
It would be best if a warning were printed during deployment to assist with troubleshooting. The warning should happen whenever a parameter_default in one included environment file is overridden by another included environment file with a different value for the parameter.
Changed in tripleo: | |
status: | New → Triaged |
Those scale/flavour options are deprecated already, and there's a warning about them anyway. They should be dropped sooner or later.