Description of problem:
We do not validate on openstack stack delete command an existing stacks, in case the stack does not exist then the command fails.
openstack stack delete foo
Are you sure you want to delete this stack(s) [y/N]? y
Stack not found: foo
Unable to delete 1 of the 1 stacks.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. delete a non existing stack
2. approve the dialog Y
The validation appears after the command
Validate the stack existance prior the approval dialog. (Are you sure you want to delete this stack(s) [y/N]? y)
IMO it's expected to work that way and is not a bug as we don't check for the existence of the stack before making a REST call for delete. If the expectation is that yes/no prompt should not appear if the stack does not exist, then we have to make another REST call before the DELETE which I don't think is justified.