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

comfreak

Active Member
May 20, 2020
46
13
28
35
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!