Bug #8970
closedInjectargs - inconsistent parsing of bool values
0%
Description
Hi all,
ceph version 0.80.1 (a38fe1169b6d2ac98b427334c12d7cf81f809b74) on Ubuntu 14.04 LTS
This is how I am able to disable wbthrottle:
ceph tell osd.* injectargs '--no-filestore_wbthrottle_enable '
This methods don't work:
ceph tell osd.* injectargs '--no-filestore_wbthrottle_enable'
ceph tell osd.* injectargs '--no-filestore_wbthrottle_enable 0'
ceph tell osd.* injectargs '--filestore_wbthrottle_enable 0'
ceph tell osd.* injectargs '--filestore_wbthrottle_enable '
ceph tell osd.* injectargs '--no-filestore_wbthrottle_enable false'
ceph tell osd.* injectargs '--filestore_wbthrottle_enable false'
Best regards,
Peter
Updated by Sage Weil over 9 years ago
- Status changed from New to Won't Fix
these will also work:
--my-boolean-option=0
--my-boolean-option=false
but you're right, the others won't, because boolean options get parsed as a single argument, and allow the
--my-boolean-option arg
would parse ambiguously...
by the way - and _ are interchangeable.