Merge "Raise alarms for image-conversion"

This commit is contained in:
Zuul 2020-05-19 15:26:23 +00:00 committed by Gerrit Code Review
commit 4e263101b6
2 changed files with 21 additions and 0 deletions

View File

@ -36,6 +36,7 @@ FM_ENTITY_TYPE_ML2DRIVER = 'ml2driver'
FM_ENTITY_TYPE_PV = 'pv'
FM_ENTITY_TYPE_BGP_PEER = "bgp-peer"
FM_ENTITY_TYPE_STORAGE_BACKEND = 'storage_backend'
FM_ENTITY_TYPE_IMAGE_CONVERSION = 'fs_name'
FM_ENTITY_TYPE_SUBCLOUD = 'subcloud'
FM_ENTITY_TYPE_APPLICATION = 'k8s_application'
@ -63,6 +64,7 @@ ALARM_GROUP_SW_MGMT = "900"
# General Alarm id
FM_ALARM_ID_FS_USAGE = ALARM_GROUP_GENERAL + ".104"
FM_ALARM_ID_IMAGE_CONVERSION = ALARM_GROUP_GENERAL + ".105"
# Maintenance Log id
FM_LOG_ID_HOST_DISCOVERED = ALARM_GROUP_MAINTENANCE + ".020"

View File

@ -178,6 +178,25 @@
Management_Affecting_Severity: critical
Degrade_Affecting_Severity: critical
100.105:
Type: Alarm
Description: |-
Filesystem Alarm Condition:
<fs_name> filesystem is not added on both controllers and/or does not have the same size: <hostname>.
Entity_Instance_ID: fs_name=<image-conversion>
Severity: critical
Proposed_Repair_Action: "Add image-conversion filesystem on both controllers.
Consult the System Administration Manual for more details.
If problem persists, contact next level of support."
Maintenance_Action: degrade
Inhibit_Alarms:
Alarm_Type: equipment
Probable_Cause: configuration-or-customization-error
Service_Affecting: True
Suppression: False
Management_Affecting_Severity: major
Degrade_Affecting_Severity: none
#--------
# 100.105: Retired (with R2 release): previously monitored /etc/nova/instances
# NFS mount from controller to computes