Ceilometer cannot support IPv6 network
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Undecided
|
Yang Yu |
Bug Description
In ceilometer.conf. in [api] part, add "host=::" to let ceilometer to listen ipv6 address, and start ceilometer-api service, will get the "gaierror: [Errno -9] Address family for hostname not supported".
The root cause is in ceilometer/
I have opened one bug to Python community--bug like: http://
the log message as below:
2014-01-03 03:35:10.662 8609 CRITICAL ceilometer [-] [Errno -9] Address family for hostname not supported
2014-01-03 03:35:10.662 8609 TRACE ceilometer Traceback (most recent call last):
2014-01-03 03:35:10.662 8609 TRACE ceilometer File "./ceilometer-api", line 10, in <module>
2014-01-03 03:35:10.662 8609 TRACE ceilometer sys.exit(start())
2014-01-03 03:35:10.662 8609 TRACE ceilometer File "/usr/lib/
2014-01-03 03:35:10.662 8609 TRACE ceilometer srv = simple_
2014-01-03 03:35:10.662 8609 TRACE ceilometer File "/usr/lib64/
2014-01-03 03:35:10.662 8609 TRACE ceilometer server = server_class((host, port), handler_class)
2014-01-03 03:35:10.662 8609 TRACE ceilometer File "/usr/lib64/
2014-01-03 03:35:10.662 8609 TRACE ceilometer self.server_bind()
2014-01-03 03:35:10.662 8609 TRACE ceilometer File "/usr/lib64/
2014-01-03 03:35:10.662 8609 TRACE ceilometer HTTPServer.
2014-01-03 03:35:10.662 8609 TRACE ceilometer File "/usr/lib64/
2014-01-03 03:35:10.662 8609 TRACE ceilometer SocketServer.
2014-01-03 03:35:10.662 8609 TRACE ceilometer File "/usr/lib64/
2014-01-03 03:35:10.662 8609 TRACE ceilometer self.socket.
2014-01-03 03:35:10.662 8609 TRACE ceilometer File "<string>", line 1, in bind
2014-01-03 03:35:10.662 8609 TRACE ceilometer gaierror: [Errno -9] Address family for hostname not supported
2014-01-03 03:35:10.662 8609 TRACE ceilometer
[root@localhost bin]# gaierror: [Errno -9] Address family for hostname not supported
Can you give me some suggests about it? whether we need to make the workaround or wait Python to fix it in python 3.5?
Changed in ceilometer: | |
assignee: | nobody → Dazhao Yu (dzyu) |
Changed in ceilometer: | |
assignee: | Dazhao Yu (dzyu) → Yang Yu (yuyangbj) |
Changed in ceilometer: | |
milestone: | none → icehouse-rc1 |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | icehouse-rc1 → 2014.1 |
The simple server is really only meant to be used for development, and not for production deployments. Production systems can deploy the ceilometer WSGI app behind any number of WSGI servers, most or all of which would be able to handle IPv6 addressing.
Do you have a development environment without IPv4 access?