Bugzilla – Bug 2102 : Vertical Scaling failed in LCM in _wait_ng_ro method 54/12454/1
authorgovindarajul <Jayaprakash.g@tataelxsi.co.in>
Wed, 6 Jul 2022 10:47:00 +0000 (10:47 +0000)
committergovindarajul <jayaprakash.g@tataelxsi.co.in>
Fri, 12 Aug 2022 12:34:49 +0000 (14:34 +0200)
Change-Id: I3e25b40fe7957f8b7b30b530499ffe8843eb0de3
Signed-off-by: govindarajul <Jayaprakash.g@tataelxsi.co.in>
(cherry picked from commit 12794ee9112f4da3c3988bf920fbc8af3c492eb1)

osm_lcm/ns.py

index ee9bc5c..8dd8b2a 100644 (file)
@@ -225,6 +225,7 @@ class NsLcm(LcmBase):
             "termination": self.RO.status,
             "migrate": self.RO.status,
             "healing": self.RO.recreate_status,
+            "verticalscale": self.RO.status,
         }
 
     @staticmethod
@@ -8421,7 +8422,8 @@ class NsLcm(LcmBase):
             self.logger.debug("RO return > {}".format(desc))
             action_id = desc["action_id"]
             await self._wait_ng_ro(
-                nsr_id, action_id, nslcmop_id, start_deploy, self.timeout_verticalscale
+                nsr_id, action_id, nslcmop_id, start_deploy, self.timeout_verticalscale,
+                operation="verticalscale"
             )
         except (ROclient.ROClientException, DbException, LcmException) as e:
             self.logger.error("Exit Exception {}".format(e))