From: David Garcia Date: Mon, 20 Jan 2020 12:19:29 +0000 (+0100) Subject: Fix Bug 994: Add fs.sync before deploying charm X-Git-Tag: v7.0.1rc2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=ab1c6bc938a133b9530378fc58a1bf1f275a881e;p=osm%2FLCM.git Fix Bug 994: Add fs.sync before deploying charm Change-Id: I673e714e375bef5b5a697e53b9f64c9dcd793d55 Signed-off-by: David Garcia --- diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index 07e3125a..7a64f5d8 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -1083,6 +1083,7 @@ class NsLcm(LcmBase): element_under_configuration = "{}-{}".format(vdu_id, vdu_index or 0) # Get artifact path + self.fs.sync() # Sync from FSMongo artifact_path = "{}/{}/charms/{}".format( base_folder["folder"], base_folder["pkg-dir"],