Re: ceph balancer do not start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hi David,

thank you. Unfortunately i have the problem that i can't use the upmap mode at the moment. 
 

root@ceph-mgr:~# ceph balancer mode upmap
root@ceph-mgr:~# ceph balancer optimize myplan
root@ceph-mgr:~# ceph balancer show myplan
# starting osdmap epoch 409753
# starting crush version 84
# mode upmap
ceph osd pg-upmap-items 4.18e 34 13
ceph osd pg-upmap-items 4.36d 24 20
ceph osd pg-upmap-items 7.2 10 15
ceph osd pg-upmap-items 7.3 24 20 4 17
ceph osd pg-upmap-items 7.4 0 16 4 25
ceph osd pg-upmap-items 7.5 19 2 8 13
ceph osd pg-upmap-items 7.7 8 21
root@ceph-mgr:~# ceph balancer execute myplan
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
root@ceph-mgr:~# ceph osd set-require-min-compat-client luminous
Error EPERM: cannot set require_min_compat_client to luminous: 811 connected client(s) look like jewel (missing 0x800000000200000); add --yes-i-really-mean-it to do it anyway
root@ceph-mgr:~#


Best regards

Jan

Gesendet: Mittwoch, 23. Oktober 2019 um 05:42 Uhr
Von: "David Turner" <drakonstein@xxxxxxxxx>
An: "Jan Peters" <haseningo@xxxxxx>
Cc: ceph-users <ceph-users@xxxxxxxxxxxxxx>
Betreff: Re:  ceph balancer do not start

Of the top of my head, if say your cluster might have the wrong tunables for crush-compat. I know I ran into that when I first set up the balancer and nothing obviously said that was the problem. Only researching find it for me.
 
My real question, though, is why aren't you using upmap? It is significantly better than crush-compat. Unless you have clients on really old kernels that can't update or that are on pre-luminous Ceph versions that can't update, there's really no reason not to use upmap. 

On Mon, Oct 21, 2019, 8:08 AM Jan Peters <haseningo@xxxxxx[mailto:haseningo@xxxxxx]> wrote:Hello,

I use ceph 12.2.12 and would like to activate the ceph balancer.

unfortunately no redistribution of the PGs is started:

ceph balancer status
{
    "active": true,
    "plans": [],
    "mode": "crush-compat"
}

ceph balancer eval
current cluster score 0.023776 (lower is better)


ceph config-key dump
{
    "initial_mon_keyring":
"AQBLchlbAAAAABAA+5CuVU+8MB69xfc3xAXkjQ==",
    "mgr/balancer/active": "1",
    "mgr/balancer/max_misplaced:": "0.01",
    "mgr/balancer/mode": "crush-compat"
}


What am I not doing correctly?

best regards
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx[mailto:ceph-users@xxxxxxxxxxxxxx]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux