Bug 966053
Summary: | REST-API: sync DELETE (;async=false) is ignored | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Michael Pasternak <mpastern> |
Component: | ovirt-engine-restapi | Assignee: | Ori Liel <oliel> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilia Meerovich <iliam> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.3.0 | CC: | acathrow, bazulay, iheim, jkt, oramraz, Rhev-m-bugs |
Target Milestone: | --- | ||
Target Release: | 3.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | is4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-21 22:10:59 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: | 1019461 |
Description
Michael Pasternak
2013-05-22 11:32:14 UTC
Ravi, please check impacts of bug 957452 on this BZ. patch posted upstream: http://gerrit.ovirt.org/#/c/16295/ build IS4 After running this code: import java.io.IOException; import org.apache.http.client.ClientProtocolException; import org.ovirt.engine.sdk.Api; import org.ovirt.engine.sdk.entities.DataCenter; import org.ovirt.engine.sdk.entities.Version; import org.ovirt.engine.sdk.exceptions.ServerException; import org.ovirt.engine.sdk.exceptions.UnsecuredConnectionAttemptError; public class debugRemove { private static final String URL = "https://ilia-rhevm.qa.lab.tlv.redhat.com:443/api"; public static void main(String[] args) throws ClientProtocolException, ServerException, UnsecuredConnectionAttemptError, IOException { Api api = new Api(URL, "admin@internal", "123456", true); DataCenter dc = new DataCenter(); Version ver = new Version(); ver.setMajor(3); ver.setMinor(2); dc.setName("foo"); dc.setStorageType("nfs"); dc.setVersion(ver); api.getDataCenters().add(dc); org.ovirt.engine.sdk.decorators.DataCenter dcDecor = api.getDataCenters().get("foo"); dcDecor.delete(false, "667"); } } datacenter was created and removed Closing - RHEV 3.3 Released |