[READINESS] Update readiness script

Changes on ready.py:

 * rename wrong variable name
 * stop if the container job is terminated

Issue-ID: OOM-2878
Signed-off-by: othman touijer <othman.touijer@soprasteria.com>
Change-Id: I5b2617ecdf39a59f7d22f3c0d4cc507801d7bc56
1 file changed