distcloud/distributedcloud/dcmanager
Tee Ngo 05e06bb9ec Log subcloud health output upon failed health check
Log subcloud health output for quick diagnosis. With this change,
the user would not need to log into the subcloud to check
health output. Sometimes, the health condition is resolved by
the time the user runs the system health-query command in the
subcloud. As the result, more time would be required to determine
what caused the failed health check in the first place.

Test Plan:
  - Verify successful subcloud backup with the change.
  - Induce a health condition (e.g. management affecting
    alarm). Verify that subcloud backup request is rejected
    and the subcloud health output is captured in
    dcmanager-api.log

Closes-Bug: 2056721

Change-Id: I32fea354f9cf594ea45d412359a9090e7b1bfb83
Signed-off-by: Tee Ngo <tee.ngo@windriver.com>
2024-03-11 00:39:29 -04:00
..
api Set PGA status to out-of-sync after certain operations 2024-03-08 19:38:31 +00:00
audit Temporarily set software audit to always be in-sync 2024-03-05 17:20:07 +00:00
cmd Fix issues introduced by pylint/pep8 for dcmanager 2024-01-19 11:29:25 -03:00
common Log subcloud health output upon failed health check 2024-03-11 00:39:29 -04:00
db Set PGA status to out-of-sync after certain operations 2024-03-08 19:38:31 +00:00
manager Set PGA status to out-of-sync after certain operations 2024-03-08 19:38:31 +00:00
objects Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
orchestrator Create a software audit 2024-02-27 15:58:49 -03:00
rpc Set PGA status to out-of-sync after certain operations 2024-03-08 19:38:31 +00:00
state Create a software audit 2024-02-27 15:58:49 -03:00
tests Set PGA status to out-of-sync after certain operations 2024-03-08 19:38:31 +00:00
__init__.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
config-generator.conf Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
version.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00