fix(oci): remove everything an OCI installation leaves, and name cluster events

This commit is contained in:
MacRimi
2026-09-28 22:31:00 +02:00
parent 4a5dd8a94e
commit 0ae601f5e7
18 changed files with 390 additions and 39 deletions
+1 -1
View File
@@ -6523,7 +6523,7 @@
},
"split_brain": {
"title": "{hostname}: Clusterereignis gemeldet",
"body": "Ein Clusterereignis wurde gemeldet. Prüfen Sie den Clusterstatus und das ursprüngliche Ereignis für weitere Informationen.",
"body": "Ein Clusterereignis wurde gemeldet:\n{reason}",
"label": "Clusterereignis"
},
"node_disconnect": {
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -6523,7 +6523,7 @@
},
"split_brain": {
"title": "{hostname}: evento del clúster notificado",
"body": "Se ha notificado un evento del clúster. Consulta el estado del clúster y el evento original para obtener más detalles.",
"body": "Se ha notificado un evento del clúster:\n{reason}",
"label": "Evento del clúster"
},
"node_disconnect": {
+1 -1
View File
@@ -6523,7 +6523,7 @@
},
"split_brain": {
"title": "{hostname} : événement du cluster signalé",
"body": "Un événement du cluster a été signalé. Vérifiez l’état du cluster et l’événement d’origine pour plus de détails.",
"body": "Un événement du cluster a été signalé :\n{reason}",
"label": "Événement du cluster"
},
"node_disconnect": {
+1 -1
View File
@@ -6523,7 +6523,7 @@
},
"split_brain": {
"title": "{hostname}: evento del cluster segnalato",
"body": "È stato segnalato un evento del cluster. Controlla lo stato del cluster e l'evento originale per maggiori dettagli.",
"body": "È stato segnalato un evento del cluster:\n{reason}",
"label": "Evento del cluster"
},
"node_disconnect": {
+1 -1
View File
@@ -6523,7 +6523,7 @@
},
"split_brain": {
"title": "{hostname}: evento do cluster comunicado",
"body": "Foi comunicado um evento do cluster. Verifique o estado do cluster e o evento original para obter mais detalhes.",
"body": "Foi comunicado um evento do cluster:\n{reason}",
"label": "Evento do cluster"
},
"node_disconnect": {
+1 -1
View File
@@ -6522,7 +6522,7 @@
},
"split_brain": {
"title": "{hostname}: hlásená udalosť klastra",
"body": "Bola hlásená udalosť klastra. Skontrolujte stav klastra a pôvodnú udalosť, kde nájdete ďalšie podrobnosti.",
"body": "Bola hlásená udalosť klastra:\n{reason}",
"label": "Udalosť klastra"
},
"node_disconnect": {
+1 -1
View File
@@ -6523,7 +6523,7 @@
},
"split_brain": {
"title": "{hostname}: klusterhändelse rapporterad",
"body": "En klusterhändelse har rapporterats. Kontrollera klusterstatus och den ursprungliga händelsen för mer information.",
"body": "En klusterhändelse har rapporterats:\n{reason}",
"label": "Klusterhändelse"
},
"node_disconnect": {
+3 -2
View File
@@ -4367,8 +4367,9 @@ class ProxmoxHookWatcher:
# "🔵 constructor: Problema del sistema detectado" / "+1 problema
# más del sistema (Problemas adicionales: - problema_del_sistema)"
# messages the operator sees on Telegram. Preserve the PVE payload
# as `reason` so both surfaces have concrete text to render.
if event_type == 'system_problem':
# as `reason` so both surfaces have concrete text to render. A cluster
# event (fencing) renders it too: the message is what happened.
if event_type in ('system_problem', 'split_brain'):
reason_text = (message or title or '').strip()
if reason_text:
data['reason'] = reason_text[:500]
+1 -1
View File
@@ -1218,7 +1218,7 @@ TEMPLATES = {
# ── Cluster events ──
'split_brain': {
'title': '{hostname}: Cluster event reported',
'body': 'A cluster event was reported. Review cluster status and the source event for details.',
'body': 'A cluster event was reported:\n{reason}',
'label': 'Cluster event',
'group': 'cluster',
'default_enabled': True,