Description of problem:
The engine doesn't close the file descriptor used to open and read the .keystore file, as a result after some time file descriptors are exhausted an the engine is non operational.
Version-Release number of selected component (if applicable):
Not that this is the first 3.1 beta, before the change in the numbering schema for pre-releases.
Steps to Reproduce:
1. Start the engine and wait.
The engine is non operational.
The file descriptor should be closed after use.
The following message appears repeatedly in the engine.log file:
2012-06-17 05:21:24,682 ERROR
(ajp--0.0.0.0-8009-9) Failed to decryptjava.io.FileNotFoundException:
/etc/pki/ovirt-engine/.keystore (Too many open files)
Running lsof -p <engine pid> shows hundreds of the same open file:
java 3557 ovirt 839r REG 253,0 3230 7865608
java 3557 ovirt 840r REG 253,0 3230 7865608
java 3557 ovirt 841r REG 253,0 3230 7865608
The change to fix this issue is here:
It has already been merged in the master branch, and it is waiting for review in the engine_3.1 branch:
New oVirt 3.1 beta build containing this fix has been uploaded to ovirt.org.
closing ON_QA bugs as oVirt 3.1 was released: