Bugzilla – Bug 2102 : Vertical Scaling failed in LCM in _wait_ng_ro method 06/12306/1
authorgovindarajul <Jayaprakash.g@tataelxsi.co.in>
Wed, 6 Jul 2022 10:47:00 +0000 (10:47 +0000)
committergovindarajul <Jayaprakash.g@tataelxsi.co.in>
Wed, 6 Jul 2022 10:47:00 +0000 (10:47 +0000)
Change-Id: I3e25b40fe7957f8b7b30b530499ffe8843eb0de3
Signed-off-by: govindarajul <Jayaprakash.g@tataelxsi.co.in>
osm_lcm/ns.py

index 9e2ac43..a33dc9e 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
@@ -8411,7 +8412,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))