[MXS-1594] MASTER_PASSWORD not being correctly used when triggering a switchover Created: 2018-01-03 Updated: 2018-01-11 Resolved: 2018-01-11 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | mariadbmon |
| Affects Version/s: | 2.2.1 |
| Fix Version/s: | 2.2.1 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Wagner Bianchi (Inactive) | Assignee: | Esa Korhonen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 7 |
||
| Description |
|
Folks, I found another problem guys when you do the switchover, you need to enter the CHANGE MASTER TO on the new slave to replicate off the new master. And then, a new file `master.info` is created with the information for the replication threads to start the replication. A couple of information is username and password, which in this case are equivalent to the replication_user and replication_password you set under the mysqlmon configurations for the Maxscale. Look at this:
You can see that the password for the user `repl` isn’t `'KP` but `123456`…maybe something wrong going on with using the var after reading the replication_password under the monitor configuration? After the switchover done by Maxscale, I’m always getting:
My monitor configurations
Can you folks have a look at this issue? |
| Comments |
| Comment by Esa Korhonen [ 2018-01-11 ] |
|
Clarified error message. |