small bugfixes for odl_reinstaller 85/25885/1
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>
Tue, 13 Dec 2016 14:37:47 +0000 (15:37 +0100)
committerNikolas Hermanns <nikolas.hermanns@ericsson.com>
Tue, 13 Dec 2016 14:37:47 +0000 (15:37 +0100)
Change-Id: Ie4d7c4811869a765da22444d80ca5f2133fe2c0f
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py

index 9eb2a70..25ec21b 100755 (executable)
@@ -13,7 +13,8 @@ class ODLReInstaller(Service):
 
     def run(self, sys_args, config):
         cloner_info_path = sys_args.cloner_info
-        SSH_CONFIG['ID_RSA_PATH'] = cloner_info_path + CONFIG.ID_RSA_PATH
+        SSH_CONFIG['ID_RSA_PATH'] = (cloner_info_path + CONFIG.ID_RSA_PATH +
+                                     'id_rsa')
         node_config = utils_yaml.read_dict_from_yaml(
             cloner_info_path + CONFIG.NODE_YAML_PATH)
         # copy ODL to all nodes where it need to be copied