cinder-api fails to listen on ipv6 if pythondns is installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If osapi_volume_listen is an ipv6 address then attempting to start the cinder-api service gets:
2015-07-03 12:49:57.696 TRACE cinder Traceback (most recent call last):
2015-07-03 12:49:57.696 TRACE cinder File "/usr/local/
2015-07-03 12:49:57.696 TRACE cinder exec(compile(
2015-07-03 12:49:57.696 TRACE cinder File "/opt/stack/
2015-07-03 12:49:57.696 TRACE cinder server = service.
2015-07-03 12:49:57.696 TRACE cinder File "/opt/stack/
2015-07-03 12:49:57.696 TRACE cinder port=self.port)
2015-07-03 12:49:57.696 TRACE cinder File "/opt/stack/
2015-07-03 12:49:57.696 TRACE cinder family=family)
2015-07-03 12:49:57.696 TRACE cinder File "/usr/local/
2015-07-03 12:49:57.696 TRACE cinder sock.bind(addr)
2015-07-03 12:49:57.696 TRACE cinder File "/usr/lib/
2015-07-03 12:49:57.696 TRACE cinder return getattr(
2015-07-03 12:49:57.696 TRACE cinder gaierror: [Errno -9] Address family for hostname not supported
The environment is Openstack Juno on Ubuntu 14.04 (devstack )
Note that pythondns is installed as a dependency if swift is installed, so is quite easy to trigger this.
This looks to be similar to https:/
Nova gets around this by setting EVENTLET_
Needs repro.