cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Hitchins (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CLOUDSTACK-1623) MySQL Database connection can fail to "localhost" on a V6 enabled host
Date Thu, 06 Mar 2014 15:40:42 GMT

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

Alex Hitchins reassigned CLOUDSTACK-1623:
-----------------------------------------

    Assignee: Alex Hitchins

> 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)

Mime
View raw message