Create deploy state out of sync alarm

This new alarm is raised when the controllers deploy
state is out of sync during the deployment.

Test Plan:

PASS: alarm raised when the deploy state is out of sync
PASS: alarm cleared when the deploy state is in sync

Task: 123456
Story: 2010676
Change-Id: Ibdcc54f02c9e156b2b78313b527cd273a62425f1
Signed-off-by: junfeng-li <junfeng.li@windriver.com>
This commit is contained in:
junfeng-li 2024-03-18 15:31:26 +00:00
parent df3fffe426
commit a66b06ffbe
2 changed files with 19 additions and 0 deletions

View File

@ -365,6 +365,8 @@ FM_LOG_ID_SW_UPGRADE_AUTO_APPLY_ABORT_REJECTED = ALARM_GROUP_SW_MGMT + ".219"
FM_LOG_ID_SW_UPGRADE_AUTO_APPLY_ABORT_FAILED = ALARM_GROUP_SW_MGMT + ".220"
FM_LOG_ID_SW_UPGRADE_AUTO_APPLY_ABORTED = ALARM_GROUP_SW_MGMT + ".221"
FM_ALARM_ID_SW_UPGRADE_DEPLOY_STATE_OUT_OF_SYNC = ALARM_GROUP_SW_MGMT + ".231"
FM_ALARM_ID_FW_UPDATE_AUTO_APPLY_INPROGRESS = ALARM_GROUP_SW_MGMT + ".301"
FM_ALARM_ID_FW_UPDATE_AUTO_APPLY_ABORTING = ALARM_GROUP_SW_MGMT + ".302"
FM_ALARM_ID_FW_UPDATE_AUTO_APPLY_FAILED = ALARM_GROUP_SW_MGMT + ".303"
@ -449,6 +451,7 @@ FM_ALARM_TYPE_7 = 'operational-violation'
FM_ALARM_TYPE_8 = 'physical-violation'
FM_ALARM_TYPE_9 = 'security-service-or-mechanism-violation'
FM_ALARM_TYPE_10 = 'time-domain-violation'
FM_ALARM_TYPE_11 = 'deployment in progress'
FM_ALARM_SEVERITY_CLEAR = 'clear'
FM_ALARM_SEVERITY_WARNING = 'warning'

View File

@ -3944,6 +3944,22 @@
Service_Affecting: False
Context: starlingx
900.231:
Type: Alarm
Description: Software deploy state out of sync
Entity_Instance_ID: orchestration=sw-upgrade
Severity: major
Proposed_Repair_Action:
Maintenance_Action: Wait for the deployment on the active controller to complete. If problem persists contact next level of support
Inhibit_Alarms:
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: True
Suppression: False
Management_Affecting_Severity: warning
Degrade_Affecting_Severity: none
Context: starlingx
900.301:
Type: Alarm
Description: Firmware Update auto-apply in progress