Bug 886941

Summary: RHEVM-CLI: missing acknowledgement for remove commands
Product: Red Hat Enterprise Virtualization Manager Reporter: Barak Dagan <bdagan>
Component: ovirt-engine-cliAssignee: Michael Pasternak <mpastern>
Status: CLOSED ERRATA QA Contact: Barak Dagan <bdagan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: bazulay, cboyle, dyasny, ecohen, iheim, oramraz, pstehlik, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: SF4 Doc Type: Bug Fix
Doc Text:
By default the 'remove' command never printed an acknowledgement to the screen if the operation was successful. Only unsuccessful attempts were acknowledged. Now when 'remove' operates successfully the word 'Accepted' is printed to the screen.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-10 20:29:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 915537    

Description Barak Dagan 2012-12-13 16:05:27 UTC
Description of problem:
missing acknowledge for success operations:

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
success:
[RHEVM shell (connected)]# remove cluster barak
[RHEVM shell (connected)]# 


Failue:
[RHEVM shell (connected)]# remove cluster sdfhsdkfhs

error: cluster "sdfhsdkfhs" does not exist.

Expected results:
"cluster "barak" is removed" or "remove cluster: complete" - like start vm

Additional info:

Comment 1 Michael Pasternak 2012-12-13 16:21:55 UTC
by-design, if command not failed it 'accepted' 
(note rest-api does not assure delete completion, it's only accepts request)

Comment 2 Michael Pasternak 2012-12-13 16:25:50 UTC
i'll issue 'ACCEPTED' output on successful (api-wise) request

Comment 3 Michael Pasternak 2012-12-13 17:06:53 UTC
http://gerrit.ovirt.org/10039

Comment 4 Oded Ramraz 2013-01-24 14:41:46 UTC
[RHEVM shell (connected)]# remove cluster test2

accepted.

Verified sf4

Comment 5 errata-xmlrpc 2013-06-10 20:29:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0890.html