Details
-
Bug
-
Resolution: User Error
-
Critical
-
6.5.0
-
centos 7.6 64-bit
-
Untriaged
-
Centos 64-bit
-
Yes
Description
Steps to reproduce:
- Install Couchbase server 5.5.0 on a centos 7.6
- Initialize this node with services kv,index,n1ql,fts
- No bucket created in this cluster
- Offline upgrade this cluster to Mad-Hatter 6.5.0-4067.
- After upgrade is done, create any couchbase bucket
- Use cbworkloadgen to load data to this bucket. cbworkloadgen will fail to load to bucket with errors:
ValueError: invalid literal for int() with base 16: '172.23.121.224:8091'
|
If bucket was created before offline upgrade from 5.x to 6.5, cbworkloadgen will work ok
Here is the steps to do after node is offline upgrade to 6.5.0:
[root@s44015 ~]# /opt/couchbase/bin/couchbase-cli bucket-create -c 172.23.121.224 -u Administrator -p password --bucket bucket1 --bucket-type couchbase --bucket-ramsize 256 --bucket-eviction-policy fullEviction --bucket-replica 1 --enable-index-replica 1 --bucket-priority high --enable-flush 0 --wait
|
SUCCESS: Bucket created
|
[root@s44015 ~]# /opt/couchbase/bin/couchbase-cli bucket-edit -c 172.23.121.224:8091 -u Administrator -p password --bucket bucket1 --bucket-ramsize 256 --bucket-eviction-policy fullEviction --bucket-replica 1 --bucket-priority high --enable-flush 1
|
SUCCESS: Bucket edited
|
[root@s44015 ~]# /opt/couchbase/bin/cbworkloadgen -c 172.23.121.224:8091 -j -u Administrator -p password -b bucket1
|
Exception in thread w0:
|
Traceback (most recent call last):
|
File "/opt/couchbase/lib/python/runtime/lib/python3.7/threading.py", line 917, in _bootstrap_inner
|
self.run()
|
File "/opt/couchbase/lib/python/runtime/lib/python3.7/threading.py", line 865, in run
|
self._target(*self._args, **self._kwargs)
|
File "/opt/couchbase/lib/python/pump.py", line 446, in run_worker
|
curx).run()
|
File "/opt/couchbase/lib/python/pump.py", line 504, in run
|
rv_batch, batch = self.source.provide_batch()
|
File "/opt/couchbase/lib/python/pump_gen.py", line 163, in provide_batch
|
cid = int(next(itr), 16)
|
ValueError: invalid literal for int() with base 16: '172.23.121.224:8091'
|
|
^Z
|
[1]+ Stopped /opt/couchbase/bin/cbworkloadgen -c 172.23.121.224:8091 -j -u Administrator -p password -b bucket1
|
[
|
I will upload log soon.