From 45653becf470e88831fca5bf64406cd5dc688064 Mon Sep 17 00:00:00 2001 From: Vinicius Lopes da Silva Date: Tue, 7 Dec 2021 17:57:46 -0300 Subject: [PATCH] Remove unused constant Constant FM_ALARM_ID_STORAGE_CEPH_FREE_SPACE was being used only in legacy code by ceph-manager. The code was updated to remove this unused constant and its respective alarm. Test plan: PASS: Verify that no alarms are raised related to quotas. PASS: Confirm that no quota messages are present in the logs. Depends-On: https://review.opendev.org/c/starlingx/config/+/827545 Depends-On: https://review.opendev.org/c/starlingx/utilities/+/820933 Closes-Bug: 1959894 Signed-off-by: Daian Cardoso Sganderlla Change-Id: I606d0e6dca102189a26c8cd4d587a1e772e610f0 --- fm-api/source/fm_api/constants.py | 1 - fm-doc/fm_doc/events.yaml | 19 ------------------- 2 files changed, 20 deletions(-) diff --git a/fm-api/source/fm_api/constants.py b/fm-api/source/fm_api/constants.py index 5e143bc6..8cd5a536 100755 --- a/fm-api/source/fm_api/constants.py +++ b/fm-api/source/fm_api/constants.py @@ -103,7 +103,6 @@ FM_ALARM_ID_STORAGE_CEPH_CRITICAL = ALARM_GROUP_STORAGE + ".010" FM_ALARM_ID_STORAGE_CEPH_MAJOR = ALARM_GROUP_STORAGE + ".011" FM_ALARM_ID_STORAGE_CEPH = ALARM_GROUP_STORAGE + ".001" FM_ALARM_ID_STORAGE_IMAGE = ALARM_GROUP_STORAGE + ".002" -FM_ALARM_ID_STORAGE_CEPH_FREE_SPACE = ALARM_GROUP_STORAGE + ".003" FM_ALARM_ID_STORAGE_CINDER_IO_BUILDING = ALARM_GROUP_STORAGE + ".100" FM_ALARM_ID_STORAGE_CINDER_IO_LIMITING = ALARM_GROUP_STORAGE + ".101" # Alarm .103 is reserved for LVM thin pool metadata alarm diff --git a/fm-doc/fm_doc/events.yaml b/fm-doc/fm_doc/events.yaml index 1966bbb2..1c01a612 100755 --- a/fm-doc/fm_doc/events.yaml +++ b/fm-doc/fm_doc/events.yaml @@ -2953,25 +2953,6 @@ Management_Affecting_Severity: none Degrade_Affecting_Severity: none - -800.003: - Type: Alarm - Description: |- - Storage Alarm Condition: - Quota/Space mismatch for the tier. The sum of Ceph pool quotas does not match the tier size. - Entity_Instance_ID: cluster=.tier= - Severity: minor - Proposed_Repair_Action: "Update ceph storage pool quotas to use all available tier space." - Maintenance_Action: - Inhibit_Alarms: - Alarm_Type: operational-violation - Probable_Cause: configuration-out-of-date - Service_Affecting: False - Suppression: False - Management_Affecting_Severity: none - Degrade_Affecting_Severity: none - - 800.100: Type: Alarm Description: |-