hbsAgent cluster delete swerr log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Eric MacDonald |
Bug Description
Brief Description
-----------------
The mtcAgent does not track the stopped or started heartbeat state of a host, that is left to the heartbeat service itself in response to the mtcAgent commanding heartbeat start and stop based on current running state.
Therefore heartbeat stop command is sometimes called against a host that is already in the stopped state.
The stop command results in a call to delete a host from the heartbeat cluster (hbs_cluster_del) which can result in this Swerr (Software Error) log if its not already in the cluster ; i.e. already in the heartbeat stop state.
The product should not have success path Swerr logs.
Severity
--------
Minor ; no customer impact
Steps to Reproduce
------------------
Stop heartbeat of a host
Expected Behavior
------------------
No success path Swerr logs
Actual Behavior
----------------
Success path Swerr log
Reproducibility
---------------
Reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
stx 4.0
Last Pass
---------
N/A
Timestamp/Logs
--------------
<date> [96280.03388] <hostname> hbsAgent hbs hbsCluster.cpp ( 367) hbs_cluster_del :Swerr : compute-0 not found in cluster list
Test Activity
-------------
Developer Testing
Workaround
----------
None ; not required
summary: |
- Remove swerr log in hbsAgent cluster delete + swerr log in hbsAgent cluster delete |
summary: |
- swerr log in hbsAgent cluster delete + hbsAgent cluster delete swerr log |
Changed in starlingx: | |
importance: | Undecided → Low |
assignee: | nobody → Eric MacDonald (rocksolidmtce) |
tags: | added: stx.metal |
Fix proposed to branch: master /review. opendev. org/c/starlingx /metal/ +/796324
Review: https:/