Add alarm for Restore in progress
Currently, there is no alarm for Restore in progress. Because of this, the system is shown as healthy, before restore has been completed. This new alarm will prevent the system from being healthy until restore has properly been completed. TEST PLAN PASS: On any available system, the following commands can be triggered at anytime: * Run "system restore-start" to trigger alarm * Run "system restore-complete" to clear alarm Story: 2010117 Task: 47689 Signed-off-by: Joshua Kraitberg <joshua.kraitberg@windriver.com> Change-Id: I292b5c8083c08b68ac757fe5a650989178eb819f
This commit is contained in:
parent
e5a8ba7ff4
commit
3b430eb604
@ -83,6 +83,7 @@ FM_ALARM_ID_CEPH_CACHE_TIER_CONFIG_OUT_OF_DATE = ALARM_GROUP_SYSCONFIG + ".002"
|
|||||||
|
|
||||||
# Backup/Restore Alarm id
|
# Backup/Restore Alarm id
|
||||||
FM_ALARM_ID_BACKUP_IN_PROGRESS = ALARM_GROUP_BACKUP_RESTORE + ".001"
|
FM_ALARM_ID_BACKUP_IN_PROGRESS = ALARM_GROUP_BACKUP_RESTORE + ".001"
|
||||||
|
FM_ALARM_ID_RESTORE_IN_PROGRESS = ALARM_GROUP_BACKUP_RESTORE + ".002"
|
||||||
|
|
||||||
# Backup/Restore Log id
|
# Backup/Restore Log id
|
||||||
FM_LOG_ID_RESTORE_COMPLETE = ALARM_GROUP_BACKUP_RESTORE + ".101"
|
FM_LOG_ID_RESTORE_COMPLETE = ALARM_GROUP_BACKUP_RESTORE + ".101"
|
||||||
|
@ -892,6 +892,22 @@
|
|||||||
Degrade_Affecting_Severity: none
|
Degrade_Affecting_Severity: none
|
||||||
Context: starlingx
|
Context: starlingx
|
||||||
|
|
||||||
|
210.002:
|
||||||
|
Type: Alarm
|
||||||
|
Description: System Restore in progress.
|
||||||
|
Entity_Instance_ID: host=controller
|
||||||
|
Severity: minor
|
||||||
|
Proposed_Repair_Action: Run 'system restore-complete' to complete restore if running restore manually.
|
||||||
|
Maintenance_Action:
|
||||||
|
Inhibit_Alarms:
|
||||||
|
Alarm_Type: operational-violation
|
||||||
|
Probable_Cause: unspecified-reason
|
||||||
|
Service_Affecting: False
|
||||||
|
Suppression: False
|
||||||
|
Management_Affecting_Severity: warning
|
||||||
|
Degrade_Affecting_Severity: none
|
||||||
|
Context: starlingx
|
||||||
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
# SYSTEM CONFIGURATION
|
# SYSTEM CONFIGURATION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user