[MXS-1990] Why the maxscale_schema together with the heartbeat table is not created with a creation command? Created: 2018-07-28 Updated: 2018-07-31 Resolved: 2018-07-31 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | mariadbmon |
| Affects Version/s: | 2.2.9 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Wagner Bianchi (Inactive) | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Folks, I prepared the below commands after starting a Maxscale 2.2.9 with a necessary configuration file. I have seen an issue after creating the monitor with detect_replication_lag=1 and adding the first server under the service (defined on the basic configuration file) and the monitor with the previously mentioned variable to detect slaves lagging.
And then, I start the maxscale.service, see log events below:
And then, I ran the below commands:
When adding the server n01, the very first server out of 5, I see the below log events at the maxscale log:
The user 'maxmon'@'10.136.72.138' privileges:
What I see here: the user for the mariadbmon can access the backend as it's now master and that user was used to polling the backend state, it has the right privileges, if not more than needed, but, something is happening when enabling that slave lag detection. That's the current environment topology:
Let me know please if you need any other test or information, cheers! |
| Comments |
| Comment by markus makela [ 2018-07-30 ] |
|
The user appears to be missing the required grants: https://mariadb.com/kb/en/mariadb-enterprise/mariadb-maxscale-22-mariadb-monitor/#detect_replication_lag |