From: lloretgalleg Date: Thu, 10 Dec 2020 14:21:10 +0000 (+0000) Subject: Bug 1306 solved X-Git-Tag: release-v9.0-start~5 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=18cb3cb207d63cf1b13168f79205623030a543fa;p=osm%2FLCM.git Bug 1306 solved Corrected problem introduced at commit aae391fc that changed parameters to deploy ee for helm Change-Id: I33e5971e5620d8d37134cbb2dfa499f5eaa17bc4 Signed-off-by: lloretgalleg --- diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index a90f4e8..8cde03a 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -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,