Hostname compute service failure alarm removal

Bug #2004744 reported by Vanathi Selvaraju
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Vanathi Selvaraju

Bug Description

Brief Description
-----------------
Removal of a stale alarm (270.001 – hostname compute service failure).
270.001 is raised by vim and is an old reference to nova. events.yaml file has to be updated to remove this alarm definition.
Minor code changes to update the reference of alarm.
Documentation will need an update after the software changes are implemented.
Severity
--------
MINOR

Steps to Reproduce
------------------
Install a system and reference to event log for alarm 270.001 will be seen.
Expected Behavior
------------------
There should be no reference to event log for alarm 270.001 – Hostname compute service failure
Actual Behavior
----------------
Reference to alarm (270.001) event log is present.
Reproducibility
---------------
100%
System Configuration
--------------------
Any configuration (21.12 release onwards)
Last Pass
---------
Tested on 22.12(Starlingx Debian build)
Timestamp/Logs
--------------
Before the alarm removal(event log seen):platform.log:2023-01-19T17:36:27.117 localhost configassistant[92867] info /usr/local/bin/fm_db_sync_event_suppression.py:175 INFO [__main__] Created Event Type: 270.001 in event_suppression table.
After the alarm removal(event log not seen) :
sysadmin@controller-0:/var/log$ grep -i "270.001" platform.log
sysadmin@controller-0:/var/log$

Test Activity
-------------
Sanity, Developer Testing
Workaround
----------
NA

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nfv (master)

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

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nfv (master)

Change abandoned by "Vanathi Selvaraju <email address hidden>" on branch: master
Review: https://review.opendev.org/c/starlingx/nfv/+/872693
Reason: Duplicate review

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fault (master)

Reviewed: https://review.opendev.org/c/starlingx/fault/+/872603
Committed: https://opendev.org/starlingx/fault/commit/447ed111aea0e343d1bc0cf0b9a67ecfd5d8a5c2
Submitter: "Zuul (22348)"
Branch: master

commit 447ed111aea0e343d1bc0cf0b9a67ecfd5d8a5c2
Author: Vanathi.Selvaraju <email address hidden>
Date: Thu Feb 2 18:01:52 2023 -0500

    Host compute service failure alarm removal

    Removal of stale alarm 270.001(Host compute service failure)
    is raised by the vim. This might be an old reference to nova.
    It’s likely not in use since stx.

    Test Plan:
    PASS: Verify with a load without the changes (removal of alarm)
    and the event log in platform.log shows an entry for 270.001 alarm.
    PASS: Verify with a load with changes of alarm removal and
    the event log in platform.log does not show an entry for 270.001 alarm.

    Closes-Bug: 2004744

    Change-Id: I47a9f5cede2cfade4a16c63a2dc1bcfd563e88cf
    Signed-off-by: Vanathi.Selvaraju <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/872604
Committed: https://opendev.org/starlingx/config/commit/89c291cd39bb586ce80e2f3d5664f1212aec6a69
Submitter: "Zuul (22348)"
Branch: master

commit 89c291cd39bb586ce80e2f3d5664f1212aec6a69
Author: Vanathi.Selvaraju <email address hidden>
Date: Thu Feb 2 18:31:57 2023 -0500

    Host compute service failure alarm removal

    Removal of stale alarm 270.001(Host compute service failure)
    is raised by the vim. This might be an old reference to nova.
    It’s likely not in use since stx.

    Test Plan:
    PASS: Verify with a load without the changes (removal of alarm)
    and the event log in platform.log shows an entry for 270.001 alarm.
    PASS: Verify with a load with changes of alarm removal and
    the event log in platform.log does not show an entry for 270.001 alarm.

    Depends-On: https://review.opendev.org/c/starlingx/fault/+/872603

    Closes-Bug: 2004744

    Change-Id: I253741619b4f647d7900d3d263915768418d9846
    Signed-off-by: Vanathi.Selvaraju <email address hidden>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nfv (master)

Reviewed: https://review.opendev.org/c/starlingx/nfv/+/872605
Committed: https://opendev.org/starlingx/nfv/commit/65bbbe1f0d1f60135715038a6b24d52c698b2652
Submitter: "Zuul (22348)"
Branch: master

commit 65bbbe1f0d1f60135715038a6b24d52c698b2652
Author: Vanathi.Selvaraju <email address hidden>
Date: Thu Feb 2 18:34:15 2023 -0500

    Host compute service failure alarm removal

    Removal of stale alarm 270.001(Host compute service failure)
    is raised by the vim. This might be an old reference to nova.
    It’s likely not in use since stx.

    Test Plan:
    PASS: Verify with a load without the changes (removal of alarm)
    and the event log in platform.log shows an entry for 270.001 alarm.
    PASS: Verify with a load with changes of alarm removal and
    the event log in platform.log does not show an entry for 270.001 alarm.

    Depends-On: https://review.opendev.org/c/starlingx/fault/+/872603

    Closes-Bug: 2004744

    Change-Id: Icafb079fc2b58fb4126ac325804901ebd3f8f66e
    Signed-off-by: Vanathi.Selvaraju <email address hidden>

Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
assignee: nobody → Vanathi Selvaraju (vselvara)
tags: added: stx.9.0 stx.config stx.fault stx.nfv
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.