Hi Everyone,
I think this might be a bug so I'm wondering if anyone else has seen this.
The issue is that config db filters for host don't seem to work.
I was able to reproduce this on both prod and dev clusters that I
tried it on with Nautilus 14.2.22.

The osd I'm testing (osd.0) is under this tree:
 -8       20.32744     datacenter dc01
 -3       20.32744         rack dc01-rack01
-17        8.16148             chassis chassis01
 -2        4.07590                 host cstor01
  0   hdd  1.00000                     osd.0         up  1.00000 1.00000

I'm testing by changing the osd_max_backfills setting but it was the
same with others I tried too.
Here's an example setting with filter host then with filter chassis,
but it worked for rack too.
user@cstor01 DEV:~$ sudo ceph config set osd/host:cstor01 osd_max_backfills 2
user@cstor01 DEV:~$ sudo ceph config get osd.0 osd_max_backfills
2
user@cstor01 DEV:~$ sudo ceph config show osd.0 | grep osd_max_backfills
osd_max_backfills           1                          mon
user@cstor01 DEV:~$ sudo ceph config rm osd/host:cstor01 osd_max_backfills
user@cstor01 DEV:~$ sudo ceph config set osd/chassis:chassis01
osd_max_backfills 2
user@cstor01 DEV:~$ sudo ceph config show osd.0 | grep osd_max_backfills
osd_max_backfills           2                          mon

As you can see, the max backfills stays at 1 in the daemon when using
host filter but changes correctly to 2 when using the chassis filter.

Is this a bug? I did a search but couldn't locate anything that
sounded like this issue.
Are others able to reproduce?

Thanks,
Rich
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to