[MultiOS][Yocto] fm alarm-list return Connection refused

Bug #1897685 reported by Jackie Huang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Committed
Low
Jackie Huang

Bug Description

Brief Description
-----------------
fm alarm-list return Connection refused

Severity
--------
<Major: System/Feature is usable but degraded>

Steps to Reproduce
------------------
1. build the image according to https://opendev.org/starlingx/meta-starlingx/src/branch/master/README.md
2. Install AIO simplex with the built out image
3. run ansiple playbootk and unclock
4. Check the system status after unlock and check fm alarm-list

Expected Behavior
------------------
fm alarm-list should return the list of alrams

Actual Behavior
----------------
fm alarm-list return Connection refused

[sysadmin@controller-0 ~(keystone_admin)]$ fm alarm-list
Error finding address for http://192.168.204.1:18002/v1/alarms: Unable to establish connection to http://192.168.204.1:18002/v1/alarms: HTTPConnectionPool(host='192.168.204.1', port=18002): Max retries exceeded with url: /v1/alarms (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2ffc40750>: Failed to establish a new connection: [Errno 111] Connection refused',))

Four services are in initial state:
controller-0:/var/log# sm-dump |grep initial
dnsmasq enabled-active initial
snmp enabled-active initial
ceph-manager enabled-active initial
haproxy enabled-active initial

Reproducibility
---------------
Reproducible

System Configuration
--------------------
One node system, AIO simplex

Branch/Pull Time/Commit
-----------------------
Branch: master
Time: Sep 25 2020
Commit: 595181564502bc04028132b3af68ff551b6cbe47

Last Pass
---------

Timestamp/Logs
--------------

Test Activity
-------------

Workaround
----------

Revision history for this message
Jackie Huang (jackie-huang) wrote :

Root cause: the init script files are missing:

2020-09-29T07:18:11.000 controller-0 sm: debug time[2441.387] log<131692> ERROR: sm[78078]: sm_service_action.c(707): Service (dnsmasq) plugin (/etc/init.d/dnsmasq) access failed, error=No such file or directory.
2020-09-29T07:02:52.000 controller-0 sm: debug time[1522.158] log<73560> ERROR: sm[78078]: sm_service_action.c(707): Service (haproxy) plugin (/etc/init.d/haproxy) access failed, error=No such file or directory.
2020-09-29T07:18:38.000 controller-0 sm: debug time[2468.195] log<133380> ERROR: sm[78078]: sm_service_action.c(707): Service (snmp) plugin (/etc/init.d/snmpd) access failed, error=No such file or directory.
2020-09-29T07:19:21.000 controller-0 sm: debug time[2511.213] log<136096> ERROR: sm[78078]: sm_service_action.c(707): Service (ceph-manager) plugin (/etc/init.d/ceph-manager) access failed, error=No such file or directory.

Changed in starlingx:
assignee: nobody → Jackie Huang (jackie-huang)
status: New → Confirmed
tags: added: stx.multios.yocto
Revision history for this message
Jackie Huang (jackie-huang) wrote :
Changed in starlingx:
status: Confirmed → In Progress
Revision history for this message
Jackie Huang (jackie-huang) wrote :
Changed in starlingx:
status: In Progress → Fix Committed
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Changed to low priority as there is no commitment to support yocto for stx.5.0. This appears to be prep work.

Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.5.0
Changed in starlingx:
importance: Medium → Low
tags: removed: stx.5.0
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.