Bug #80082 Incorrect error message from mysqlrpladmin
Submitted: 20 Jan 2016 19:27 Modified: 14 Dec 2016 21:40
Reporter: monty solomon Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Utilities Severity:S3 (Non-critical)
Version:1.5 OS:Any
Assigned to: CPU Architecture:Any

[20 Jan 2016 19:27] monty solomon
Description:
mysqlrpladmin prints an error message that incorrectly provides guidance to use the --discover-slaves-login option with failover

How to repeat:
# mysqlrpladmin failover
Usage: mysqlrpladmin --slaves=root@localhost:3306 <command>

mysqlrpladmin: error: Option --discover-slaves-login or --slaves is required.

Execute the mysqlrpladmin failover command with the --discover-slaves-login option and get an error message stating that the --discover-slaves-login option is invalid for use with failover.

# mysqlrpladmin failover --discover-slaves-login=.myrpladmin.cnf[white-fog]
Usage: mysqlrpladmin --slaves=root@localhost:3306 <command>

mysqlrpladmin: error: Invalid --discover-slaves-login option for 'failover'. Use --slaves instead.

Suggested fix:
Print the correct error messages for the mysqlrpladmin commands.
[28 Jan 2016 13:29] Miguel Solorzano
Thank you for the bug report.
[13 Dec 2016 17:07] Chuck Bell
Posted by developer:
 
Fixed in release/1.6.5. Documentation updated.
[14 Dec 2016 21:40] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Utilities 1.6.5 release, and here's the
changelog entry:

Corrects the error message stating the --discover-slaves-login option is not used with the failover command for the 
mysqlrpladmin utility.

Thank you.
[14 Dec 2016 21:46] Philip Olson
Posted by developer:
 
Closing again.