HomeClusterLabs Projects

podman-etcd: Add cluster-wide force_new_cluster attribute checking

Description

podman-etcd: Add cluster-wide force_new_cluster attribute checking

Implement cluster-wide validation of force_new_cluster attribute to resolve
race conditions during automated cluster recovery. The enhancement ensures
agents check for the cluster-wide attribute before falling back to local
etcd revision comparison.

Key changes:

  • Enhanced get_force_new_cluster() to query all cluster nodes
  • Ensure force_new_cluster is not set in both nodes to prevent conflicting recovery attempts
  • Updated startup logic to prioritize cluster-wide attribute checking

fixes OCPBUGS-61117

Details

Provenance
clobranoAuthored on Sep 10 2025, 10:56 AM
Parents
rR0851b46864e6: Merge pull request #2062 from clobrano/ocpbugs-57456-tnf-podman-etcd-keep…
Branches
Unknown
Tags
Unknown