Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.0.1
-
Untriaged
-
1
-
Unknown
Description
GSI CI bot spawns a 4 node cluster and then tries to initialise two nodes using cluster_connect. At this phase, cluster_connect is frequently failing with below error:
Traceback (most recent call last):
|
File "./cluster_connect", line 108, in <module>
|
main()
|
File "./cluster_connect", line 103, in main
|
cluster_run_lib.connect(**params)
|
File "/opt/build/ns_server/pylib/cluster_run_lib.py", line 659, in connect
|
addr, port), data).read()
|
File "/usr/local/lib/python3.7/urllib/request.py", line 531, in open
|
response = meth(req, response)
|
File "/usr/local/lib/python3.7/urllib/request.py", line 641, in http_response
|
'http', request, response, code, msg, hdrs)
|
File "/usr/local/lib/python3.7/urllib/request.py", line 569, in error
|
return self._call_chain(*args)
|
File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain
|
result = func(*args)
|
File "/usr/local/lib/python3.7/urllib/request.py", line 649, in http_error_default
|
raise HTTPError(req.full_url, code, msg, hdrs, fp)
|
urllib.error.HTTPError: HTTP Error 400: Bad Request
|
Connecting 2 nodes, bucket type membase, mem size 1500 with 1 replica copies, password asdasd, deployment plan {'n0': ['kv', 'n1ql'], 'n1': ['kv', 'index']}
|
Connecting node 0 with services ['kv', 'n1ql']
|
Connecting node 1 with services ['kv', 'index']
|
Error 400: Bad Request (b'["Got HTTP status 500 from REST call post to https://127.0.0.1:19000/controller/addNodeV2. Body was: \\"[\\\\\\"Unexpected server error, request logged.\\\\\\"]\\""]')
|
Attached complete set of logs (logs-functional_ns_server/logs) contains the logs of all nodes
(Marking this as Critical as this issue is frequently failing the CI bot runs)
Attachments
For Gerrit Dashboard: MB-46886 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
155901,12 | MB-46886 Initialise cluster from HTTP | unstable | indexing | Status: MERGED | +2 | +1 |
155952,2 | MB-46886 Disable cluster_connect in dotest script | unstable | indexing | Status: MERGED | +2 | +1 |
155954,2 | MB-46886 break is cluster start-up is successful | unstable | indexing | Status: MERGED | +2 | +1 |
158460,4 | MB-46886 make ns_couchdb_config_rep more resilient to ns_server node | cheshire-cat | ns_server | Status: MERGED | +2 | +1 |
158461,4 | MB-46886 increase ns_couchdb_chronicle_dup:ro_txn timeout so the callers | cheshire-cat | ns_server | Status: MERGED | +2 | +1 |
158462,1 | Merge remote-tracking branch 'gerrit/cheshire-cat' | master | ns_server | Status: MERGED | +2 | +1 |