[MXS-1342] 'enable_root_user' parameter is somehow turned off or not set to true & got Refresh rate limit exceeded for load of users' table. Created: 2017-08-02 Updated: 2017-09-19 Resolved: 2017-09-19 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | N/A |
| Affects Version/s: | 2.1.4 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Shreyas Parikh | Assignee: | markus makela |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Environment: |
mariadb-client-10.2 |
||
| Attachments: |
|
| Description |
|
'enable_root_user' parameter is somehow turned off or not set to true. If you have enabled the parameter for the services in MaxScale and it still does not work, please open a bug report on the MariaDB Jira and attach your maxscale.cnf and MaxScale logs with all sensitive information removed. 192.168.56.x <= Mariadb galera cluster 192.168.56.z <= maxscale server 192.168.56.a <= Client system. |
| Comments |
| Comment by Shreyas Parikh [ 2017-08-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
My client software getting authentication failed message while creating database through maxscale. it seems somehow "enable_root_user" parameter is turned off or not set to true and More information
I have attached maxscale.cnf and log file for detail | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Shreyas Parikh [ 2017-08-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
if you need more information kindly here. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2017-08-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The grants do appear to be correct. I think I'll look into whether the rather curious hostname has anything to do with this. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Shreyas Parikh [ 2017-08-03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Meanwhile with name resolution i had tried but same issue. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Shreyas Parikh [ 2017-08-09 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
any update @markus makela !! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Shreyas Parikh [ 2017-08-17 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
any process or is there any other way to use with enable root user ? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2017-08-17 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sorry for the lack of reply, seems this issue has fallen off the radar. I'll assign this to myself and investigate it. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Shreyas Parikh [ 2017-08-17 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Ahh ok , Thanks markus. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2017-08-21 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
With the following configuration, I wasn't able to reproduce the issue. My host was on 192.168.121.1, MaxScale was on 192.168.121.242. This was tested with both hostnames and IP addresses. Setting enable_root_user=false caused an error as would be expected. I'll see if testing with identical hostnames to your setup will trigger a problem. Grants
Configuration
Test
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Shreyas Parikh [ 2017-08-21 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
seems configuration is ok and same as i configured. To reproduce issue and need to create testing scenario : Here, Aegir host connect maxscale and create website through it. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2017-08-23 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I've discarded my testing setup so the exact hostname I used aren't available. I did rerun the test with a different setup but I'm having problems with getting the hostname resolution to work in MariaDB. With hostnames, MaxScale authentication would work but backend authentication would fail. Without hostnames, everything works as expected. I suspect that this could be a problem caused by the hostname resolution not working. I recommend confirming this by using explicit IP addresses instead of hostnames. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Shreyas Parikh [ 2017-08-23 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
"I suspect that this could be a problem caused by the hostname resolution not working", might be. let me check it . Ok I will attach my MariaDB system configuration files. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2017-09-15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
shreyu have you found out the reason for your problems? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2017-09-19 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I'll close this as we haven't been able to reproduce this. If a systematic way to reproduce is found, it can be reopened. |