You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ceph_migrate] trigger mgr failover when cluster health is degraded
Add a task in post.yaml to trigger Ceph manager failover when the
cluster health status is not HEALTH_OK. This helps recover from
degraded cluster states after migration operations.
The task installs the cephadm package on all ComputeHCI nodes and
then executes 'cephadm shell -- ceph mgr fail' on the first compute
node. This approach avoids container-based CLI complexity and uses
the native cephadm tool available on compute nodes where Ceph
daemons are running.
The task only runs when ComputeHCI nodes are available and the
cluster health is degraded (HEALTH_WARN or HEALTH_ERR).
Signed-off-by: Roberto Alfieri <[email protected]>
0 commit comments