ceph tell not persistent through reboots?

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

 



Hello,

Version 0.94.1

I'm passing settings to the admin socket ie:
ceph tell osd.* injectargs '--osd_deep_scrub_begin_hour 20'
ceph tell osd.* injectargs '--osd_deep_scrub_end_hour 4'
ceph tell osd.* injectargs '--osd_deep_scrub_interval 1209600'

Then I check to see if they're in the configs now:
# ceph --admin-daemon /var/run/ceph/ceph-osd.0.asok config show |
egrep -i 'scrub_interval|hour'
    "osd_scrub_begin_hour": "4",
    "osd_scrub_end_hour": "20",
    "osd_deep_scrub_interval": "1.2096e+06",

Then I restart that host and check again and the values have returned
to default:
# ceph --admin-daemon /var/run/ceph/ceph-osd.0.asok config show |
egrep -i 'scrub_interval|hour'
    "osd_scrub_begin_hour": "0",
    "osd_scrub_end_hour": "24",
    "osd_deep_scrub_interval": "604800",

If I check on another host the values are correct:
# ceph --admin-daemon /var/run/ceph/ceph-osd.90.asok config show |
egrep -i 'scrub_interval|hour'
    "osd_scrub_begin_hour": "20",
    "osd_scrub_end_hour": "4",
    "osd_deep_scrub_interval": "1.2096e+06",

If I check on a mon the values are default:
# ceph --admin-daemon /var/run/ceph/ceph-mon.mon1.asok config show |
egrep -i 'scrub_interval|hour'
    "osd_scrub_begin_hour": "0",
    "osd_scrub_end_hour": "24",
    "osd_deep_scrub_interval": "604800",

If I try to pass a config to mon1 via a osd host it appears to do something:
# ceph tell mon.1 injectargs "--osd_deep_scrub_interval 1209600"
injectargs:osd_deep_scrub_interval = '1.2096e+06'

And then check on mon1 and its still the default value:
# ceph --admin-daemon /var/run/ceph/ceph-mon.mon1.asok config show |
egrep -i scrub_interval
    "osd_deep_scrub_interval": "604800",


And if I pass a config on mon1 it looks like its being updated, but
the default remains:
# ceph tell mon.1 injectargs "--osd_deep_scrub_interval 1209600"
injectargs:osd_deep_scrub_interval = '1.2096e+06'
# ceph --admin-daemon /var/run/ceph/ceph-mon.mon1.asok config show |
egrep -i scrub_interval
    "osd_deep_scrub_interval": "604800",

I don't know if this is a bug, or if I'm doing something wrong here...
_______________________________________________
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