Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-13333

cbcollect_info -d crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 4.0.0
    • 3.0.2
    • ns_server
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Aliaksey Artamonau Aliaksey Artamonau (Inactive)
            pvarley Patrick Varley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty