Bug 808713

Summary: rhc domain destroy returns 0 even if domain doesn't exist
Product: OKD Reporter: jizhao
Component: ocAssignee: John (J5) Palmieri <johnp>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: jkeck, mpatel, szhou
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-20 17:04:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description jizhao 2012-03-31 10:34:35 UTC
Description of problem:
Destroy domain and destroy it again. The client return 0.

Version-Release number of selected component (if applicable):
rhc-0.89.10-1.el6_2.noarch

How reproducible:
Always

Steps to Reproduce:
1.Destroy domain
$ rhc domain destroy -n <domain_name> -d
2.Destroy it again
$ rhc domain destroy -n <domain_name> -d
3.Check the return value
$ echo $?
  
Actual results:
The return value is 0.

Expected results:
The resturn value shouldn't be 0.

Additional info:

Comment 1 John (J5) Palmieri 2012-04-20 17:04:54 UTC

*** This bug has been marked as a duplicate of bug 811221 ***