Re: Problems enabling automatic balancer

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

 



I think I found myself the problem (for the time being I am debugging the issue on a testbed):

[root@c-mon-01 ceph]# ceph osd crush weight-set create-compat
Error EPERM: crush map contains one or more bucket(s) that are not straw2

So I issued:

[root@c-mon-01 ceph]# ceph osd crush set-all-straw-buckets-to-straw2
Error EINVAL: new crush map requires client version hammer but require_min_compat_client is firefly


So:

[root@c-mon-01 ceph]# ceph osd set-require-min-compat-client jewel
set require_min_compat_client to jewel


Now the set-all-straw-buckets-to-straw2 should work:

[root@c-mon-01 ceph]# ceph osd crush set-all-straw-buckets-to-straw2

Indeed.

And when I start the balancer:


[root@c-mon-01 ceph]# ceph balancer on

 I can't see anymore the problem

On Fri, Jan 11, 2019 at 3:58 PM Massimo Sgaravatto <massimo.sgaravatto@xxxxxxxxx> wrote:
I am trying to enable the automatic balancer in my Luminous ceph cluster, following the documentation at:



[root@ceph-mon-01 ~]# ceph balancer status
{
    "active": true, 
    "plans": [], 
    "mode": "crush-compat"
}

After having issued the command:


[root@ceph-mon-01 ~]# ceph balancer on


in the manager log file I see:


2019-01-11 15:50:43.087370 7f1afd496700  0 mgr[balancer] Error creating compat weight-set



Any hints how to  debug this ?

Thanks, Massimo
_______________________________________________
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