Bug 829414
Summary: | REST API: Unable to reach /api/clusters/<id>/networks/<id> . receive ERROR 405 | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Avi Tal <atal> |
Component: | ovirt-engine-restapi | Assignee: | Michael Pasternak <mpastern> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Yaniv Kaul <ykaul> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.1.0 | CC: | acathrow, bazulay, dyasny, ecohen, iheim, jkt, lpeer, mpastern, oramraz, Rhev-m-bugs, srevivo, ykaul |
Target Milestone: | --- | Keywords: | Regression, TestBlocker |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | network | ||
Fixed In Version: | si7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-04 19:59:37 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 815855 |
Description
Avi Tal
2012-06-06 16:19:29 UTC
are you sure you using GET? and this is not some issue in your code? this is works for me perfectly well. I am positive. I use only the browser: http://<my rhevm address>/api/clusters/82c5e06e-aaf8-11e1-9634-001a4a169763/networks/0259c819-8b34-4174-941e-f42777eed4cf And i get a very clear page with: HTTP Status 405 this is works, try it on next drop. Checking in SI6 - Failed Using firefox to browse: http://<host>/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks/3c51a2f9-9e6d-40a0-bf30-c34796b7f908 HTTP Status 405 - description: The specified HTTP method is not allowed for the requested resource (). ok, this is regression indeed, (actually when bug was reported i couldn't reproduce it on my env., this why no work has been done to fix it). Ori, this bug happen cause RestEasy fails locating methods inherited from super class, did you file bug on this as we discussed? http://aqua-rhel.qa.lab.tlv.redhat.com:8080/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks/00000000-0000-0000-0000-000000000009 <network href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks/00000000-0000-0000-0000-000000000009" id="00000000-0000-0000-0000-000000000009"><name>rhevm</name><description>Management Network</description><data_center href="/api/datacenters/86c4547c-bbcc-11e1-a64b-97edcd06f040" id="86c4547c-bbcc-11e1-a64b-97edcd06f040"/><cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/><stp>false</stp><status><state>operational</state></status><display>false</display><mtu>0</mtu><usages><usage>VM</usage></usages><required>true</required></network> Verified si7 |