Add SM logging when a controller is not able to go-enabled

Bug #1832264 reported by Bin Qian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Bin Qian

Bug Description

Brief Description
-----------------
SM does not provide detail logging on which condition causes a controller is not being able to go-enabled. Adding a piece of log so to help troubleshooting.

Severity
--------
Minor: This change does not affect any functionality or user experience

Steps to Reproduce
------------------
Provision a controller (e.g, simplex), ensure failure of a go-enabled test. The node will be disabled. However /var/log/sm.log does not provide indication of the reason why the node is disabled.

Expected Behavior
------------------
It will be nice (for a designer) to see a log giving the indication why the node has failed/not go-enabled. This may be helpful when a log analysis is required (i.e, a lab is not directly accessible).

Actual Behavior
----------------
As described, there isn't any logging info for that.

Reproducibility
---------------
Always reproducible.

Tags: stx.ha
Bin Qian (bqian20)
Changed in starlingx:
assignee: nobody → Bin Qian (bqian20)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ha (master)

Fix proposed to branch: master
Review: https://review.opendev.org/664601

Changed in starlingx:
status: New → In Progress
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Low priority; would be nice to help with debugging, but does not gate any stx release

Changed in starlingx:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ha (master)

Reviewed: https://review.opendev.org/664601
Committed: https://git.openstack.org/cgit/starlingx/ha/commit/?id=3669405b628fdf0f8375f885eb962fb7f5f4c4f9
Submitter: Zuul
Branch: master

commit 3669405b628fdf0f8375f885eb962fb7f5f4c4f9
Author: Bin Qian <email address hidden>
Date: Mon Jun 10 16:15:32 2019 -0400

    Adding node disabled log info

    Add logging message to sm.log to indicate the reason why a controller
    cannot successfully go-enabled.

    Closes-Bug: 1832264
    Change-Id: I15a453b06869a157aecc6ba487889f9ae7d56e0b
    Signed-off-by: Bin Qian <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
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.