Fix Bug 2022: RO updating VIM details with null info when VM is in error state 10/12010/1
authoraticig <gulsum.atici@canonical.com>
Fri, 6 May 2022 13:09:52 +0000 (16:09 +0300)
committeraticig <gulsum.atici@canonical.com>
Fri, 6 May 2022 13:13:02 +0000 (16:13 +0300)
commit79ac6df793d0c47de98f6b3a57026aef6bdbb1f3
treee692f2b12a6228da19d4d7983670cfd777b86086
parent285185ec765bd1db4444d36834ab771c9104b1d8
Fix Bug 2022: RO updating VIM details with null info when VM is in error state

This patch prevents to override the vim_details when VM
is in error state. By this way, vim_details could be used for healing operations.
The messages regarding with the failure is kept in another key names "vim_message".

Change-Id: Ie0b73040074865a89d9ab2d447e20a8f3d38d520
Signed-off-by: aticig <gulsum.atici@canonical.com>
NG-RO/osm_ng_ro/ns.py
NG-RO/osm_ng_ro/ns_thread.py
NG-RO/osm_ng_ro/tests/test_ns.py
NG-RO/osm_ng_ro/tests/test_ns_thread.py
releasenotes/notes/Fix_bug_2022-5e7655a0e8227c36.yaml [new file with mode: 0644]