NameError: global name 'sleep' is not defined

Bug #888215 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
Dan Prince

Bug Description

I'm seeing the following exception from glance wsgi:

Traceback (most recent call last):
  File "/usr/bin/glance-api", line 66, in <module>
    server.start(app, int(conf['bind_port']), conf['bind_host'], conf)
  File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 126, in start
    socket = get_socket(host, port, conf)
  File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 95, in get_socket
    sleep(0.1)
NameError: global name 'sleep' is not defined

Dan Prince (dan-prince)
Changed in glance:
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/1468
Committed: http://github.com/openstack/glance/commit/f6d8437d5bdc81309f850a8d6f9628438b5353da
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit f6d8437d5bdc81309f850a8d6f9628438b5353da
Author: Dan Prince <email address hidden>
Date: Wed Nov 9 13:26:11 2011 -0500

    Fix global name 'sleep' is not defined in wsgi.py. Fixes bug #888215.

    Change-Id: I02a43dfaf3cb0505e14b7f942bb64f3e94dbf4fa

Changed in glance:
status: In Progress → Fix Committed
Jay Pipes (jaypipes)
Changed in glance:
milestone: none → essex-2
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: essex-2 → 2012.1
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.