From: David Garcia Date: Thu, 16 Jul 2020 15:50:09 +0000 (+0200) Subject: Fix issue with cluster_uuid X-Git-Tag: release-v9.0-start~43 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=ba76f91cdc727eba9b28b0ee0595247f32f76789;p=osm%2FLCM.git Fix issue with cluster_uuid The cluster_uuid passed does not correspond with the right one. Change-Id: I435017c8ca15f5b66e32e84451ec3acff2467c89 Signed-off-by: David Garcia --- diff --git a/osm_lcm/vim_sdn.py b/osm_lcm/vim_sdn.py index 6a3deb5..b216c77 100644 --- a/osm_lcm/vim_sdn.py +++ b/osm_lcm/vim_sdn.py @@ -997,7 +997,10 @@ class K8sClusterLcm(LcmBase): # Juju/k8s cluster k8s_jb_id = None try: - k8s_jb_id, uninstall_sw = await self.juju_k8scluster.init_env(k8s_credentials) + k8s_jb_id, uninstall_sw = await self.juju_k8scluster.init_env( + k8s_credentials, + reuse_cluster_uuid=k8scluster_id + ) db_k8scluster_update["_admin.juju-bundle.id"] = k8s_jb_id db_k8scluster_update["_admin.juju-bundle.created"] = uninstall_sw except Exception as e: