dcmanager subcloud errros command doesn´t show enough information

Bug #2038950 reported by Fabrizio Perez
6
This bug affects 1 person
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-oidc-auth-apps.py) to force failure
    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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/897796
Committed: https://opendev.org/starlingx/config/commit/975490c8b4ef4e2d04c1c4f579afdd439758845d
Submitter: "Zuul (22348)"
Branch: master

commit 975490c8b4ef4e2d04c1c4f579afdd439758845d
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:
    - PASS: Execute the 'upgrade_controller_simplex' command, forcing a
    failure in different migration scripts. Verify that the output message
    contains sufficient execution information.

    Closes-Bug: 2038950

    Signed-off-by: fperez <email address hidden>
    Change-Id: I9971f08e763856938517e1ef2e7a76443432f734

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.9.0 stx.config stx.distcloud
Changed in starlingx:
assignee: nobody → Fabrizio Perez (fperezwindriver)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.