Alarm ID 250.002 obsolete

Bug #2023663 reported by Mauricio Biasi do Monte Carmelo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Mauricio Biasi do Monte Carmelo

Bug Description

Brief Description
-----------------
Alarm 250.002 is deprecated an it is not used anymore.

Alarm ID: 250.002. Alarm message: "<hostname> Ceph cache tiering configuration is out-of-date".

Severity
--------
Minor

Expected Behavior
------------------
Alarm 250.002 usage is removed from StarlingX.

Actual Behavior
----------------
Alarm 250.002 is being used in unit tests.

Reproducibility
---------------
Alarm 250.002 is being used in unit tests when executing "tox -e py39" in directory ".stx/distributedcloud/distributedcloud":

.stx/distributedcloud/distributedcloud/dcmanager/tests/unit/orchestrator/states/kube/test_pre_check.py:CEPH_ALARM = FakeAlarm('250.002', 'False')

Branch/Pull Time/Commit
-----------------------
master

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

Workaround
----------

Changed in starlingx:
assignee: nobody → Mauricio Biasi do Monte Carmelo (mbiasido)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to distcloud (master)

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

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

Reviewed: https://review.opendev.org/c/starlingx/distcloud/+/886001
Committed: https://opendev.org/starlingx/distcloud/commit/79648a9695d66e219dc606db61ab71a20c09eff1
Submitter: "Zuul (22348)"
Branch: master

commit 79648a9695d66e219dc606db61ab71a20c09eff1
Author: Mauricio Carmelo <email address hidden>
Date: Tue Jun 13 09:12:00 2023 -0400

    Remove deprecated alarm 250.002 from unit tests

    Alarm 250.002 is deprecated. As alarm 250.002 is being
    used in an unit test, this review removes alarm 250.002
    from usage.

    Changed from alarm 250.002 to alarm 250.001. Both
    alarms have the same characterists:
        Severity: major
        Degraded Affecting Severity: none
        Management Affecticting Severity: warning

    Alarm ID: 250.002. Alarm message: "<hostname> Ceph cache
    tiering configuration is out-of-date"
    Alarm ID: 250.001. Alarm message: "<hostname> Configuration
    is out-of-date."

    Test Plan:
    Pass: Executed 'tox -e py39' and unit tests continued to pass

    Closes-Bug: 2023663

    Change-Id: I3d12799e7697172699beba46986764daa105433e
    Signed-off-by: Mauricio Carmelo <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.9.0 stx.distcloud stx.fault
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.