Details
-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.2
-
Security Level: Public
-
CentOS6u5
AMD64
-
Triaged
-
Yes
Description
[vagrant@localhost ~]$ sudo /opt/couchbase/bin/cbcollect_info -d
Traceback (most recent call last):
File "/opt/couchbase/bin/cbcollect_info", line 768, in <module>
main()
File "/opt/couchbase/bin/cbcollect_info", line 654, in main
options, args = parser.parse_args()
File "/usr/lib64/python2.6/optparse.py", line 1394, in parse_args
stop = self._process_args(largs, rargs, values)
File "/usr/lib64/python2.6/optparse.py", line 1438, in _process_args
self._process_short_opts(rargs, values)
File "/usr/lib64/python2.6/optparse.py", line 1545, in _process_short_opts
option.process(opt, value, values, self)
File "/usr/lib64/python2.6/optparse.py", line 788, in process
self.action, self.dest, opt, value, values, parser)
File "/usr/lib64/python2.6/optparse.py", line 808, in take_action
self.callback(self, opt, value, parser, *args, **kwargs)
File "/opt/couchbase/bin/cbcollect_info", line 535, in dump_utilities
tasks = make_os_tasks() + make_product_task({}, "")
TypeError: make_product_task() takes exactly 3 arguments (2 given)
Looking at line 535:
tasks = make_os_tasks() + make_product_task({}, "")
make_product_task expects 3 arguments it looks like options is missing.
Attachments
For Gerrit Dashboard: MB-13333 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
47240,2 | MB-13333 Unbreak cbcollect_info -d. | master | ns_server | Status: MERGED | +2 | +1 |