NameError: global name 'errno' is not defined

Bug #884382 reported by Aaron Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
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)
Changed in glance:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Low
assignee: nobody → Jay Pipes (jaypipes)
milestone: none → essex-1
Jay Pipes (jaypipes)
Changed in glance:
assignee: Jay Pipes (jaypipes) → Kevin L. Mitchell (klmitch)
status: Triaged → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to glance (master)

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)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: essex-1 → 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.