Bug 1234: OSM reports successful deployment when a charm relation fails 27/12827/1
authorPatricia Reinoso <patricia.reinoso@canonical.com>
Fri, 6 Jan 2023 22:28:44 +0000 (22:28 +0000)
committerPatricia Reinoso <patricia.reinoso@canonical.com>
Fri, 6 Jan 2023 22:31:07 +0000 (22:31 +0000)
commitb4312c0e97cd7f10a6bfb7a77b224f1dab897d38
tree898bec9d36999134ec81e24bcd33039222e111c2
parentafff693a2ae9757aee5f731ee12bca70cdb9a907
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: I4dbf4ddde374fcb46b5b1c20ec253fbb25c1f22c
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