[MCOL-5010] mcsStart throws "there was an error broadcasting the config" error, but cluster started successfully Created: 2022-03-08  Updated: 2022-07-04  Resolved: 2022-03-29

Status: Closed
Project: MariaDB ColumnStore
Component/s: cmapi
Affects Version/s: 6.2.3
Fix Version/s: N/A

Type: Bug Priority: Critical
Reporter: Allen Lee (Inactive) Assignee: Alan Mologorsky
Resolution: Won't Do Votes: 0
Labels: None

Sprint: 2021-17

 Description   

mcsStart throws "there was an error broadcasting the config" error, but cluster started successfully.

$ mcsStart
{
"error": "there was an error broadcasting the config"
}
 
$ mcsStatus
{
"timestamp": "2022-03-07 13:35:34.850085",
"192.168.0.42": {
"timestamp": "2022-03-07 13:35:34.860357",
"uptime": 12733,
"dbrm_mode": "master",
"cluster_mode": "readwrite",
"dbroots": [],
"module_id": 1,
"services": [
{
"name": "workernode",
"pid": 13463
},
{
"name": "controllernode",
"pid": 13474
},
{
"name": "PrimProc",
"pid": 13491
},
{
"name": "ExeMgr",
"pid": 13532
},
{
"name": "WriteEngine",
"pid": 13553
},
{
"name": "DMLProc",
"pid": 13562
},
{
"name": "DDLProc",
"pid": 13592
}
]
},
"192.168.0.91": {
"timestamp": "2022-03-07 13:35:35.199455",
"uptime": 12731,
"dbrm_mode": "slave",
"cluster_mode": "readonly",
"dbroots": [],
"module_id": 2,
"services": [
{
"name": "workernode",
"pid": 10752
},
{
"name": "PrimProc",
"pid": 10773
},
{
"name": "ExeMgr",
"pid": 10815
},
{
"name": "WriteEngine",
"pid": 10835
}
]
},
"192.168.0.235": {
"timestamp": "2022-03-07 13:35:35.415496",
"uptime": 12705,
"dbrm_mode": "slave",
"cluster_mode": "readonly",
"dbroots": [],
"module_id": 3,
"services": [
{
"name": "workernode",
"pid": 11760
},
{
"name": "PrimProc",
"pid": 11781
},
{
"name": "ExeMgr",
"pid": 11823
},
{
"name": "WriteEngine",
"pid": 11840
}
]
},
"num_nodes": 3
}

cmapi_server.log:

[07/Mar/2022 10:51:51] root Got an unexpected error pushing new config to "192.168.0.235"
Traceback (most recent call last):
File "/usr/share/columnstore/cmapi/cmapi_server/helpers.py", line 298, in update_config
r.raise_for_status()
File "/usr/share/columnstore/cmapi/deps/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://192.168.0.235:8640/cmapi/0.4.0/node/config
[07/Mar/2022 10:51:51] root Got an unexpected error pushing new config to "192.168.0.91"
Traceback (most recent call last):
File "/usr/share/columnstore/cmapi/cmapi_server/helpers.py", line 298, in update_config
r.raise_for_status()
File "/usr/share/columnstore/cmapi/deps/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://192.168.0.91:8640/cmapi/0.4.0/node/config
...............
[07/Mar/2022 10:51:56] root Got an unexpected error pushing new config to "192.168.0.235"
Traceback (most recent call last):
File "/usr/share/columnstore/cmapi/cmapi_server/helpers.py", line 298, in update_config
r.raise_for_status()
File "/usr/share/columnstore/cmapi/deps/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://192.168.0.235:8640/cmapi/0.4.0/node/config
................
[07/Mar/2022 10:51:58] root Got an unexpected error pushing new config to "192.168.0.91"
Traceback (most recent call last):
File "/usr/share/columnstore/cmapi/cmapi_server/helpers.py", line 298, in update_config
r.raise_for_status()
File "/usr/share/columnstore/cmapi/deps/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://192.168.0.91:8640/cmapi/0.4.0/node/config
..............
[07/Mar/2022 10:51:58] root Got an unexpected error pushing new config to "192.168.0.91"
Traceback (most recent call last):
File "/usr/share/columnstore/cmapi/cmapi_server/helpers.py", line 298, in update_config
r.raise_for_status()
File "/usr/share/columnstore/cmapi/deps/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://192.168.0.91:8640/cmapi/0.4.0/node/config



 Comments   
Comment by Alan Mologorsky [ 2022-03-29 ]

Wrong configuration on a customer side.
Fixed.

Generated at Thu Feb 08 02:54:40 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.