Fix thread start during service start. 87/1987/1 ssh_command
authormirabal <leonardo.mirabal@altran.com>
Thu, 29 Jun 2017 15:04:21 +0000 (10:04 -0500)
committermirabal <leonardo.mirabal@altran.com>
Thu, 29 Jun 2017 15:04:21 +0000 (10:04 -0500)
Change-Id: I6dce3a6ead234a591b5acffa470248c1762a6bb4
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
osm_openvim/ovim.py

index dc21e2d..6472cc1 100755 (executable)
@@ -222,7 +222,7 @@ class ovim():
             except Exception as e:
                 self.logger.critical('Error detected for compute = {} with ip = {}'
                                      .format(host['name'], host['ip_name']))
-
+            thread.start()
             self.config['host_threads'][host['uuid']] = thread
 
         # precreate interfaces; [bridge:<host_bridge_name>, VLAN used at Host, uuid of network camping in this bridge,