From: Harry Huang Date: Mon, 31 Jul 2017 01:48:10 +0000 (+0800) Subject: Fix OS install bug X-Git-Tag: opnfv-5.0.0~38 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=92473847f4758fa9557c677ae207e9e92de1f13f;p=compass4nfv.git Fix OS install bug There is a missing indent in the judgement code block for OS installation complete which cause OS installation complete only affected by the state of host1 Change-Id: I5d470aef93b65ca77d290e596a4fefd62a82517b Signed-off-by: Harry Huang --- diff --git a/deploy/client.py b/deploy/client.py index 5eab212d..981924f1 100644 --- a/deploy/client.py +++ b/deploy/client.py @@ -941,7 +941,7 @@ class CompassClient(object): status, response = self.client.get_host_state(id) if response['state'] != 'SUCCESSFUL': ready = False - break + break current_time = time.time() if not ready: