Re: [ceph-users] showing active config settings

2019-04-25 Thread solarflow99
It sucks that its so hard to set/view active settings, this should be a lot simpler in my opinion On Tue, Apr 23, 2019 at 1:58 PM solarflow99 wrote: > Thanks, but does this not work on Luminous maybe? I am on the mon hosts > trying this: > > > # ceph config set osd osd_recovery_max_active 4 > I

Re: [ceph-users] showing active config settings

2019-04-23 Thread solarflow99
Thanks, but does this not work on Luminous maybe? I am on the mon hosts trying this: # ceph config set osd osd_recovery_max_active 4 Invalid command: unused arguments: [u'4'] config set : Set a configuration option at runtime (not persistent) Error EINVAL: invalid command # ceph daemon osd.0

Re: [ceph-users] showing active config settings

2019-04-16 Thread Brad Hubbard
$ ceph config set osd osd_recovery_max_active 4 $ ceph daemon osd.0 config diff|grep -A5 osd_recovery_max_active "osd_recovery_max_active": { "default": 3, "mon": 4, "override": 4, "final": 4 }, On Wed, Apr 17, 2019 at 5:29 AM solarfl

Re: [ceph-users] showing active config settings

2019-04-16 Thread solarflow99
I wish there was a way to query the running settings from one of the MGR hosts, and it doesn't help that ansible doesn't even copy the keyring to the OSD nodes so commands there wouldn't work anyway. I'm still puzzled why it doesn't show any change when I run this no matter what I set it to: # cep

Re: [ceph-users] showing active config settings

2019-04-16 Thread Brad Hubbard
On Tue, Apr 16, 2019 at 6:03 PM Paul Emmerich wrote: > > This works, it just says that it *might* require a restart, but this > particular option takes effect without a restart. We've already looked at changing the wording once to make it more palatable. http://tracker.ceph.com/issues/18424 > >

Re: [ceph-users] showing active config settings

2019-04-16 Thread Paul Emmerich
This works, it just says that it *might* require a restart, but this particular option takes effect without a restart. Implementation detail: this message shows up if there's no internal function to be called when this option changes, so it can't be sure if the change is actually doing anything be

Re: [ceph-users] showing active config settings

2019-04-15 Thread Brad Hubbard
On Tue, Apr 16, 2019 at 7:38 AM solarflow99 wrote: > > Then why doesn't this work? > > # ceph tell 'osd.*' injectargs '--osd-recovery-max-active 4' > osd.0: osd_recovery_max_active = '4' (not observed, change may require > restart) > osd.1: osd_recovery_max_active = '4' (not observed, change may

Re: [ceph-users] showing active config settings

2019-04-15 Thread solarflow99
Then why doesn't this work? # ceph tell 'osd.*' injectargs '--osd-recovery-max-active 4' osd.0: osd_recovery_max_active = '4' (not observed, change may require restart) osd.1: osd_recovery_max_active = '4' (not observed, change may require restart) osd.2: osd_recovery_max_active = '4' (not observe

Re: [ceph-users] showing active config settings

2019-04-10 Thread Paul Emmerich
To summarize this discussion: There are two ways to change the configuration: 1. ceph config * is for permanently changing settings 2. ceph injectargs is for temporarily changing a setting until the next restart of that daemon * ceph config get or --show-config shows the defaults/permanent settin

Re: [ceph-users] showing active config settings

2019-04-10 Thread Eugen Block
I always end up using "ceph --admin-daemon /var/run/ceph/name-of-socket-here.asok config show | grep ..." to get what is in effect now for a certain daemon. Needs you to be on the host of the daemon of course. Me too, I just wanted to try what OP reported. And after trying that, I'll keep it t

Re: [ceph-users] showing active config settings

2019-04-10 Thread Janne Johansson
Den ons 10 apr. 2019 kl 13:37 skrev Eugen Block : > > If you don't specify which daemon to talk to, it tells you what the > > defaults would be for a random daemon started just now using the same > > config as you have in /etc/ceph/ceph.conf. > > I tried that, too, but the result is not correct: >

Re: [ceph-users] showing active config settings

2019-04-10 Thread Eugen Block
If you don't specify which daemon to talk to, it tells you what the defaults would be for a random daemon started just now using the same config as you have in /etc/ceph/ceph.conf. I tried that, too, but the result is not correct: host1:~ # ceph -n osd.1 --show-config | grep osd_recovery_max_ac

Re: [ceph-users] showing active config settings

2019-04-10 Thread Janne Johansson
Den ons 10 apr. 2019 kl 13:31 skrev Eugen Block : > > While --show-config still shows > > host1:~ # ceph --show-config | grep osd_recovery_max_active > osd_recovery_max_active = 3 > > > It seems as if --show-config is not really up-to-date anymore? > Although I can execute it, the option doesn't a

Re: [ceph-users] showing active config settings

2019-04-09 Thread Eugen Block
Hi, I haven't used the --show-config option until now, but if you ask your OSD daemon directly, your change should have been applied: host1:~ # ceph tell 'osd.*' injectargs '--osd-recovery-max-active 4' host1:~ # ceph daemon osd.1 config show | grep osd_recovery_max_active "osd_recovery