Bug #78261 mysqlrpladmin python error
Submitted: 28 Aug 2015 12:53 Modified: 2 Jan 2017 9:53
Reporter: Marco Passanisi Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Utilities Severity:S3 (Non-critical)
Version:Mysql 5.6 OS:Debian (version 8)
Assigned to: CPU Architecture:Any
Tags: mysqlrpladmin

[28 Aug 2015 12:53] Marco Passanisi
Description:
When I lunch the mysqlrpladmin command for failover as:

mysqlrpladmin --master=root:'password'@10.0.1.1:3601 \
--new-master=root:'password'@10.0.1.2:3607 \
--discover-slaves-login=root:'password' \
--demote-master --rpl-user=repl_user:'password --quiet switchover

I recived:

Traceback (most recent call last):
  File "/usr/bin/mysqlrpladmin", line 297, in <module>
    if check_hostname_alias(master_val, new_master_val):
  File "/usr/lib/python2.7/dist-packages/mysql/utilities/common/server.py", line 572, in check_hostname_alias
    return (server1.is_alias(server2.host) and
  File "/usr/lib/python2.7/dist-packages/mysql/utilities/common/server.py", line 993, in is_alias
    return self._update_alias(host_or_ip, suffixes)
  File "/usr/lib/python2.7/dist-packages/mysql/utilities/common/server.py", line 846, in _update_alias
    host, _ = alias.rsplit('.')
ValueError: too many values to unpack

How to repeat:
.
[12 Feb 2016 17:01] Andrii Nikitin
This may be related to bug #74549 - could you confirm exact Python version used?
[26 Feb 2016 13:18] Marco Passanisi
The version of python is the default version in debian jessie
[2 Dec 2016 9:53] Chiranjeevi Battula
Hello  Marco Passanisi,

Thank you for the bug report.
I could not repeat the issue at our end using with MySQL Utilities 1.6.4 version.

Thanks,
Chiranjeevi.
[3 Jan 2017 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".