Hugo Brito b3d206781b Improve DC VIM strategy create/apply error handling
This commit updates subcloud's error_description with the error
returned by the software API during VIM strategy create and apply.

- Created two custom exceptions for handling these errors.
- Clean up error_description in strategy creation.

Note: This also updated the timeout values of software API.

Test Plan:
PASS - Apply a sw-deploy-strategy and force an error in the
deploy precheck command.
  - Apply should fail in the `create VIM strategy` state
  - dcmanager subcloud errors should be updated
PASS - Apply a sw-deploy-strategy and force an error in the
deploy start command.
  - Apply should fail in `apply VIM strategy` state
  - dcmanager subcloud errors should be updated
PASS - Create a dcmanager sw-deploy-strategy with subcloud errors.
  - Strategy created and subcloud errors should be `No errors present`.

Story: 2010676
Task: 50644

Change-Id: Ib0b0b586d90093088a6af96e5d630e3fe04fd3f7
Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
2024-07-30 13:59:53 -03:00
2018-09-25 08:18:08 -07:00
2019-04-19 19:52:44 +00:00
2018-08-07 11:51:21 -04:00
2024-06-25 14:49:42 -03:00
2022-11-21 16:58:49 +00:00
2019-03-15 10:56:03 -05:00
2024-06-25 14:49:42 -03:00
Description
StarlingX Distributed Cloud
37 MiB
Languages
Python 95.2%
Shell 4.7%
Makefile 0.1%