[MXS-3849] Unable to configure nested parameters via MaxCtrl Created: 2021-11-03 Updated: 2022-01-13 Resolved: 2021-11-19 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | maxctrl |
| Affects Version/s: | 6.1.4 |
| Fix Version/s: | 6.2.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Assen Totin (Inactive) | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
MaxCtrl wrongly interprets nosqlprotocol.user my_user as the following JSON:
it should interpret it as a nested type:
The inability to modify nosqlprotocol parameters is a separate problem tracked in Original description: Our KB explains that the NoSQL listener must have certain protocol-speicific parameters explicitly configured -for example, username and password for the backend that will be used by all connections, coming to this listener: https://mariadb.com/kb/en/mariadb-maxscale-6-nosql-protocol-module/#parameters This works for static configuration, but not for dynamic one via maxctrl:
The listener itself before patching:
MaxScale version:
|
| Comments |
| Comment by markus makela [ 2021-11-03 ] |
|
As a workaround, you can destroy and recreate the listener to reconfigure it. |
| Comment by markus makela [ 2021-11-16 ] |
|
There's two parts to this problem: the problem of the parameter not being detected and the fact that nosqlprotocol doesn't currently support modification of parameters at runtime. |
| Comment by Assen Totin (Inactive) [ 2021-11-16 ] |
|
Maybe update the KB at least then, until it becomes feasible to implement dynamic config? My impression from MaxScale modules, which may well be wrong, was that pretty much everything in their config can be change on-the-fly. Would be nice to ave exceptions outlined in the docs, to avoid confution. |
| Comment by markus makela [ 2021-11-16 ] |
|
Yup, we can definitely do that. |