DC API does not return failure while creating a strategy with no steps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Jessica Castelino |
Bug Description
Brief Description
-----------------
After creating the strategy to a subcloud group and there is no Steps available, is possible to apply it without an error message.
Severity
-----------------
Minor
Steps to Reproduce
-----------------
Create a strategy.
Check there are no steps available.
Apply the strategy
Expected Behavior
-----------------
Apply strategy button is not available.
Actual Behavior
-----------------
Apply strategy button is available. The strategy applies. An error message is displayed
Reproducibility
-----------------
100%
System Configuration
-----------------
Distributed Cloud
Test Activity
-----------------
Testing in Sprint
Branch/Pull Time/Commit
-----------------
2021-09-13_00-00-10
Last Pass
---------
N/A
Workaround
----------
Check "dcmanager strategy-step-list" and if there are no steps, don't apply the strategy
tags: | added: stx.distcloud |
Changed in starlingx: | |
assignee: | nobody → Jessica Castelino (jcasteli) |
importance: | Undecided → Low |
tags: | added: stx.6.0 |
Fix proposed to branch: master /review. opendev. org/c/starlingx /distcloud/ +/816536
Review: https:/