Details
-
Bug
-
Resolution: Fixed
-
Major
-
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