summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaopeng zhang <zhang.maopeng1@zte.com.cn>2019-05-10 09:42:11 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-10 09:42:11 +0000
commit8a9940b47bb0dd1604a18758426d8a77686838a8 (patch)
tree957b4eea28fbebc7750aa450a222cf0089b17515
parentcf9e69882bff369c948e8157273dd850a9c930cc (diff)
parentd1bb5556cefa5344d4d3795c1ca91e4b892eb0bf (diff)
Merge "Fix bugs for nslcm"
-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")