Error messages are not clear enough when something goes wrong at
the moment of creating the strategy. For example, when creating
a strategy for an nonexistent subcloud or subcloud group, the same
error message was displayed:
"Error: Strategy creation failed."
This change add more information about the error. For instance:
Error: Strategy creation failed: "Invalid group_id"
Reviewed: https:/ /review. opendev. org/c/starlingx /gui/+/ 811240 /opendev. org/starlingx/ gui/commit/ 44b6ba9a4ae21c7 a0a946e2f6e29e5 079b6ed249
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 44b6ba9a4ae21c7 a0a946e2f6e29e5 079b6ed249
Author: Enzo Candotti <email address hidden>
Date: Mon Sep 27 18:57:32 2021 -0300
Adding more info on strategy apply error message
Error messages are not clear enough when something goes wrong at
the moment of creating the strategy. For example, when creating
a strategy for an nonexistent subcloud or subcloud group, the same
error message was displayed:
"Error: Strategy creation failed."
This change add more information about the error. For instance:
Error: Strategy creation failed: "Invalid group_id"
Closes-Bug: 1944766
Signed-off-by: Enzo Candotti <email address hidden> e1995ffc961bba3 4e8b08f7c3c
Change-Id: Ie6d368537fa826