Public bug reported:

OS: ubuntu
Version: icehouse

Glance can't listen on the ipv6 address if it is setup on a separate node from 
nova-controller , and report below error:
******** log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1951
2014-06-18 16:53:55.567 21489 CRITICAL glance [-] gaierror: (-5, 'No address 
associated with hostname')
2014-06-18 16:53:55.567 21489 TRACE glance Traceback (most recent call last):
2014-06-18 16:53:55.567 21489 TRACE glance   File "/usr/bin/glance-api", line 
10, in <module>
2014-06-18 16:53:55.567 21489 TRACE glance     sys.exit(main())
2014-06-18 16:53:55.567 21489 TRACE glance   File 
"/usr/lib/python2.7/dist-packages/glance/cmd/api.py", line 63, in main
2014-06-18 16:53:55.567 21489 TRACE glance     
server.start(config.load_paste_app('glance-api'), default_port=9292)
2014-06-18 16:53:55.567 21489 TRACE glance   File 
"/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 233, in start
2014-06-18 16:53:55.567 21489 TRACE glance     self.sock = 
get_socket(default_port)
2014-06-18 16:53:55.567 21489 TRACE glance   File 
"/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 123, in 
get_socket
2014-06-18 16:53:55.567 21489 TRACE glance     socket.SOCK_STREAM)
2014-06-18 16:53:55.567 21489 TRACE glance   File 
"/usr/lib/python2.7/dist-packages/eventlet/support/greendns.py", line 174, in 
getaddrinfo
2014-06-18 16:53:55.567 21489 TRACE glance     rrset = resolve(host)
2014-06-18 16:53:55.567 21489 TRACE glance   File 
"/usr/lib/python2.7/dist-packages/eventlet/support/greendns.py", line 133, in 
resolve
2014-06-18 16:53:55.567 21489 TRACE glance     raise socket.gaierror(error)
2014-06-18 16:53:55.567 21489 TRACE glance gaierror: (-5, 'No address 
associated with hostname')

** Affects: glance
     Importance: Undecided
     Assignee: Xiang Hui (xianghui)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Xiang Hui (xianghui)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1331885

Title:
  Glance service doesn't support ipv6

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  OS: ubuntu
  Version: icehouse

  Glance can't listen on the ipv6 address if it is setup on a separate node 
from nova-controller , and report below error:
  ******** log_opt_values 
/usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1951
  2014-06-18 16:53:55.567 21489 CRITICAL glance [-] gaierror: (-5, 'No address 
associated with hostname')
  2014-06-18 16:53:55.567 21489 TRACE glance Traceback (most recent call last):
  2014-06-18 16:53:55.567 21489 TRACE glance   File "/usr/bin/glance-api", line 
10, in <module>
  2014-06-18 16:53:55.567 21489 TRACE glance     sys.exit(main())
  2014-06-18 16:53:55.567 21489 TRACE glance   File 
"/usr/lib/python2.7/dist-packages/glance/cmd/api.py", line 63, in main
  2014-06-18 16:53:55.567 21489 TRACE glance     
server.start(config.load_paste_app('glance-api'), default_port=9292)
  2014-06-18 16:53:55.567 21489 TRACE glance   File 
"/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 233, in start
  2014-06-18 16:53:55.567 21489 TRACE glance     self.sock = 
get_socket(default_port)
  2014-06-18 16:53:55.567 21489 TRACE glance   File 
"/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 123, in 
get_socket
  2014-06-18 16:53:55.567 21489 TRACE glance     socket.SOCK_STREAM)
  2014-06-18 16:53:55.567 21489 TRACE glance   File 
"/usr/lib/python2.7/dist-packages/eventlet/support/greendns.py", line 174, in 
getaddrinfo
  2014-06-18 16:53:55.567 21489 TRACE glance     rrset = resolve(host)
  2014-06-18 16:53:55.567 21489 TRACE glance   File 
"/usr/lib/python2.7/dist-packages/eventlet/support/greendns.py", line 133, in 
resolve
  2014-06-18 16:53:55.567 21489 TRACE glance     raise socket.gaierror(error)
  2014-06-18 16:53:55.567 21489 TRACE glance gaierror: (-5, 'No address 
associated with hostname')

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1331885/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to