Apply of stx-openstack application fails if unknown image ever specified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Angie Wang |
Bug Description
Title
-----
Apply of stx-openstack application fails if incorrect image ever specified
Brief Description
-----------------
If the user ever specifies an incorrect image name in helm chart override, the stx-openstack application apply will fail (expected). However, from that point on, apply will always fail - there is no way to recover from this issue without editing system files by hand.
The problem is caused because the incorrect image is added to the download_images section of the /opt/platform/
Severity
--------
Critical: System/Feature is not usable after the defect
Steps to Reproduce
------------------
Specify an image that does not exist in a helm chart override. For example:
system helm-override-
Apply the stx-openstack application (this will fail as expected):
system application-apply stx-openstack
Delete the override:
system helm-override-
Apply the stx-openstack application (this will fail when trying to download the image):
system application-apply stx-openstack
Expected Behavior
------------------
After the override is deleted, the stx-openstack application apply should be successful.
Actual Behavior
----------------
The stx-openstack application can no longer be applied.
Reproducibility
---------------
Reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
SW_VERSION="19.01"
BUILD_TARGET=
BUILD_TYPE=
BUILD_ID="n/a"
JOB="n/a"
BUILD_BY="bwensley"
BUILD_NUMBER="n/a"
BUILD_HOST=
BUILD_DATE=
BUILD_DIR="/"
WRS_SRC_
WRS_GIT_
CGCS_SRC_
CGCS_GIT_
Timestamp/Logs
--------------
Logs are not required as the problem is easy to reproduce.
tags: |
added: stx.2.0 removed: stx.2019.05 |
Marking as release gating; system cannot be recovered from this error without a manual workaround.