You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/06/17 20:43:21 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13685834#comment-13685834 ] 

ASF subversion and git services commented on CLOUDSTACK-1623:
-------------------------------------------------------------

Commit d4477ba8da60290d21afd58ce0901d12c85de3a9 in branch refs/heads/master from [~shankerbalan]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d4477ba ]

CLOUDSTACK-1623: Update documentation to check hosts entry for correct loopback interface setup to fix cloud-setup-databases issues during setup

                
> 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
>            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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira