sunbeam-charms/ops-sunbeam/ops_sunbeam/ovn
Hemanth Nakkina 721a454853 stop services when mandatory integrations are removed
Stop all the services running in the container
when mandatory integrations are removed.
Currently the relation data is not cleared during
processing of gone away events. This is a bug in
juju reported at [1]. Due to this the relation is
still considered as ready.
Add workaround to check the event and mark the
relation to not ready if the event is gone away
event of the relation.
Catch database relation-broken event and block the
application.

[1] https://bugs.launchpad.net/juju/+bug/2024583

Change-Id: I80a0120d08b79561c13996c7a0f055824a1d5336
2023-11-01 17:45:31 +05:30
..
__init__.py rename package names and code cleanup 2022-07-18 10:02:40 +05:30
charm.py Fix base class for ovn charms 2023-04-03 06:02:29 +00:00
config_contexts.py Add linters and formatting 2022-11-03 12:26:01 +00:00
container_handlers.py Remove use of stored state for service_ready 2023-01-06 10:52:15 +05:30
relation_handlers.py stop services when mandatory integrations are removed 2023-11-01 17:45:31 +05:30