dcmanager subcloud errros command doesn´t show enough information
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Fabrizio Perez |
Bug Description
Brief Description
-----------------
dcmanager subcloud errors doesn´t show enough information.
root cause of strategy upgrade failure is easy to find reading logs but it doesn't appear in the output of the command.
Severity
--------
<Minor: System/Feature is usable with minor issue>
Steps to Reproduce
------------------
Install 21.12p12 load
deploy subcloud
perfom System Controller upgrade
create subcloud strategy upgrade
apply strategy
when data migration state start Induce a failure by modifying one of the data migration scripts under /etc/upgrade.d (50-validate-
wait for strategy upgrade to fail
run dcmanager subcloud errors command
Expected Behavior
------------------
dcmanager subcloud errors command show enough information to identify failure root cause
Actual Behavior
----------------
dcmanager subcloud errors doesn´t show enough information.
Reproducibility
---------------
<Reproducible 100%
System Configuration
-------
DC with SX subcloud
Branch/Pull Time/Commit
-------
Last Pass
---------
Timestamp/Logs
--------------
Test Activity
-------------
Feature Testing
Workaround
----------
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.9.0 stx.config stx.distcloud |
Changed in starlingx: | |
assignee: | nobody → Fabrizio Perez (fperezwindriver) |
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/897796 /opendev. org/starlingx/ config/ commit/ 975490c8b4ef4e2 d04c1c4f579afdd 439758845d
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 975490c8b4ef4e2 d04c1c4f579afdd 439758845d
Author: fperez <email address hidden>
Date: Tue Oct 10 09:11:08 2023 -0300
Add error information for subcloud upgrades
This commit includes additional information for the orchestrator during
the subcloud upgrade failure stage, specifically at the steps that run
migration scripts.
Test plan: controller_ simplex' command, forcing a
- PASS: Execute the 'upgrade_
failure in different migration scripts. Verify that the output message
contains sufficient execution information.
Closes-Bug: 2038950
Signed-off-by: fperez <email address hidden> 938517e1ef2e7a7 6443432f734
Change-Id: I9971f08e763856