nova-api crashed with input/output error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Have seen this issue in 3 completely different environments already:
Nova-api service crashed with I/O error (errno 5)
2011-10-10 08:04:58,273 INFO nova.api [-] 2.623943s 170.70.0.7 GET /latest/user-data/ None:None 200 [None] application/json text/html
2011-10-10 08:05:21,022 CRITICAL nova [-] [Errno 5] Input/output error
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/mnt/share/
(nova): TRACE: service.wait()
(nova): TRACE: File "/mnt/share/
(nova): TRACE: _launcher.wait()
(nova): TRACE: File "/mnt/share/
(nova): TRACE: service.wait()
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return self._exit_
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return hubs.get_
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return self.greenlet.
(nova): TRACE: File "/usr/lib/
(nova): TRACE: self.wait(
(nova): TRACE: File "/usr/lib/
(nova): TRACE: self.squelch_
(nova): TRACE: File "/usr/lib/
(nova): TRACE: traceback.
(nova): TRACE: File "/usr/lib/
(nova): TRACE: _print(file, 'Traceback (most recent call last):')
(nova): TRACE: File "/usr/lib/
(nova): TRACE: file.write(
(nova): TRACE: IOError: [Errno 5] Input/output error
(nova): TRACE:
The code base is very close to Diablo release (includes some patches on top of Diablo)
nova services were spawned without redirection of stderr into file or /dev/null.
Nova-api was throwing exceptions like:
Exception TypeError: "'Connection' object is not iterable" in <bound method TpooledConnecti onPool. __del__ of <eventlet. db_pool. TpooledConnecti onPool object at 0x3ef0410>> ignored
and this was probably caused the crash.
These exceptions seem to be related to db_pool code removed in Essex