Bug 1318666

Summary: Remove VM fails with HTTP400 - bad request
Product: [oVirt] ovirt-engine Reporter: Nelly Credi <ncredi>
Component: RestAPIAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: high    
Version: 4.0.0CC: bugs, gklein, khakimi, oourfali
Target Milestone: ovirt-4.0.0-alphaKeywords: AutomationBlocker, Regression
Target Release: 4.0.0Flags: rule-engine: ovirt-4.0.0+
rule-engine: blocker+
rule-engine: planning_ack+
juan.hernandez: devel_ack+
gklein: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt 4.0.0 alpha1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:50:25 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:

Description Nelly Credi 2016-03-17 13:24:21 UTC
Description of problem:
Remove VM doesnt work in version 3


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


How reproducible:
100%

Steps to Reproduce:
1.DELETE /ovirt-engine/api/vms/UUID
2.
3.

Actual results:
java.io.IOException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Premature end of file.



Expected results:
the vm should get removed

Additional info:

Comment 1 Juan Hernández 2016-03-17 15:52:31 UTC
The reason for this issue described in bug 1225109: there are DELETE methods in the API that have an optional body. That has been removed in version 4 of the API, and the mechanism used to support this in version 3 of the API was lost when the 3 to 4 compatibility layer was introduced. We will re-introduce that mechanism.

Comment 2 Red Hat Bugzilla Rules Engine 2016-03-17 22:57:34 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 3 Nelly Credi 2016-03-20 09:05:39 UTC
Moving back to urgent and putting automation blocker as this is blocking tier1 execution - the tests create vms, but if they cannot delete them at some point we run out of macs

Comment 4 Oved Ourfali 2016-03-20 09:11:20 UTC
As you can see the bug is already on modified.
However, for master development I don't see why this should be urgent severity at this point.

Comment 5 Sandro Bonazzola 2016-07-05 07:50:25 UTC
oVirt 4.0.0 has been released, closing current release.