OpenStack Image Registry and Delivery Service (Glance)

NameError: global name 'sleep' is not defined

Reported by Dan Prince on 2011-11-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
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) on 2011-11-09
Changed in glance:
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → Medium
status: New → In Progress

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) on 2011-11-09
Changed in glance:
milestone: none → essex-2
Thierry Carrez (ttx) on 2011-12-14
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in glance:
milestone: essex-2 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers