Bug 1234: OSM reports successful deployment when a charm relation fails 88/12788/6
authorPatricia Reinoso <patricia.reinoso@canonical.com>
Tue, 13 Dec 2022 11:23:37 +0000 (11:23 +0000)
committercubag <gcuba@whitestack.com>
Mon, 26 Dec 2022 15:02:25 +0000 (16:02 +0100)
commitc09b842d41437f1c2bb4a931182afbe7088d696f
treeab7b5e011c390ee625446245be0315925431f309
parentbd49c837f9d1714597710169ed99255b47251005
Bug 1234: OSM reports successful deployment when a charm relation fails

Fix : raise exception when a problem occurs during
charm relation addition.

NS is marked as broken if charm relations cannot
be added.

Change-Id: Ie14f0c0f840e810a945bb603cf6d9360662103fd
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
osm_lcm/ns.py
osm_lcm/tests/test_db_descriptors.py
osm_lcm/tests/test_ns.py