Bug 2362 fixed:Operational-status is not getting updated when healing is triggered 84/14284/4
author36970 <jegan.s@tataelxsi.co.in>
Mon, 1 Apr 2024 11:23:08 +0000 (11:23 +0000)
committercubag <gcuba@whitestack.com>
Wed, 29 May 2024 19:44:52 +0000 (21:44 +0200)
Change-Id: I81040ca80f9dba23c7fd873decde7df8cc1a0ff2
Signed-off-by: 36970 <jegan.s@tataelxsi.co.in>
osm_lcm/ns.py

index 25ae038..986d5de 100644 (file)
@@ -7912,6 +7912,7 @@ class NsLcm(LcmBase):
             old_config_status = db_nsr["config-status"]
 
             db_nsr_update = {
+                "operational-status": "healing",
                 "_admin.deployed.RO.operational-status": "healing",
             }
             self.update_db_2("nsrs", nsr_id, db_nsr_update)
@@ -8057,7 +8058,6 @@ class NsLcm(LcmBase):
                                 task_instantiation_info=tasks_dict_info,
                                 stage=stage,
                             )
-
         except (
             ROclient.ROClientException,
             DbException,