[pve-devel] [PATCH cluster v3 1/1] cfs: add 'ha/rules.cfg' to observed files

Daniel Kral d.kral at proxmox.com
Fri Jul 4 20:16:40 CEST 2025


Signed-off-by: Daniel Kral <d.kral at proxmox.com>
---
 src/PVE/Cluster.pm  | 1 +
 src/pmxcfs/status.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/PVE/Cluster.pm b/src/PVE/Cluster.pm
index 3b1de57..9ec4f66 100644
--- a/src/PVE/Cluster.pm
+++ b/src/PVE/Cluster.pm
@@ -69,6 +69,7 @@ my $observed = {
     'ha/crm_commands' => 1,
     'ha/manager_status' => 1,
     'ha/resources.cfg' => 1,
+    'ha/rules.cfg' => 1,
     'ha/groups.cfg' => 1,
     'ha/fence.cfg' => 1,
     'status.cfg' => 1,
diff --git a/src/pmxcfs/status.c b/src/pmxcfs/status.c
index 0895e53..38316b4 100644
--- a/src/pmxcfs/status.c
+++ b/src/pmxcfs/status.c
@@ -97,6 +97,7 @@ static memdb_change_t memdb_change_array[] = {
     {.path = "ha/crm_commands"},
     {.path = "ha/manager_status"},
     {.path = "ha/resources.cfg"},
+    {.path = "ha/rules.cfg"},
     {.path = "ha/groups.cfg"},
     {.path = "ha/fence.cfg"},
     {.path = "status.cfg"},
-- 
2.39.5





More information about the pve-devel mailing list