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

cbworkloadgen error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.8.1
    • None
    • tools
    • Security Level: Public
    • None

    Description

      i locally fixed that error and now it fails with another error

      [2012-06-14 16:24:32,758] - [rest_client] [140296632174336] - ERROR - http://10.1.3.70:8091/pools/default/buckets/default error 401 reason: unknown
      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 685, in _init_
      self.reconfig_vbucket_map()
      File "/opt/couchbase/lib/python/couchbase/couchbaseclient.py", line 818, in reconfig_vbucket_map
      vb_ready = RestHelper(self.rest).vbucket_map_ready(self.bucket, 60)
      File "/opt/couchbase/lib/python/couchbase/rest_client.py", line 94, in vbucket_map_ready
      vBuckets = self.rest.get_vbuckets(bucket)
      File "/opt/couchbase/lib/python/couchbase/rest_client.py", line 744, in get_vbuckets
      return self.get_bucket(bucket).vbuckets
      File "/opt/couchbase/lib/python/couchbase/rest_client.py", line 739, in get_bucket
      error=status)
      BucketUnavailableException: unable to find bucket default on the host @ 10.1.3.70

      On Jun 14, 2012, at 4:24 PM, Farshid Ghods wrote:

      cbworkloadgen errors: the function name is print_exc instead of exec.

      1-
      farshid@ubu-0106:~$ /opt/couchbase/bin/cbworkloadgen -n 127.0.0.1:8091
      [2012-06-14 16:20:45,385] - [rest_client] [140671212398336] - ERROR - http://127.0.0.1:8091/pools/default/buckets/default error 401 reason: unknown
      Exception in thread Thread-1:
      Traceback (most recent call last):
      File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
      self.run()
      File "/usr/lib/python2.6/threading.py", line 484, in run
      self._target(*self.args, **self._kwargs)
      File "/opt/couchbase/lib/python/cbworkloadgen", line 114, in _run
      traceback.print_exec()
      AttributeError: 'module' object has no attribute 'print_exec'

      Attachments

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

        Activity

          People

            bcui Bin Cui (Inactive)
            farshid Farshid Ghods (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