running keystone-all on already running instance produces stack trace

Bug #1186394 reported by Adam Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Jeffrey Zhang

Bug Description

Running on an already running instance, produces an exception (port already in use):
[root@ykaul-os-keystone ~]# keystone-all -v
Traceback (most recent call last):
  File "/usr/bin/keystone-all", line 104, in <module>
    serve(*servers)
  File "/usr/bin/keystone-all", line 52, in serve
    server.start()
  File "/usr/lib/python2.6/site-packages/keystone/common/wsgi.py", line 70, in start
    socket = eventlet.listen((self.host, self.port), backlog=backlog)
  File "/usr/lib/python2.6/site-packages/eventlet/convenience.py", line 38, in listen
    sock.bind(addr)
  File "<string>", line 1, in bind
socket.error: [Errno 98] Address already in use

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/31641

Changed in keystone:
assignee: nobody → Davanum Srinivas (DIMS) (dims-v)
status: New → In Progress
Dolph Mathews (dolph)
Changed in keystone:
importance: Undecided → Low
Revision history for this message
Dolph Mathews (dolph) wrote :

Unassigning due to inactivity.

Changed in keystone:
assignee: Davanum Srinivas (DIMS) (dims-v) → nobody
status: In Progress → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/48614

Changed in keystone:
assignee: nobody → Jeffrey Zhang (zhang-lei-fly)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/48614
Committed: http://github.com/openstack/keystone/commit/1de911b9626e0597593d0f199b21b92e6f8cc646
Submitter: Jenkins
Branch: master

commit 1de911b9626e0597593d0f199b21b92e6f8cc646
Author: Lei Zhang <email address hidden>
Date: Fri Sep 27 17:54:16 2013 +0800

    Catch the socket exception and log it.

    Closes-Bug: #1186394
    Change-Id: I8aefe54deaa44427c6bb92cf439545e94902fb52

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: icehouse-1 → 2014.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.