From a96dd9c3f653a8055187adb6671ffc34f228b8a5 Mon Sep 17 00:00:00 2001 From: bravof Date: Wed, 13 Oct 2021 17:37:36 -0300 Subject: [PATCH] bugfix(filesystem sync): sync vnf descriptor files before running a primitive. Bug 1690 Change-Id: I8ccad0836c8392d97be9417b61f438316fc2e6d4 Signed-off-by: bravof --- osm_lcm/ns.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index b13d466..d6184fd 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -4787,6 +4787,9 @@ class NsLcm(LcmBase): ) step = "Getting vnfd from database" db_vnfd = self.db.get_one("vnfds", {"_id": db_vnfr["vnfd-id"]}) + + # Sync filesystem before running a primitive + self.fs.sync(db_vnfr["vnfd-id"]) else: step = "Getting nsd from database" db_nsd = self.db.get_one("nsds", {"_id": db_nsr["nsd-id"]}) -- 2.25.1