[Errno -9] Address family for hostname not supported

Bug #1325399 reported by Longgeek
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Medium
Keith Byrne

Bug Description

In /etc/ceilometer/ceilometer.conf os_auth_url option is not configured by default to use os_auth_url = http://localhost:5000/v2.0 will appear the following error:

ERROR ceilometer.central.manager [-] Skip interval_task because Keystone error: Authorization Failed: Unable to establish connection to http://localhost:5000/v2.0/tokens

TRACE ceilometer.agent ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.gaierror'>: [Errno -9] Address family for hostname not supported)

# cat /etc/hosts
127.0.0.1 localhost ubuntu
127.0.1.1 ubuntu

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Longgeek (longgeek)
Changed in ceilometer:
assignee: nobody → Longgeek (longgeek)
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/97114

Revision history for this message
ZhiQiang Fan (aji-zqfan) wrote :

I cannot reproduce this problem with latest devstack and latest ceilometer, what the particular version are you using? can you export this value to OS_ENV then execute any keystone or ceilometer command like keystone user-list or ceilometer meter-list?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ceilometer (master)

Change abandoned by Longgeek (<email address hidden>) on branch: master
Review: https://review.openstack.org/97114

gordon chung (chungg)
Changed in ceilometer:
status: In Progress → Incomplete
Longgeek (longgeek)
Changed in ceilometer:
status: Incomplete → Invalid
Revision history for this message
Ildiko Vancsa (ildiko-vancsa) wrote :
Changed in ceilometer:
status: Invalid → Fix Committed
importance: Undecided → Medium
assignee: Longgeek (longgeek) → Keith Byrne (timbyr)
milestone: none → kilo-2
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: kilo-2 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.