Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In hod-client, we have
sys.exit(hod.operation()) sys.exit(hod.script())
sys.exit(opCode) makes sure that the client is truly cleaned up, killing unjoined threads etc. So, exceptions not caught by hodRunner.operation() or hodRunner.script(), will by-pass sys.exit method and thus can potentially hang hod-client.
For e.g., when hod allocate fails after allocation and before service-registry thread is cleaned up, hod client will hang.