When supplying IPv6 address via the service_host configuration flag, the following exception gets raised on keystone start:
Traceback (most recent call last):
File "/usr/local/bin/keystone", line 5, in <module>
pkg_resources.run_script('keystone==1.0', 'keystone')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 467, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1200, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/keystone-1.0-py2.7.egg/EGG-INFO/scripts/keystone", line 74, in <module>
server.start(app, int(conf['service_port']), conf['service_host'])
File "/usr/local/lib/python2.7/dist-packages/keystone-1.0-py2.7.egg/keystone/common/wsgi.py", line 95, in start
socket = eventlet.listen((host, port), backlog=backlog)
File "/usr/local/lib/python2.7/dist-packages/eventlet-0.9.17.dev-py2.7.egg/eventlet/convenience.py", line 38, in listen
sock.bind(addr)
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.gaierror: [Errno -9] Address family for hostname not supported
I should point out that this is a missing feature in eventlet itself; see https:/ /bitbucket. org/which_ linden/ eventlet/ issue/105/ name-resolution -needs- to-support- ipv6 for details.