Bug 1318666 - Remove VM fails with HTTP400 - bad request
Summary: Remove VM fails with HTTP400 - bad request
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ovirt-4.0.0-alpha
: 4.0.0
Assignee: Juan Hernández
QA Contact: Pavel Stehlik
Depends On:
TreeView+ depends on / blocked
Reported: 2016-03-17 13:24 UTC by Nelly Credi
Modified: 2016-07-05 07:50 UTC (History)
4 users (show)

Fixed In Version: ovirt 4.0.0 alpha1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-07-05 07:50:25 UTC
oVirt Team: Infra
rule-engine: ovirt-4.0.0+
rule-engine: blocker+
rule-engine: planning_ack+
juan.hernandez: devel_ack+
gklein: testing_ack+

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
oVirt gerrit 54882 0 master MERGED restapi: Restore incorrect behaviour of V3 remove 2016-03-17 18:45:21 UTC

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:

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

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.

Note You need to log in before you can comment on or make changes to this bug.