Once Active controller is locked "fm alarm-list" cli command doesnt displayed the "controller locked" alarm.

Bug #1848094 reported by Fernando Hernandez Gonzalez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Ran An

Bug Description

Title
-----
Once Active controller is locked "fm alarm-list" cli command doesn't displayed the "controller locked" alarm.

Brief Description
-----------------
Once you locked the Active Controller from horizon, the "fm alarm-list" cli command doesn't show the "locked controller" alarm.

Severity
--------
Major

Steps to Reproduce
------------------
1- Open Browser and login horizon.
2- Lock Active controller from horizon.
3- Type "fm alarm-list" cli command and verify controller locked alarm should be displayed.

Expected Behavior
------------------
There should be a controller locked alarm displayed when "fm alarm-list" is executed in terminal.

Reproducible
---------------
Always

System Configuration
--------------------
2 + 2 system (kubernetes)

Branch/Pull Time/Commit
-----------------------
cat /etc/build.info
OS="centos"
SW_VERSION="19.09"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID="20191011T013000Z"
JOB="STX_build_master_master"
<email address hidden>"
BUILD_NUMBER="278"
BUILD_HOST="starlingx_mirror"
BUILD_DATE="2019-10-11 01:30:00 +0000"

Timestamp/Logs
--------------
See attached images.

Revision history for this message
Fernando Hernandez Gonzalez (fhernan2) wrote :
Revision history for this message
Fernando Hernandez Gonzalez (fhernan2) wrote :
Revision history for this message
Fernando Hernandez Gonzalez (fhernan2) wrote :
Revision history for this message
Fernando Hernandez Gonzalez (fhernan2) wrote :
tags: added: stx.regression
tags: added: stx.m
tags: added: stx.metal
removed: stx.m
Revision history for this message
Ghada Khalil (gkhalil) wrote :

This maybe related to the fm containerization feature. Can you clarify which openrc you sourced before running the command: /etc/platform/openrc or an openrc pointing to the containerized fm?

Changed in starlingx:
status: New → Incomplete
assignee: nobody → Ran An (an.ran)
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Assigning to the developer prime for the fm containerization feature to review

Revision history for this message
Fernando Hernandez Gonzalez (fhernan2) wrote :

I did use /etc/platform/openrc.

Revision history for this message
Fernando Hernandez Gonzalez (fhernan2) wrote :

Checking the status I can see it as Incomplete, please provide me with the infor missing so I can collect.

Revision history for this message
Ghada Khalil (gkhalil) wrote :

The requested information is included in my comment #5 above. Now that you provided the info, I've put the status to Triaged

Changed in starlingx:
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Ran An (an.ran) wrote :

Hi Fernando, I can not reproduce this issue with the same iso build by cengn.

1. where are you running your system, bare metal or virtual?

2. just for verify: according to the screenshots you are trying to lock "Standby" controller not "Active" controller, could you confirm which node you were trying to lock by Horizon?

Revision history for this message
Fernando Hernandez Gonzalez (fhernan2) wrote :

Hi Ran, Answers:
1. It was ran in BareMetal.
2. I tried to lock a "Standby" controller going through horizon.

Latest comments:
I did lock the controller in latest build and is working I am closing the issue.
[sysadmin@controller-0 ~(keystone_admin)]$ cat /etc/build.info
###
### StarlingX
### Built from master
###

OS="centos"
SW_VERSION="19.09"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID="20191018T013000Z"

JOB="STX_build_master_master"
<email address hidden>"
BUILD_NUMBER="285"
BUILD_HOST="starlingx_mirror"
BUILD_DATE="2019-10-18 01:30:00 +0000"

Please look at the attached images.

Revision history for this message
Fernando Hernandez Gonzalez (fhernan2) wrote :
Revision history for this message
Fernando Hernandez Gonzalez (fhernan2) wrote :
Revision history for this message
Fernando Hernandez Gonzalez (fhernan2) wrote :
Revision history for this message
Fernando Hernandez Gonzalez (fhernan2) wrote :
Changed in starlingx:
status: Triaged → 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.