commit 2d8c0f9bed4ada1b26fcaa08638a6fc642cd3127
Author: Gabriel Silva Trevisan <email address hidden>
Date: Wed Jun 15 19:48:02 2022 -0300
Shorten subcloud pre-check error on patch update
When the subcloud management alarm pre-check fails during patch update,
the exception string is added to the failure message in the strategy
step. This might cause its details field to exceed the database limit.
Remove the exception from the saved message and add an instruction for
where to check for more details. Continue logging the exception and its
stack trace to the orchestrator logs.
Test Plan:
PASS:
- Ensure tox tests are passing
- Verify that strategy step fails when subcloud pre-check call fails
Closes-Bug: 1978882
Signed-off-by: Gabriel Silva Trevisan <email address hidden>
Change-Id: I2ac4f53488882a59c892342139e410b516a18d6f
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud/ +/846068 /opendev. org/starlingx/ distcloud/ commit/ 2d8c0f9bed4ada1 b26fcaa08638a6f c642cd3127
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 2d8c0f9bed4ada1 b26fcaa08638a6f c642cd3127
Author: Gabriel Silva Trevisan <email address hidden>
Date: Wed Jun 15 19:48:02 2022 -0300
Shorten subcloud pre-check error on patch update
When the subcloud management alarm pre-check fails during patch update,
the exception string is added to the failure message in the strategy
step. This might cause its details field to exceed the database limit.
Remove the exception from the saved message and add an instruction for
where to check for more details. Continue logging the exception and its
stack trace to the orchestrator logs.
Test Plan:
PASS:
- Ensure tox tests are passing
- Verify that strategy step fails when subcloud pre-check call fails
Closes-Bug: 1978882
Signed-off-by: Gabriel Silva Trevisan <email address hidden> 59c892342139e41 0b516a18d6f
Change-Id: I2ac4f53488882a