keystone-bin should properly reload configuration and restart services on SIGHUP
Bug #1337850 reported by
Abhishek Kekane
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Wishlist
|
Abhishek Kekane |
Bug Description
When SIGHUP signal is send to keystone service, it stops the process and while restarting the keystone process, it throws AttributeError: 'Server' object has no attribute 'reset'
Steps to reproduce:
1. Run keystone service as daemon.
2. Send SIGHUP signal to keystone service
kill -1 <parent_
Changed in keystone: | |
assignee: | nobody → Abhishek Kekane (abhishek-kekane) |
Changed in keystone: | |
importance: | Undecided → Medium |
status: | New → Triaged |
summary: |
- Keystone service outputs error messages when SIGHUP signal is sent + keystone-bin should properly reload configuration and restart services + on SIGHUP |
Changed in keystone: | |
importance: | Medium → Wishlist |
Changed in keystone: | |
assignee: | David Stanek (dstanek) → Abhishek Kekane (abhishek-kekane) |
Changed in keystone: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | juno-3 → 2014.2 |
To post a comment you must log in.
After adding reset method in Server class.
When SIGHUP signal is sent to keystone process, it stops and while restarting the keystone process, it throws error: [Errno 9] Bad file descriptor.
Traceback (most recent call last): python2. 7/dist- packages/ eventlet/ hubs/hub. py", line 346, in fire_timers python2. 7/dist- packages/ eventlet/ hubs/timer. py", line 56, in __call__ python2. 7/dist- packages/ eventlet/ greenthread. py", line 194, in main keystone/ keystone/ common/ environment/ eventlet_ server. py", line 172, in _run python2. 7/dist- packages/ eventlet/ wsgi.py" , line 635, in server python2. 7/socket. py", line 224, in meth self._sock, name)(* args) python2. 7/socket. py", line 170, in _dummy
File "/usr/lib/
timer()
File "/usr/lib/
cb(*args, **kw)
File "/usr/lib/
result = function(*args, **kwargs)
File "/opt/stack/
debug=False
File "/usr/lib/
serv = Server(sock, sock.getsockname(),
File "/usr/lib/
return getattr(
File "/usr/lib/
raise error(EBADF, 'Bad file descriptor')
error: [Errno 9] Bad file descriptor