Repair monitor cluster upgrade without blocking K1 package configuration

This commit is contained in:
DCCONSTRUCTIONS
2026-09-08 10:44:27 +03:00
parent 6492ebcdee
commit 14f8375713
11 changed files with 160 additions and 21 deletions
+2 -2
View File
@@ -53,13 +53,13 @@ def watch(collector):
"+",
"_SYSTEMD_UNIT=mission-core-node-monitor.service",
"+",
"_SYSTEMD_UNIT=postgresql@16-ndc-monitor.service",
"_SYSTEMD_UNIT=postgresql@16-ndcmonitor.service",
]
for unit in (
"mission-core-node.service",
"mission-core-k1.service",
"mission-core-node-monitor.service",
"postgresql@16-ndc-monitor.service",
"postgresql@16-ndcmonitor.service",
):
args.extend(["+", "UNIT=" + unit])
while not collector.stop.is_set():
+1 -1
View File
@@ -296,7 +296,7 @@ class LinuxMetrics:
)
groups = self.paths("sys/fs/cgroup/system.slice/mission-core*.service")
groups += self.paths(
"sys/fs/cgroup/system.slice/system-postgresql.slice/postgresql@16-ndc-monitor.service"
"sys/fs/cgroup/system.slice/system-postgresql.slice/postgresql@16-ndcmonitor.service"
)
groups += self.paths(
"sys/fs/cgroup/user.slice/user-*.slice/user@*.service/app.slice/app-gnome-org.nodedc.MissionCoreNode-*.scope"