Bug 1306 solved 94/10094/1
authorlloretgalleg <illoret@indra.es>
Thu, 10 Dec 2020 14:21:10 +0000 (14:21 +0000)
committerlloretgalleg <illoret@indra.es>
Thu, 10 Dec 2020 14:23:24 +0000 (14:23 +0000)
Corrected problem introduced at commit aae391fc that changed parameters
to deploy ee for helm

Change-Id: I33e5971e5620d8d37134cbb2dfa499f5eaa17bc4
Signed-off-by: lloretgalleg <illoret@indra.es>
osm_lcm/ns.py

index a90f4e8..8cde03a 100644 (file)
@@ -1202,7 +1202,7 @@ class NsLcm(LcmBase):
                 )
 
                 step = "create execution environment"
-                self.logger.debug(logging_text + step)
+                self.logger.debug(logging_text + step)                
 
                 ee_id = None
                 credentials = None
@@ -1215,15 +1215,16 @@ class NsLcm(LcmBase):
                         cloud_name=vca_k8s_cloud,
                         credential_name=vca_k8s_cloud_credential,
                     )
-                elif vca_type == "helm" or vca_type == "helm-v3":
+                elif vca_type == "helm" or vca_type == "helm-v3":                    
                     ee_id, credentials = await self.vca_map[vca_type].create_execution_environment(
                         namespace=namespace,
                         reuse_ee_id=ee_id,
                         db_dict=db_dict,
-                        cloud_name=vca_cloud,
-                        credential_name=vca_cloud_credential,
+                        config=osm_config,
+                        artifact_path=artifact_path,
+                        vca_type=vca_type
                     )
-                else:
+                else:                    
                     ee_id, credentials = await self.vca_map[vca_type].create_execution_environment(
                         namespace=namespace,
                         reuse_ee_id=ee_id,