[MXS-4146] Xpand MaxScale Tutorial in KB doesn't work Created: 2022-05-24 Updated: 2022-07-11 Resolved: 2022-06-07 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.21, 6.4.1, 22.08.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Anne Strasser (Inactive) | Assignee: | Johan Wikman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | MXS-SPRINT-159 |
| Description |
|
This was originally reported in the docs-talk slack channel by Luke Smith. Luke reported a problem with this KB documentation page about using MaxScale with Xpand, which is generated from this page in GitHub. This document does not list the full set of required privileges. When a user tries to connect with the privileges listed in the document, they will see the following error in the Maxscale error log:
If the SELECT privilege is granted on the `system`.`users` table, users still see the following error in the Maxscale error log:
If the SELECT privilege is also granted on the `system`.`user_acl` table, then connections are successful. However, there might be other permissions missing as the "maxscale" user still can't use customer databases due to the following error in the MaxScale error log:
|
| Comments |
| Comment by Anne Strasser (Inactive) [ 2022-05-25 ] |
|
Another comment from Luke Smith via docs-talk slack channel So the next thing it wanted was show databases permission. Though I believe I see the issue, it seems this is just for the monitor user, not for an actual database proxy user(one that checks auth/grants/etc). |
| Comment by Johan Wikman [ 2022-06-06 ] |
|
I think this is a documentation problem. The user used for the monitor and the user used for the service need a disjoint set of rights. However, since the tutorial uses the same user for both the monitor and the service, this may not be obvious. |
| Comment by markus makela [ 2022-07-11 ] |
|
Changed this to a Task since it's not a bug and doesn't belong in the release notes. |