The prepare_prestage_packages playbook needs to force fail after executing cleanup task
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Tee Ngo |
Bug Description
Brief Description
-----------------
A task to force fail after performing cleanup in rescue block was omitted in the commit https:/
Severity
--------
Major
Steps to Reproduce
------------------
Induce a failure in prestage-
Perform subcloud prestage by running the command: dcmanager subcloud prestage
Expected Behavior
------------------
The prepare-
Actual Behavior
----------------
The playbook failed and correct error messages were logged as expected. However, the return code was 0 (success) which caused dcmanager to proceed to the next phase and eventually fail for a different reason.
Reproducibility
---------------
100% reproducible
System Configuration
-------
Distributed Cloud
Branch/Pull Time/Commit
-------
March 1, 2022 master load
Last Pass
---------
First time testing this error case with dcmanager
Timestamp/Logs
--------------
N/A
Test Activity
-------------
Developer Testing
Workaround
----------
None
Changed in starlingx: | |
assignee: | nobody → Tee Ngo (teewrs) |
importance: | Undecided → Medium |
tags: | added: stx.7.0 stx.distcloud |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/831470
Review: https:/