Merge "Add alarm id for resources out of sync"

This commit is contained in:
Zuul 2023-05-05 21:07:46 +00:00 committed by Gerrit Code Review
commit d6d68db460
2 changed files with 22 additions and 0 deletions

View File

@ -51,6 +51,7 @@ ALARM_GROUP_GENERAL = "100"
ALARM_GROUP_MAINTENANCE = "200"
ALARM_GROUP_BACKUP_RESTORE = "210"
ALARM_GROUP_SYSCONFIG = "250"
ALARM_GROUP_DEPLOYMENT_MANAGER = "260"
ALARM_GROUP_HOST_SERVICES = "270"
ALARM_GROUP_HYPERVISOR = "275"
ALARM_GROUP_DISTRIBUTED_CLOUD = "280"
@ -112,6 +113,11 @@ FM_ALARM_ID_STORAGE_BACKEND_FAILED = ALARM_GROUP_STORAGE + ".104"
# Kubernetes Resource Alarms
FM_ALARM_ID_K8S_RESOURCE_PV = ALARM_GROUP_K8S + ".001"
# Deployment Manager Monitor alarm id
FM_ALARM_ID_UNRECONCILED_RESOURCE = ALARM_GROUP_DEPLOYMENT_MANAGER + ".001"
FM_ALARM_ID_UNSYNCHRONIZED_RESOURCE = ALARM_GROUP_DEPLOYMENT_MANAGER + ".002"
# Host-Services log id
FM_LOG_ID_HOST_SERVICES_FAILED = ALARM_GROUP_HOST_SERVICES + ".101"
FM_LOG_ID_HOST_SERVICES_ENABLED = ALARM_GROUP_HOST_SERVICES + ".102"

View File

@ -983,6 +983,22 @@
Degrade_Affecting_Severity: none
Context: starlingx
260.002:
Type: Alarm
Description: "Deployment Manager resource not synchronized: <name>"
Entity_Instance_ID: resource=<crd-resource>,name=<resource-name>
Severity: minor
Proposed_Repair_Action: Monitor and if condition persists, validate deployment configuration.
Maintenance_Action:
Inhibit_Alarms:
Alarm_Type: operational-violation
Probable_Cause: configuration-out-of-date
Service_Affecting: False
Suppression: True
Management_Affecting_Severity: warning
Degrade_Affecting_Severity: none
Context: starlingx
#---------------------------------------------------------------------------
# VM Compute Services
#---------------------------------------------------------------------------