diff --git a/fm-api/source/fm_api/constants.py b/fm-api/source/fm_api/constants.py index 3317731b..5304c8fe 100755 --- a/fm-api/source/fm_api/constants.py +++ b/fm-api/source/fm_api/constants.py @@ -68,6 +68,8 @@ 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" +FM_ALARM_ID_CONTROLLERS_KERNEL_MISMATCH = ALARM_GROUP_GENERAL + ".120" +FM_ALARM_ID_PROVISIONED_KERNEL_MISMATCH = ALARM_GROUP_GENERAL + ".121" # Maintenance Log id FM_LOG_ID_HOST_DISCOVERED = ALARM_GROUP_MAINTENANCE + ".020" @@ -618,3 +620,13 @@ FM_SERVICE_AFFECTING_INDEX = 11 FM_SUPPRESSION_INDEX = 12 FM_INHIBIT_ALARMS_INDEX = 13 MAX_ALARM_ATTRIBUTES = 14 + +# Proposed Repair actions +FM_PRA_CONTROLLERS_KERNEL_MISMATCH = ("Modify controllers using " + "'system host-kernel-modify' " + "so that both are running the " + "desired 'standard' or " + "'lowlatency' kernel.") +FM_PRA_PROVISIONED_KERNEL_MISMATCH = ("Retry 'system host-kernel-modify' " + "and if condition persists, " + "contact next level of support.") diff --git a/fm-doc/fm_doc/events.yaml b/fm-doc/fm_doc/events.yaml index 0d2ee062..655d3998 100755 --- a/fm-doc/fm_doc/events.yaml +++ b/fm-doc/fm_doc/events.yaml @@ -493,6 +493,38 @@ Degrade_Affecting_Severity: none Context: starlingx +100.120: + Type: Alarm + Description: Controllers running mismatched kernels. + Entity_Instance_ID: host=.kernel= + Severity: minor + Proposed_Repair_Action: "Modify controllers using 'system host-kernel-modify' so that both are running the desired 'standard' or 'lowlatency' kernel." + Maintenance_Action: none + Inhibit_Alarms: False + Alarm_Type: equipment + Probable_Cause: unspecified-reason + Service_Affecting: False + Suppression: False + Management_Affecting_Severity: none + Degrade_Affecting_Severity: none + Context: starlingx + +100.121: + Type: Alarm + Description: Host not running the provisioned kernel. + Entity_Instance_ID: host=.kernel= + Severity: major + Proposed_Repair_Action: "Retry 'system host-kernel-modify' and if condition persists, contact next level of support." + Maintenance_Action: none + Inhibit_Alarms: False + Alarm_Type: equipment + Probable_Cause: unspecified-reason + Service_Affecting: False + Suppression: False + Management_Affecting_Severity: major + Degrade_Affecting_Severity: none + Context: starlingx + 100.150: Type: Alarm Description: diff --git a/fm-rest-api/fm/fm/policy.yaml b/fm-rest-api/fm/fm/policy.yaml index 510f9246..074a4244 100644 --- a/fm-rest-api/fm/fm/policy.yaml +++ b/fm-rest-api/fm/fm/policy.yaml @@ -13,4 +13,3 @@ # fm_api:event_suppression:get: role:reader # fm_api:event_suppression:modify: rule:admin_in_system_projects -