distcloud-client/distributedcloud-client/dcmanagerclient/commands/v1
Hugo Brito a45e26cfb7 Enhance strategy error messages in dcmanager-api
This commit removes the generic error message from dcmanager-client
to dcmanager-api handle a more detailed message when exceptions occur.
The commands that are affected by this change are:
dcmanager <strategy-type>-strategy create/apply/abort/delete.

Test Plan:

Test Plan:
1. Test the `dcmanager <strategy_type>-strategy create/delete/abort/apply` commands for the following strategies:
- fw-update-strategy, kube-rootca-update-strategy, kube-upgrade-strategy, patch-strategy, prestage-strategy, and upgrade-strategy.
2. Validate that the exception message does not include the old generic reason: "Unable to <command> sw update strategy"

Partial-Bug: 2026604

Change-Id: I60e1188dcbedba7ffb8e8d9e76bb563417b1b69a
Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
2023-07-11 20:58:42 +00:00
..
__init__.py Move content to subdir to support relocated packaging 2019-11-04 14:14:38 -05:00
alarm_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
base.py Subcloud-backup CLI outputs list or detail 2022-11-16 17:20:26 -03:00
fw_update_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
kube_rootca_update_manager.py Adding 'force' support and 'to-version' for kube-upgrade 2021-12-24 08:37:18 -06:00
kube_upgrade_manager.py Adding 'force' support and 'to-version' for kube-upgrade 2021-12-24 08:37:18 -06:00
phased_subcloud_deploy_manager.py Add subcloud deploy install option to dcmanager 2023-06-26 16:36:05 -03:00
subcloud_backup_manager.py Add release parameter to subcloud-backup restore 2023-04-14 17:15:13 -03:00
subcloud_deploy_manager.py Add release optionality to subcloud-deploy upload/show 2023-03-23 20:34:30 -04:00
subcloud_group_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
subcloud_manager.py Add subcloud deploy install option to dcmanager 2023-06-26 16:36:05 -03:00
sw_patch_manager.py Add the --upload-only option to dcmanager patch-strategy CLI 2023-03-02 14:52:25 -03:00
sw_prestage_manager.py Add release optionality to subcloud prestage 2023-05-17 21:01:53 +00:00
sw_update_manager.py Enhance strategy error messages in dcmanager-api 2023-07-11 20:58:42 +00:00
sw_update_options_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
sw_upgrade_manager.py Allow upgrade force option to take in subcloud groups 2022-04-11 11:49:42 -05:00