Bug #50298 | slave agent only looks for master.info in data directory | ||
---|---|---|---|
Submitted: | 13 Jan 2010 4:37 | Modified: | 11 Jan 2011 17:52 |
Reporter: | Shannon Wade | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Enterprise Monitor: Agent | Severity: | S3 (Non-critical) |
Version: | 2.1.0.1096 | OS: | Any |
Assigned to: | Michael Schuster | CPU Architecture: | Any |
[13 Jan 2010 4:37]
Shannon Wade
[13 Jan 2010 20:59]
Enterprise Tools JIRA Robot
Mark Leith writes: Also see http://bugs.mysql.com/bug.php?id=50316
[15 Jan 2010 8:09]
Simon Mudd
Please understand why I'm writing this comment in here. AFAIK the agent currently uses this information to try and get the slave's replication credentials and then to login to the master server using those credentials to get information on mysql.inventory. This is extremely bad etiquette, impersonating another "user". The mysqld replication user is supposed to be talking to the master with these credentials. If the agent wants to talk to the master then it should be given specific credentials to obtain the specific information it needs. Unfortunately this information is currently not available to the agent. Therefore I would recommend rather than look for the mysqld's master.info file you fix the agent and ensure that the DBA/sysadmin provides credentials to access the master server. Current behaviour is very antisocial. I have already complained about this before in the Enterprise ticketing system, but you guys don't "get it". Give me your credit card numbers and let me go shopping.... PLEASE fix the behaviour cleanly and if nothing else login with the username provided by the current agent credentials, and to the master server as provided by the master.info. That at least is slightly better. See: https://support.mysql.com/view.php?id=43220
[25 Jan 2010 21:04]
Enterprise Tools JIRA Robot
Mark Leith writes: Please see http://bugs.mysql.com/bug.php?id=50604 for a feature request to disable using the master.info file. This bug is related to not being able to use the feature properly when --master-info-file is set.
[11 Jan 2011 17:52]
John Russell
Added to 2.2.0 change log: The master.info file was not located properly if the MySQL server was started with the --master-info-file option. The specifics of how the file is located weren't documented in the MEM manual, so there is no doc impact beyond the change log.