distcloud/distributedcloud/dcmanager/common
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
..
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
config.py Remove the use_usm flag 2024-02-15 16:45:21 -03:00
consts.py Merge "Fix issues with PGA sync_status" 2024-03-07 19:22:57 +00:00
context.py Update tox pylint/pep8 for dcmanager 2024-01-18 21:51:25 +00:00
exceptions.py Set PGA status to out-of-sync after certain operations 2024-03-08 19:38:31 +00:00
i18n.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
manager.py Update tox pylint/pep8 for dcmanager 2024-01-18 21:51:25 +00:00
messaging.py Update endpoint caches post network reconfig 2023-03-14 11:44:15 -03:00
phased_subcloud_deploy.py Merge "Synchronize install values with secondary subclouds" 2024-01-23 13:38:03 +00:00
prestage.py Display prestage status and versions in subcloud list 2024-01-26 14:09:19 -05:00
scheduler.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
serializer.py Update tox pylint/pep8 for dcmanager 2024-01-18 21:51:25 +00:00
utils.py Log subcloud health output upon failed health check 2024-03-11 00:39:29 -04:00
version.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00