Bug #10618
closedUnable to inject single boolean config
0%
Description
I want to deactivate log to stderr/syslog.
I tried "ceph tell mon.a injectargs --no-log_to_stderr", it returned
Invalid command: saw 0 of injected_args(<string>) [<string>...], expected at least 1
injectargs <injected_args> [<injected_args>...] : inject config arguments into monitor
Error EINVAL: invalid command
Then I tried "ceph tell mon.a injectargs --log_to_stderr=false", it returned the same output.
After that, I used 'ceph tell mon.a injectargs "--log_to_stderr false"', it set log-to-stderr='true' instead....
ceph version 0.87-81-ga463b92
Updated by Alyona Kiseleva about 9 years ago
What cluster configuration do you have? I tried it on default configuration, first and second command works correctly, last one is not provided, I think, and so it sets log-to-stderr to default value.
Updated by Sage Weil about 9 years ago
- Status changed from New to Rejected
--foo=false works, --no-foo works, --foo false does not. it's confusing, i know.