OpenStack Image Registry and Delivery Service (Glance)

NameError: global name 'errno' is not defined

Reported by Aaron Lee on 2011-10-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Low
Kevin L. Mitchell

Bug Description

This was encountered when trying to start glance-api when it was already running.

Traceback (most recent call last):
  File "./bin/glance-api", line 66, in <module>
    server.start(app, int(conf['bind_port']), conf['bind_host'], conf)
  File "/Users/aaron/work/nova/github/glance/glance/common/wsgi.py", line 125, in start
    socket = get_socket(host, port, conf)
  File "/Users/aaron/work/nova/github/glance/glance/common/wsgi.py", line 92, in get_socket
    if err.args[0] != errno.EADDRINUSE:
NameError: global name 'errno' is not defined
kilStarting the Token Authentication component
l
[2]- Exit 1 ./bin/glance-api

Jay Pipes (jaypipes) on 2011-10-31
Changed in glance:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Low
assignee: nobody → Jay Pipes (jaypipes)
milestone: none → essex-1
Jay Pipes (jaypipes) on 2011-11-01
Changed in glance:
assignee: Jay Pipes (jaypipes) → Kevin L. Mitchell (klmitch)
status: Triaged → In Progress

Reviewed: https://review.openstack.org/1220
Committed: http://github.com/openstack/glance/commit/25bae72c254242839766eced9f457ee56c2a3131
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 25bae72c254242839766eced9f457ee56c2a3131
Author: Kevin L. Mitchell <email address hidden>
Date: Tue Nov 1 11:22:48 2011 -0500

    Add "import errno" to a couple of files.

    Two files were missing "import errno"; added it. This fixes
    bug 884382.

    Change-Id: If6e6eea33f5db91e317e4c874f74b268bd34e7f6

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2011-11-17
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in glance:
milestone: essex-1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers