hard coded platform release in ansible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Scott Little |
Bug Description
Brief Description
-----------------
The file cgcs-root/
...
supported_
- "19.12"
...
This can cause uninstallable loads if the platform release value is changed and a matching change is not sourced in the above file.
Ideally we should only have to change the platform release value in one place and all other files pick up the change at build time.
The single point of change should be the file cgcs-root/
PLATFORM_
One way to pick this up would be via sed substitution. e.g. file contains ...
...
supported_
- "<<PLATFORM_
...
and build performs the sed substitution like this ...
source $MY_REPO/
cat prototype_file | sed "s/<<PLATFORM_
Severity
--------
Critical: uninstallable
Steps to Reproduce
------------------
Change PLATFORM_RELEASE value in cgcs-root/
build
intall
Expected Behavior
------------------
install successfully
Actual Behavior
----------------
Install failes on mismatched PLATFORM_RELEASE value
Reproducibility
---------------
100%
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
CENGN build at time stamp 20191203T000000Z
Last Pass
---------
20191202T000000Z
Timestamp/Logs
--------------
20191203T000000Z
Test Activity
-------------
Install
Changed in starlingx: | |
status: | Triaged → Fix Released |
stx.4.0 / medium priority - this is more of an improvement to make release prep easier