aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-05-10 17:26:22 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-05-10 17:26:22 +0800
commitd1bb5556cefa5344d4d3795c1ca91e4b892eb0bf (patch)
tree3767fece01298795cc041c707ffe416ebdf06cd3
parent1105bdea04c514d05f25b2636da5ab0d261140e2 (diff)
Fix bugs for nslcm
Change-Id: I60f60edfcf1c7add9c8daa712b03c898501c8125 Issue-ID: VFC-1306 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r--lcm/ns_vnfs/biz/create_vnfs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcm/ns_vnfs/biz/create_vnfs.py b/lcm/ns_vnfs/biz/create_vnfs.py
index 4f270b50..a32ed8a4 100644
--- a/lcm/ns_vnfs/biz/create_vnfs.py
+++ b/lcm/ns_vnfs/biz/create_vnfs.py
@@ -36,7 +36,7 @@ from lcm.pub.msapi.sdc_run_catalog import query_vnfpackage_by_id
from lcm.pub.msapi.vnfmdriver import send_nf_init_request
from lcm.pub.utils import restcall
from lcm.pub.utils.jobutil import JobUtil
-from lcm.pub.utils.share_lock import do_biz_with_share_lock
+# from lcm.pub.utils.share_lock import do_biz_with_share_lock
from lcm.pub.utils.timeutil import now_time
from lcm.pub.utils.values import ignore_case_get
@@ -414,7 +414,7 @@ class CreateVnfs(Thread):
def save_info_to_db(self):
logger.debug("save_info_to_db start")
- do_biz_with_share_lock("set-vnflist-in-vnffginst-%s" % self.ns_inst_id, self.save_vnf_inst_id_in_vnffg)
+ # do_biz_with_share_lock("set-vnflist-in-vnffginst-%s" % self.ns_inst_id, self.save_vnf_inst_id_in_vnffg)
NfInstModel.objects.filter(nfinstid=self.nf_inst_id).update(status=VNF_STATUS.ACTIVE, lastuptime=now_time())
logger.debug("save_info_to_db end")