keystone-manage db_sync fails in a dual-stacked environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Low
|
Morgan Fainberg |
Bug Description
Hello Stackers!
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/
---
# The loopback network interface
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto eth0
# IPv6
iface eth0 inet6 static
address 2001:1291:
netmask 64
gateway 2001:1291:
# dns-* options are implemented by the resolvconf package, if installed
dns-search domain.com
# 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-search domain.com
---
My /etc/hosts contains:
---
2001:1291:
192.168.XX.100 controller-
---
MySQL binds on both IPv4 and IPv6, my.cnf have this:
---
bind-address = ::
---
My /etc/keystone/
---
connection = mysql:/
---
But, this way, "keystone-manage db_sync" does not work and, if I replace keystone.conf connection line into this:
---
connection = mysql:/
---
Then, "keystone-manage db_sync" works! So, after db_sync finishes, I return it back to the FQDN, where it resolves to IPv6 address and it works fine (keystone user-list, etc, via IPv6)...
I tried it 3 times, always re-installing Ubuntu 14.04 from scratch, same result... "keystone-make db_sync" doesn't start its operations... I'll try again tomorrow, to see if it is just me, or not... =)
Best!
Thiago
tags: | removed: ipv4 lts openstack ubuntu |
Changed in keystone: | |
milestone: | none → icehouse-3 |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in keystone: | |
assignee: | nobody → Morgan Fainberg (mdrnstm) |
Changed in keystone: | |
importance: | Medium → Low |
Hmm, what version of SQLAlchemy are you using?