Bugzilla – Bug 2102 : Vertical Scaling failed in LCM in _wait_ng_ro method
Change-Id: I3e25b40fe7957f8b7b30b530499ffe8843eb0de3
Signed-off-by: govindarajul <Jayaprakash.g@tataelxsi.co.in>
diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py
index 9e2ac43..a33dc9e 100644
--- a/osm_lcm/ns.py
+++ b/osm_lcm/ns.py
@@ -225,6 +225,7 @@
"termination": self.RO.status,
"migrate": self.RO.status,
"healing": self.RO.recreate_status,
+ "verticalscale": self.RO.status,
}
@staticmethod
@@ -8411,7 +8412,8 @@
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))