[openstack-dev] keystone-manage db_sync doesn't work if [database] connection points to IPv6 address

Martinx - ジェームズ thiagocmartinsc at gmail.com
Mon Feb 3 04:43:07 UTC 2014


Done.

https://bugs.launchpad.net/keystone/+bug/1275615

I'll try it again tomorrow... Just to make sure it isn't me doing something
wrong...

Best!
Thiago


On 2 February 2014 15:58, Martinx - ジェームズ <thiagocmartinsc at gmail.com> wrote:

> Sure! I'll...    =)
>
>
> On 2 February 2014 13:32, Dolph Mathews <dolph.mathews at gmail.com> wrote:
>
>> Can you open a bug for this at https://bugs.launchpad.net/keystone ?
>> Thanks!
>>
>> On Sun, Feb 2, 2014 at 9:15 AM, Martinx - ジェームズ <
>> thiagocmartinsc at gmail.com> wrote:
>>
>>> Guys,
>>>
>>> I'm trying to install IceHouse-2 in a dual-stacked environment (Ubuntu
>>> 14.04) but, "keystone-manage db_sync" doesn't work if db connection points
>>> to a IPv6 address, like this:
>>>
>>> My /etc/network/interfaces looks like:
>>>
>>> ---
>>> # The loopback network interface
>>> auto lo
>>> iface lo inet loopback
>>> iface lo inet6 loopback
>>>
>>> auto eth0
>>> # IPv6
>>> iface eth0 inet6 static
>>>         address 2001:1291:XXXX:fffa::aaaa
>>>         netmask 64
>>>         gateway 2001:1291:XXXX:fffa::1
>>>        # dns-* options are implemented by the resolvconf package, if
>>> installed
>>>         dns-search domain.com
>>>         dns-nameservers 2001:4860:4860::8844
>>> # IPv4
>>> iface eth0 inet static
>>>        address 192.168.XX.100
>>>        netmask 24
>>>        gateway 192.168.XX.1
>>>        # dns-* options are implemented by the resolvconf package, if
>>> installed
>>>        dns-nameservers 8.8.4.4 8.8.8.8
>>>        dns-search domain.com
>>> ---
>>>
>>> My /etc/hosts contains:
>>>
>>> ---
>>> 2001:1291:XXXX:fffa::aaaa        controller-1.domain.com  controller-1
>>> 192.168.XX.100  controller-1.domain.com  controller-1
>>> ---
>>>
>>> MySQL binds on both IPv4 and IPv6, my.cnf like this:
>>>
>>> ---
>>> bind-address = ::
>>> ---
>>>
>>> My /etc/keystone/keystone.conf contains:
>>>
>>> ---
>>> connection = mysql://
>>> keystoneUser:keystonePass at controller-1.domain.com/keystone
>>> ---
>>>
>>> So, this way, "keystone-manage db_sync" does not work but, if I replace
>>> keystone.conf connection line into this:
>>>
>>> ---
>>> connection = mysql://keystoneUser:keystonePass@192.168.XX.100/keystone
>>> ---
>>>
>>> It works! Then, after db_sync, I return it back to FQDN, where it
>>> resolves to IPv6 address and it works fine...
>>>
>>> Cheers!
>>> Thiago
>>>
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140203/09ce8838/attachment.html>


More information about the OpenStack-dev mailing list