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 delegates to ComputeHCI nodes and uses /etc/ceph as the
config directory, ensuring proper execution context. It only runs
when ComputeHCI nodes are available and the cluster health is
degraded (HEALTH_WARN or HEALTH_ERR).
Update fail_mgr.yaml to intelligently handle ceph_config_home
based on execution context. When called from controller nodes
(like in mon.yaml), it uses ceph_config_tmp_client_home where
keyring files are available. When explicitly passed /etc/ceph or
executed on compute nodes, it uses that path. This ensures the
task works correctly in all execution contexts.
Signed-off-by: Roberto Alfieri <[email protected]>
0 commit comments