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

cbworkloadgen has some bugs when running against centos 5.7 with build 1.8.1-927

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.8.1
    • 1.8.1
    • None
    • Security Level: Public
    • None

    Description

      ./cbworkloadgen -r 90 -i 100000 -n 10.5.2.22:8091 -b bucket-p -p password

      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/cbworkloadgen", line 70, in _run
      v = CouchbaseClient(self._server, options.bucket, options.password, options.verbose)
      File "/opt/couchbase/lib/python/couchbase/couchbaseclient.py", line 684, in _init_
      self.rest = RestConnection(server)
      File "/opt/couchbase/lib/python/couchbase/rest_client.py", line 183, in _init_
      self.password)
      File "/opt/couchbase/lib/python/couchbase/client.py", line 342, in parse_server_config
      response = urlopener.open(uri)
      File "/usr/lib64/python2.4/urllib.py", line 190, in open
      return getattr(self, name)(url)
      File "/usr/lib64/python2.4/urllib.py", line 322, in open_http
      return self.http_error(url, fp, errcode, errmsg, headers)
      File "/usr/lib64/python2.4/urllib.py", line 335, in http_error
      result = method(url, fp, errcode, errmsg, headers)
      File "/usr/lib64/python2.4/urllib.py", line 656, in http_error_401
      return getattr(self,name)(url, realm)
      File "/usr/lib64/python2.4/urllib.py", line 664, in retry_http_basic_auth
      user, passwd = self.get_user_passwd(host, realm, i)
      File "/usr/lib64/python2.4/urllib.py", line 690, in get_user_passwd
      user, passwd = self.prompt_user_passwd(host, realm)
      TypeError: <lambda>() takes no arguments (2 given)

      I think cbworkloadgen can not parse non-default bucket name and password

      Attachments

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

        Activity

          People

            bcui Bin Cui (Inactive)
            Chisheng Chisheng Hong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty