]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 6 Feb 2018 19:09:55 +0000 (13:09 -0600)]
qa: --no-mon-config for ceph-objectstore-tool --op mkfs ..
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 6 Feb 2018 18:56:10 +0000 (12:56 -0600)]
ceph-objectstore-tool: infer osd id to authenticate
In order to get mon configs we need to authenticate as somebody.
Infer it from the data directory.
Note that this won't work for --op mkfs. Those users need to pass
--no-mon-config or -n.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 6 Feb 2018 18:56:44 +0000 (12:56 -0600)]
global/global_init: send startup errors to cerr, not log
(Flush the log, too, as something that has useful error messages.)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 5 Feb 2018 19:06:04 +0000 (13:06 -0600)]
qa/tasks/ceph.py: --no-mon-config during ceph-osd mkfs
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 2 Feb 2018 17:55:47 +0000 (11:55 -0600)]
vstart.sh: use assimilate-conf to ingest config options quickly
Separate 'config set' commands is slow.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 2 Feb 2018 17:29:21 +0000 (11:29 -0600)]
mgr/MgrClient: only send config_bl if it has changed
The mgr already treats the config_bl as optional in the MMgrReport
messages.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 1 Feb 2018 15:26:31 +0000 (09:26 -0600)]
vstart.sh: fix osd bootstrap
Install the key before trying to use it for mkfs. Among other things
this means the osd can fetch it's config from the mon before doing the
mkfs step.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 1 Feb 2018 15:18:04 +0000 (09:18 -0600)]
mon: require authentication but no caps for monmap and config
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 1 Feb 2018 15:13:25 +0000 (09:13 -0600)]
mon: clean up dealth_with bool weirdness
Just return!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 1 Feb 2018 15:03:32 +0000 (09:03 -0600)]
mon: require authentication for MGetConfig and mon metadata
More importantly, the set of non-authentication operations that are allowed
is more restricted: auth messages, getting monmap, ping.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 1 Feb 2018 15:01:31 +0000 (09:01 -0600)]
mon: add authenticated flag in Session
Authentication is orthogonal to the caps; the client might have no
capabilities but still be authenticated such that we know *who* it is.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 31 Jan 2018 23:41:24 +0000 (17:41 -0600)]
test/mgr/mgr-dashboard-smoke: don't clobber CEPH_ARGS for other daemons
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 31 Jan 2018 23:40:53 +0000 (17:40 -0600)]
global/global_init: apply_changes() for config fetch session
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 31 Jan 2018 23:18:21 +0000 (17:18 -0600)]
common/config: exclude unchanged defaults from diff
If we have a CONF_DEFAULT in the values map we do not need to include it
in the diff!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 31 Jan 2018 22:41:30 +0000 (16:41 -0600)]
test/run-cli-tests: CEPH_ARGS="--no-mon-config"
These are all offline tool tests.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 31 Jan 2018 22:36:07 +0000 (16:36 -0600)]
common/config: parse --no-mon-config into md_config_t, not CephInitParameters
We want to accept this in $CEPH_ARGS, which makes md_config_t a better
place to keep it.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 31 Jan 2018 22:33:44 +0000 (16:33 -0600)]
common/config: tweak order of env parsing
CEPH_ARGS is half-way between env and cmdline; parse it at the end of
env.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 31 Jan 2018 22:19:47 +0000 (16:19 -0600)]
test/clie/ceph-conf: fix loop detection output test
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 31 Jan 2018 22:19:34 +0000 (16:19 -0600)]
common/config: use cerr for --show-config-value
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 31 Jan 2018 21:50:00 +0000 (15:50 -0600)]
common/config: normalize the default value
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 31 Jan 2018 14:37:08 +0000 (08:37 -0600)]
qa/tasks/rebuild_mondb: --no-mon-config for ceph-monstore-tool
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 31 Jan 2018 14:35:11 +0000 (08:35 -0600)]
qa/workunits/objectstore/test_fuse.sh: no mon config for ceph-objectstore-tool
There isn't a running cluster for this test.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 31 Jan 2018 13:20:18 +0000 (07:20 -0600)]
qa/workunits/cephtool/test.sh: streamline test_mon_injectargs
Be less sensitive to formatting of output string on set commands.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 31 Jan 2018 13:09:09 +0000 (07:09 -0600)]
osd: implement tell/daemon 'config get'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 30 Jan 2018 15:12:39 +0000 (09:12 -0600)]
rados: only suggest changing mon_allow_pool_delete on EPERM
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 30 Jan 2018 15:11:23 +0000 (09:11 -0600)]
common/ceph_context: only common_init_finish() once per cct
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 18 Jan 2018 17:31:54 +0000 (11:31 -0600)]
common/options: 'developer' -> 'dev'
I like shorter.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 18 Jan 2018 17:31:39 +0000 (11:31 -0600)]
doc/rados/configuration: big update
- remove a bunch of outdated info
- update to reflect new monitor-based configuration
- move a bunch of common settings to another document/page
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 17 Jan 2018 20:59:58 +0000 (14:59 -0600)]
qa: test config CLI interface
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 17 Jan 2018 20:34:27 +0000 (14:34 -0600)]
common/options: fix stringification
There is a generic operator<< for boost::variant--we can't overload it
for Option::value_t. Make a to_str() method instead.
Add a parse_option() output arg for the normalized value for convenience.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 17 Jan 2018 20:09:41 +0000 (14:09 -0600)]
mon/ConfigMonitor: indent 'config dump'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 23:29:10 +0000 (17:29 -0600)]
doc/dev/config-key: document how we structure things in config-key
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 23:24:43 +0000 (17:24 -0600)]
common/config,mgr: fix config for new encode/decode syntax
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 23:13:29 +0000 (17:13 -0600)]
messages/MMgrOpen: fix decode
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 22:26:10 +0000 (16:26 -0600)]
mon/ConfigMonitor: validate and normalize option on 'config set'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 20:34:35 +0000 (14:34 -0600)]
common/options: flag a bunch of pool settings for RUNTIME
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 20:23:32 +0000 (14:23 -0600)]
mon/ConfigMonitor: 'config (get|show)' RW -> RO
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 19:37:40 +0000 (13:37 -0600)]
osdmaptool: eliminiate global osd_pg[p]_bits option
osdmaptool is the only user.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 17:25:54 +0000 (11:25 -0600)]
common/options: some osd startup-only options
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 17:23:43 +0000 (11:23 -0600)]
common/options: a few more [CLUSTER_]CREATE options
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 17:20:12 +0000 (11:20 -0600)]
common/options: replace 'mkfs' tag with FLAG_[CLUSTER_]CREATE
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 15:45:38 +0000 (09:45 -0600)]
common/options,ceph_test_msgr: unmark misc ms options as RUNTIME
These were marked RUNTIME for the benefit of the test. Replace with a
no-op observer.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 15:42:55 +0000 (09:42 -0600)]
common/config_obs: NoopConfigObserver
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 15:30:35 +0000 (09:30 -0600)]
common/options: replace FLAG_SAFE with FLAG_{RUNTIME,STARTUP,CLUSTER_CREATE,DAEMON_CREATE}
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 15:21:54 +0000 (09:21 -0600)]
common/options: is_safe() -> can_update_at_runtime()
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 15:11:48 +0000 (09:11 -0600)]
mon/ConfigMonitor: show changeable for 'config get|show'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Jan 2018 14:31:02 +0000 (08:31 -0600)]
common/options: 'can update at runtime' in 'config help'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Jan 2018 23:34:44 +0000 (17:34 -0600)]
mgr/DaemonServer: add IGNORES column to 'config show'
If the daemon is ignoring a mon config, show that. Note that this
column only ever says 'mon', which might be confusing to users.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Jan 2018 23:06:56 +0000 (17:06 -0600)]
common/config: report failed mon config values to mgr
If we can't set a mon config value, report that back to the mgr.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Jan 2018 18:38:50 +0000 (12:38 -0600)]
common/config: move unsafe runtime change into _set_val
We want this to apply to other callers, set_mon_vals() in particular.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Jan 2018 18:29:14 +0000 (12:29 -0600)]
common/options: drop 'safe' flag on plugin dir options
These were only marked safe to accomodate the unit test CEPH_LIB hackery,
which is now removed.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 9 Jan 2018 00:47:26 +0000 (18:47 -0600)]
mgr: 'config show <who> <key>'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 9 Jan 2018 00:14:04 +0000 (18:14 -0600)]
mon: 'ceph config get <who> <key>'
Simple command to get a config value for a given entity (either the set value or the
default), similar to ceph-conf or --show-config-value.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Jan 2018 22:43:04 +0000 (16:43 -0600)]
test: CINIT_FLAG_NO_MON_CONFIG or NO_DEFAULT_CONFIG_FILE
Usually we use NO_DEFAULT_CONFIG_FILE, but for those tests that need the
plugin directory overrides in order to work properly when run manually
(e.g., "bin/unittest_compression"), read the config and only skip the
mon config.
The NO_DFEAULT_CONFIG_FILE (which also skips the mon) would work for
everything when run via ctest, but as a dev one often runs the unittest
manually and having to pass CEPH_LIB=lib is annoying. Note that
do_cmake.sh already writes out a trivial ceph.conf with these options
set for us.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Jan 2018 22:13:10 +0000 (16:13 -0600)]
unittest_daemon_config: add needed rm_val()
Otherwise we polluate later tests.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Jan 2018 18:26:56 +0000 (12:26 -0600)]
ceph-disk/tests: simplify CEPH_LIB hack
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Jan 2018 18:26:02 +0000 (12:26 -0600)]
qa/standalone: drop CEPH_LIB hacks
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Jan 2018 18:24:50 +0000 (12:24 -0600)]
test: drop hackery for CEPH_LIB
Generic config code parses this now as part of global_init.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Jan 2018 18:23:20 +0000 (12:23 -0600)]
common/config: interpret CEPH_LIB in parse_env()
Apply to the three plugin directory options.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Jan 2018 16:54:46 +0000 (10:54 -0600)]
doc/man/8/ceph-conf: make not about ceph-conf's lack of mon config support
Steer people toward the mon explicitly or the --show-config-value option.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 8 Jan 2018 20:14:09 +0000 (14:14 -0600)]
common/config: comment config levels
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 8 Jan 2018 20:10:07 +0000 (14:10 -0600)]
drop unnecessary env_to_vec calls
global[_pre]_init does this for us now.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 8 Jan 2018 20:08:08 +0000 (14:08 -0600)]
librados,libcephfs,...: use parse_env()
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 8 Jan 2018 20:07:14 +0000 (14:07 -0600)]
common/global_init: parse environment
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 8 Jan 2018 19:56:19 +0000 (13:56 -0600)]
common/config: take level to parse_argv
A few callers are explicitly parsing args from the environment.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 8 Jan 2018 19:47:53 +0000 (13:47 -0600)]
common/config: distinguish between cmdline and override (injectargs)
This makes for a more informative 'ceph config show ...'.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 6 Jan 2018 17:25:47 +0000 (11:25 -0600)]
global/global_init: make --show-config and --show-config-val reflect mon configs
Pull down all configs, including both argv and mon, before we do the
--show-config[-val] step.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 6 Jan 2018 17:19:43 +0000 (11:19 -0600)]
mon/ConfigMonitor: "ceph config assimilate-conf"
Inject as much of a ceph.conf file as we can; spit we can't take back out
to stdout.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 6 Jan 2018 17:06:38 +0000 (11:06 -0600)]
common/options: mark many options NO_MON_UPDATE
- things that identify monitors during startup
- things that identify auth key(s)
- things that only happy during mon mkfs
- things that are very specific to daemon forking/chdir/daemonize behavior
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 6 Jan 2018 03:39:10 +0000 (21:39 -0600)]
mgr/DaemonServer: make 'config show' indicate duplicate overrides
If we override an option with the same value, show the OVERRIDES item
in parenthesis. (I tried "=$src" and "(=$src)" but neither looked any
better.)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 23:45:21 +0000 (17:45 -0600)]
mgr/DaemonServer: 'ceph config show-with-defaults'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 23:44:56 +0000 (17:44 -0600)]
mgr: get config defaults on session open
Leave them encoded until they are used, since usually we won't use them.
This is about 50k currently.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 23:43:49 +0000 (17:43 -0600)]
mgr/DaemonServer: fix daemon registration
We want to take in the initial config for non-service daemons, too!
Restructure this so it makes more sense.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 23:40:42 +0000 (17:40 -0600)]
common/config: get_defaults_bl()
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 22:44:00 +0000 (16:44 -0600)]
osd,mds: 'config unset' tell command
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 22:36:25 +0000 (16:36 -0600)]
common/ceph_context: implement 'config unset <var>'
Clear an override value (if any). This works for 'ceph daemon ...'
asok commands.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 22:24:58 +0000 (16:24 -0600)]
mon/ConfigMonitor: show fabricated options as level 'unknown'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 22:24:44 +0000 (16:24 -0600)]
mon/ConfigMonitor: include LEVEL column in config dump|get
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 22:19:44 +0000 (16:19 -0600)]
mon/ConfigMap: const * to Option, so we don't have to copy it
These are biggish structs (lots of strings), so it's expensive to make
copies of Option when it is an immutable struct. However, we need to
handle arbitrary strings that we don't recognize, too.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 20:55:12 +0000 (14:55 -0600)]
mgr: have MgrStandby send mgr reports to active mgr (even self!)
This allows the mgr daemons to register state with the active mgr just
like the rest of the cluster, including perfcounters and current config.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 19:41:07 +0000 (13:41 -0600)]
mon/ConfigMonitor: 'config help'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 19:45:02 +0000 (13:45 -0600)]
common/options: fix dump()
By convention dump() does not include the containing object section.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 19:39:13 +0000 (13:39 -0600)]
common/options: operator<< for value_t
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 19:03:04 +0000 (13:03 -0600)]
vstart.sh: move debug values over to mon config
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 18:07:34 +0000 (12:07 -0600)]
ceph-osd: do not set/override osd_objectstore config option
We use the one on disk, and nobody consumes the option except ceph-volume/
ceph-disk during mkfs. Do not pollute the config space with a value that
isn't consumed.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 17:35:33 +0000 (11:35 -0600)]
common/config: "conffile" -> "file"
Easier on the eyes
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 17:19:15 +0000 (11:19 -0600)]
common/config: exclude host, fsid from config reproted to mgr
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 5 Jan 2018 15:17:45 +0000 (09:17 -0600)]
mon/ConfigMonitor: load_config() a bit less often
We could get very clever and avoid reparsing the full config every time
too, but that is a bit more work. Leave that as a TODO.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 4 Jan 2018 23:14:30 +0000 (17:14 -0600)]
mon/ConfigMonitor: implement 'config {rm,get,dump}'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 4 Jan 2018 23:13:15 +0000 (17:13 -0600)]
mgr: remove old 'config set' command
This is a cli command to set a config option on the mgr. It doesn't
really belong because it only sets it on the mgr that happens to be
active. It was probably mixed up with the asok or tell command.
Added in
057b73d641decb9403aba50caae9d139f3a34dd4
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 5 Dec 2017 17:43:43 +0000 (11:43 -0600)]
mon/MonClient: one-shot mon connection on started to fetch config
This is not particularly efficient, but it works:
- connect to the monitor to get the monmap and config
- tear it all down
- proceed with normal startup (which presumably involves reconnecting
to the mon all over again).
This allows us to set config options that may affect the mon communication
itself, like ms_type.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 4 Jan 2018 20:55:56 +0000 (14:55 -0600)]
mon/ConfigMonitor: always send initial config, even if empty
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 4 Jan 2018 20:55:30 +0000 (14:55 -0600)]
common/ceph_context: count crypto/shutdown cycles
We need to allow crypto to be set up and torn down before a fork. Count
the init/shutdown cycles to make that safe.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 4 Jan 2018 20:40:45 +0000 (14:40 -0600)]
common/ceph_context: whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 5 Dec 2017 17:39:02 +0000 (11:39 -0600)]
mon: handle MGetConfig
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Dec 2017 22:54:27 +0000 (16:54 -0600)]
vstart.sh: use mon config for many things
We also trim out some obsolete options while we're at it.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Dec 2017 22:54:07 +0000 (16:54 -0600)]
mon: 'config set <who> <name> <value>'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Dec 2017 22:53:54 +0000 (16:53 -0600)]
mon/ConfigMonitor: refresh mon configs too
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 4 Jan 2018 23:14:09 +0000 (17:14 -0600)]
mon/ConfigMap: some improvements
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Dec 2017 22:52:31 +0000 (16:52 -0600)]
mon/ConfigMap: move option mask parsing into helper
Signed-off-by: Sage Weil <sage@redhat.com>