system health-query has malformed output

Bug #2012415 reported by Karla Felix
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Karla Felix

Bug Description

Brief Description

Run "system health-query"

[sysadmin@controller-0 ~(keystone_admin)]$ system health-query
System Health:
All hosts are provisioned: [OK]
All hosts are unlocked/enabled: [OK]
All hosts have current configurations: [OK]
All hosts are patch current: [OK]
Ceph Storage Healthy: [OK]
No alarms: [Fail]
[1] alarms found, [1] of which are management affecting and [0] are certificate expiration alarms. Use "fm alarm-list" for detailsAll kubernetes nodes are ready: [OK]
All kubernetes control plane pods are ready: [OK]

Severity

Minor, could be more severe depending on how it's parsed elsewhere.

Steps to Reproduce

Run system health-query

Expected Behavior

New lines for each item

Actual Behavior

Missing a new line

Reproducibility

100%

System Configuration

Any

Load info (eg: 2022-03-10_20-00-07)

SW_VERSION="22.12"
BUILD_TARGET="Unknown"
BUILD_TYPE="Informal"
BUILD_ID="n/a"

JOB="n/a"
BUILD_NUMBER="n/a"
BUILD_DATE="2022-11-17 21:27:02 +0000"

Last Pass

https://opendev.org/starlingx/config/commit/a26b4b40501d517eb1aeebc7d0af6cc13623fe94

Timestamp/Logs

N/A

Alarms

Any

Test Activity

Normal Use

Workaround

N/A

Karla Felix (kkarolin)
Changed in starlingx:
assignee: nobody → Karla Felix (kkarolin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/config/+/878133

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/+/878133
Committed: https://opendev.org/starlingx/config/commit/9d6e013484f87215a541bb8da963f56012b1e834
Submitter: "Zuul (22348)"
Branch: master

commit 9d6e013484f87215a541bb8da963f56012b1e834
Author: Karla Felix <email address hidden>
Date: Tue Mar 21 13:03:31 2023 -0300

    Fix malformed output in system health-query

    system-health-query has a malformed output after "Use "fm alarm-list"
    for more details.". To fix that this commit is adding a new line after
    the phrase.

    This is bug is introduced by Story 2009303 task 47478 in :
    https://review.opendev.org/c/starlingx/config/+/874097

    Test Plan:

    PASS: Run "health-query-upgrade" and verify if there is a new line after
          "Use "fm alarm-list" for more details.".

    Closes-Bug: 2012415
    Signed-off-by: Karla Felix <email address hidden>
    Change-Id: I4cc82d31096c4728875d2bf7e6d28143e4872806

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.9.0 stx.config
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.