Bug 1060528

Summary: Error response to DELETE request of 'Everyone' group doesn't contains 'detail' field
Product: [Retired] oVirt Reporter: Ilia Meerovich <iliam>
Component: ovirt-engine-coreAssignee: Eli Mesika <emesika>
Status: CLOSED CURRENTRELEASE QA Contact: Ilia Meerovich <iliam>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.4CC: acathrow, eedri, emesika, gklein, iheim, iliam, obasan, oramraz, sbonazzo, yeylon
Target Milestone: ---Keywords: AutomationBlocker, TestBlocker
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: ovirt-3.4.0-rc Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-31 12:32:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1024889    

Description Ilia Meerovich 2014-02-02 11:28:10 UTC
DELETE request of 'Everyone' group:
https://ilia-rhevm.qa.lab.tlv.redhat.com:443/api/groups/eee00000-0000-0000-0000-123456789eee

Should fail with 500 error and return message that contains 'detail' field.
it is regression from previous release
In previous ovirt release
ovirt-engine-3.4.0-0.2.master.20140112020439.git9ad8529.el:

2014-01-26 21:50:04,830 - MainThread - users - DEBUG - DELETE request content is --  url:/api/groups/eee00000-0000-0000-0000-123456789eee
2014-01-26 21:50:04,923 - MainThread - core_api - DEBUG - Request DELETE response time: 0.030
2014-01-26 21:50:04,923 - MainThread - users - DEBUG - Response body for DELETE request is: <fault><reason>Operation Failed</reason><detail>[Cannot remove the built-in group &quot;Everyone&quot;.]</detail></fault> 

In current release ovirt-engine-3.4.0-0.5.beta1.el6:
2014-02-01 21:50:38,889 - MainThread - users - DEBUG - DELETE request content is --  url:/api/groups/eee00000-0000-0000-0000-123456789eee
2014-02-01 21:50:39,192 - MainThread - core_api - DEBUG - Request DELETE response time: 0.050
2014-02-01 21:50:39,192 - MainThread - users - DEBUG - Response body for DELETE request is: <fault><reason>Operation Failed</reason></fault>

Comment 1 Ilia Meerovich 2014-02-17 08:19:47 UTC
raising severity to urgent since it is tier 0 bug

Comment 2 Eli Mesika 2014-02-17 08:29:10 UTC
Please specify why do you think this is urgent ?
Your explanation in comment 1 is not clear

Comment 3 Ilia Meerovich 2014-02-17 08:43:15 UTC
CI and QE are running regression_mixed test that is basic api sanity test.
If this test fails - it is zero level bug from QE point. this test checks a lot of stuff. one of thins that it checks is if error response for various error codes (mostly 40x and 50x) is correct. in this case it is not that's why it is zero level bug for both CI and QE.

Comment 4 Sandro Bonazzola 2014-02-24 08:18:02 UTC
This bug is blocking 3.4.0 final release. ETA for fixing it?

Comment 5 Eli Mesika 2014-02-24 11:16:54 UTC
I hope that today , waiting for review

Comment 6 Sandro Bonazzola 2014-03-03 14:40:32 UTC
This BZ should be fixed in oVirt 3.4.0 RC

Comment 7 Ilia Meerovich 2014-03-04 15:17:21 UTC
verified with downstream build rhevm-3.4.0-0.3

Comment 8 Sandro Bonazzola 2014-03-31 12:32:47 UTC
this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released