Project

General

Profile

Actions

Bug #48750

closed

ceph config set using osd/host mask not working

Added by Kenneth Waegeman over 3 years ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
% Done:

100%

Source:
Community (user)
Tags:
backport_processed
Backport:
pacific quincy reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

this does not work, tested with 14.2.9 and 14.2.16:


[root@mds2802 ~]# ceph osd tree-from osd2801
ID CLASS WEIGHT  TYPE NAME    STATUS REWEIGHT PRI-AFF 
-3       0.28317 host osd2801                         
 1  fast 0.04390     osd.1        up  1.00000 1.00000 
18  fast 0.04390     osd.18       up  1.00000 1.00000 
 2   hdd 0.09769     osd.2        up  1.00000 1.00000 
19   hdd 0.09769     osd.19       up  1.00000 1.00000 
[root@mds2802 ~]# ceph -v
ceph version 14.2.16 (762032d6f509d5e7ee7dc008d80fe9c87086603c) nautilus (stable)

[root@mds2802 ~]# ceph config get osd.2 osd_memory_target
4294967296
[root@mds2802 ~]# ceph config show osd.2 osd_memory_target
4294967296

[root@mds2802 ~]# ceph config set osd/host:osd2801 osd_memory_target 2147483648         
[root@mds2802 ~]# ceph config get osd.2  osd_memory_target
2147483648
[root@mds2802 ~]# ceph config show osd.2 osd_memory_target
4294967296
      

-> So the config db recognizes the mask, but the daemon does not

It also does not work by restarting the daemon.

When I change the same setting for the specified daemon directly, it does work, so its not a runtime setting issue:

[root@mds2802 ~]# ceph config set osd.2 osd_memory_target 2147483648

[root@mds2802 ~]# ceph config get osd.2 osd_memory_target
2147483648
[root@mds2802 ~]# ceph config show osd.2 osd_memory_target
2147483648

Related issues 4 (0 open4 closed)

Has duplicate Ceph - Bug #53408: Centralized config mask not being applied to hostDuplicate

Actions
Copied to RADOS - Backport #62029: reef: ceph config set using osd/host mask not workingResolvedKonstantin ShalyginActions
Copied to RADOS - Backport #62030: quincy: ceph config set using osd/host mask not workingResolvedKonstantin ShalyginActions
Copied to RADOS - Backport #62031: pacific: ceph config set using osd/host mask not workingResolvedKonstantin ShalyginActions
Actions

Also available in: Atom PDF