Fix deploy.py return code 97/10997/2
authorPeter Barabas <peter.barabas@ericsson.com>
Mon, 7 Mar 2016 14:32:04 +0000 (15:32 +0100)
committerPeter Barabas <peter.barabas@ericsson.com>
Mon, 7 Mar 2016 14:35:39 +0000 (15:35 +0100)
Fixes https://jira.opnfv.org/browse/FUEL-100

Change-Id: Ic2e01372778720cde84d83738d8b2c85b005124a
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
deploy/deploy.py

index bc1dfdb..492c759 100755 (executable)
@@ -224,7 +224,8 @@ class AutoDeploy(object):
             self.install_fuel_master()
         if not self.fuel_only:
             return self.deploy_env()
-        return True
+        # Exit status
+        return 0
 
     def run(self):
         check_if_root()
@@ -235,7 +236,8 @@ class AutoDeploy(object):
             if self.cleanup:
                 self.cleanup_execution_environment()
             return deploy_success
-        return True
+        # Exit status
+        return 0
 
 def check_bridge(pxe_bridge, dha_path):
     with io.open(dha_path) as yaml_file: