[Ceph] set-require-min-compat-client to luminous

comfreak

Well-Known Member
May 20, 2020
46
13
48
36
Is there any reason not to do so? Currently the require-min-compat-client is set to jewel. I am using Ceph with Proxmox in a pretty default configuration and just wondered, why it is not set automaticly to a higher level when upgraded? Or did I just missed a documentation?

Is there any restriction by Proxmox to do so?

I would like to use this script to balance the PGs more evenly over the cluster, as we do not have a lot OSDs. I think that hinders the CRUSH algorythm to balance the PGs evenly, but I get this message:

Bash:
root@pve01:~/cephautobalance# ./ceph-auto-balance

Move 1.5 from 2 to 18
2: 74.674372->73.176761
18: 48.086186->49.583798

panic: Error EPERM: min_compat_client jewel < luminous, which is required for pg-upmap. Try 'ceph osd set-require-min-compat-client luminous' before using the new interface

exit status 1

goroutine 1 [running]:
main.main()
        /home/gitlab-runner/go/src/gitlab.zenterprise.org/zenjabba/ceph-auto-balance/ceph-auto-balance.go:323 +0x4f71


Is it also possible to update to octopus like:

Code:
ceph osd set-require-min-compat-client octopus

Or is that not available by Ceph?

https://blog.nuvotex.de/ceph/
https://ceph.io/community/new-luminous-upgrade-complete/

Bash:
root@pve01:~# ceph osd get-require-min-compat-client
jewel

Bash:
root@pve01:~# ceph versions
{
    "mon": {
        "ceph version 15.2.13 (1f5c7871ec0e36ade641773b9b05b6211c308b9d) octopus (stable)": 3
    },
    "mgr": {
        "ceph version 15.2.13 (1f5c7871ec0e36ade641773b9b05b6211c308b9d) octopus (stable)": 3
    },
    "osd": {
        "ceph version 15.2.13 (1f5c7871ec0e36ade641773b9b05b6211c308b9d) octopus (stable)": 20
    },
    "mds": {},
    "overall": {
        "ceph version 15.2.13 (1f5c7871ec0e36ade641773b9b05b6211c308b9d) octopus (stable)": 26
    }
}

Bash:
root@pve01:~# ceph features
{
    "mon": [
        {
            "features": "0x3f01cfb8ffedffff",
            "release": "luminous",
            "num": 3
        }
    ],
    "osd": [
        {
            "features": "0x3f01cfb8ffedffff",
            "release": "luminous",
            "num": 20
        }
    ],
    "client": [
        {
            "features": "0x2f018fb86aa42ada",
            "release": "luminous",
            "num": 3
        },
        {
            "features": "0x3f01cfb8ffedffff",
            "release": "luminous",
            "num": 52
        }
    ],
    "mgr": [
        {
            "features": "0x3f01cfb8ffedffff",
            "release": "luminous",
            "num": 3
        }
    ]
}
 
Last edited: