Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mon: fix mon scaledown when mons are portable (backport #14106) #14132

Merged
merged 1 commit into from Apr 29, 2024

Commits on Apr 25, 2024

  1. mon: fix mon scaledown when mons are portable

    in case of portable mons, mon scaledown was skipped
    with below code
    ```
    if mon.NodeName == "" {
    			logger.Debugf("mon %q is not scheduled to a specific host", mon.DaemonName)
    			continue
    		}
    ```
    which skips mon removal if mon nodeName is empty
    but if mons are scale down in case of portable mons
    in that case also we want to remove extra mons to match
    the cephCluster configuration.
    
    Signed-off-by: subhamkrai <srai@redhat.com>
    (cherry picked from commit d23a843)
    subhamkrai authored and mergify[bot] committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    3af9523 View commit details
    Browse the repository at this point in the history