You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Alex Hitchins (JIRA)" <ji...@apache.org> on 2014/03/17 11:00:48 UTC

[jira] [Resolved] (CLOUDSTACK-1623) MySQL Database connection can fail to "localhost" on a V6 enabled host

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Hitchins resolved CLOUDSTACK-1623.
---------------------------------------

    Resolution: Done

Committed by Chip on June 17, 2013, 6:43 p.m.

Applied to master: d4477ba8da60290d21afd58ce0901d12c85de3a9

Thanks for the patch!

> MySQL Database connection can fail to "localhost" on a V6 enabled host
> ----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1623
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1623
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Doc
>         Environment: CentOS / RHEL MySQL
>            Reporter: Shanker Balan
>            Assignee: Alex Hitchins
>            Priority: Trivial
>              Labels: doc
>
> The below snippet can fail on a host with a IPv6 loopback entry in the hosts file and MySQL is not setup to listen on the loopback interface.
> cloud-setup-databases cloud:<dbpassword>@localhost \
>                 --deploy-as=root:<password> \
>                 -e <encryption_type> \
>                 -m <management_server_key> \
>                 -k <database_key>
> The documentation could be updated to mention:
> 1) Ensure that MySQL is running on the IPv6 loopback interface ::1
> 2) OR, remove the "localhost" entry which points to "::1" from the hosts file
> [root@db01 ~]# telnet ::1 mysql
> Trying ::1...
> telnet: connect to address ::1: Connection refused
> [root@db01 ~]# telnet 127.0.0.1 mysql
> Trying 127.0.0.1...
> Connected to 127.0.0.1.
> Escape character is '^]'.
> 8
> 5.1.66-log?<!.c,M~vk6i1U:`Ug+:
> ^]
> telnet> Connection closed.
> [root@db01 ~]# 



--
This message was sent by Atlassian JIRA
(v6.2#6252)