Changes to stx-openstack application automatic re-apply behaviour

This commit adds a "pending application reapply" alarm to fm,
which will be raised when there has been a configuration change
to nodes that affects the helm overrides.

Partial-Bug: 1837750
Change-Id: Iec5852a798eee51dacbc5ea5016e4c20d85b668c
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
(cherry picked from commit 15463f2baa)
This commit is contained in:
Tyler Smith 2019-08-21 17:15:34 -04:00
parent e04d3ba002
commit 203c223c43
2 changed files with 16 additions and 0 deletions

View File

@ -152,6 +152,7 @@ FM_ALARM_ID_APPLICATION_APPLY_FAILED = ALARM_GROUP_APPLICATION + ".002"
FM_ALARM_ID_APPLICATION_REMOVE_FAILED = ALARM_GROUP_APPLICATION + ".003"
FM_ALARM_ID_APPLICATION_APPLYING = ALARM_GROUP_APPLICATION + ".004"
FM_ALARM_ID_APPLICATION_UPDATING = ALARM_GROUP_APPLICATION + ".005"
FM_ALARM_ID_APPLICATION_REAPPLY_PENDING = ALARM_GROUP_APPLICATION + ".006"
# VM log id
FM_LOG_ID_VM_ENABLED = ALARM_GROUP_VM + ".101"

View File

@ -2705,6 +2705,21 @@
Management_Affecting_Severity: warning
Degrade_Affecting_Severity: none
750.006:
Type: Alarm
Description: "Automatic Application Re-Apply Is Pending"
Entity_Instance_ID: k8s_application=<appname>
Severity: warning
Proposed_Repair_Action: "Ensure all hosts are either locked or unlocked. When the system is stable the application will be automatically reapplied."
Maintenance_Action:
Inhibit_Alarms:
Alarm_Type: other
Probable_Cause: unknown
Service_Affecting: False
Suppression: True
Management_Affecting_Severity: none
Degrade_Affecting_Severity: none
#---------------------------------------------------------------------------
# STORAGE
#---------------------------------------------------------------------------