* Update watcher from branch 'master'
to
2ba9caae744db2f62e6a57e25069ac364ec54ffc
- Merge "Move decision-engine monitoring service to the decision-engine"
- Move decision-engine monitoring service to the decision-engine
Currently, it is running only as part of the watcher-api when running as
an standalone eventlet service, and not executed as a wsgi service. In
a decision-engine failure scenario, the continuous audits running on it
are not reassigned and are not longer running.
This patch is moving the service to be part of the decision-engine
itself. Note that when there are no running decision-engines there is no
point in running the monitor service.
I am also including a leader election mechanism so that we can run
multiple copies of the monitor and only one of the alive ones takes
care of monitoring the service and acting upon failures.
Assisted-By: claude-code
Closes-Bug: #
2126767
Change-Id: If13e8ebbfd632b98742b965299b8633ff894b212
Signed-off-by: Alfredo Moralejo <amoralej@redhat.com>
-Subproject commit 6704838265998619793bb884171ef1cc3277f4de
+Subproject commit 2ba9caae744db2f62e6a57e25069ac364ec54ffc