Bug 1115071 - Cannot access subcollections of /api/schedulingpolicies/{id}/[filters|weights|balances]/{id}
Summary: Cannot access subcollections of /api/schedulingpolicies/{id}/[filters|weights...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-api
Version: 3.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.5.0
Assignee: Gilad Chaplik
QA Contact: Lukas Svaty
URL:
Whiteboard: sla
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-01 13:52 UTC by Martin Betak
Modified: 2016-02-10 19:42 UTC (History)
7 users (show)

Fixed In Version: ovirt-3.5.0-beta1.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-17 12:36:09 UTC
oVirt Team: SLA
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 29514 0 master MERGED restapi: fix filter/weight/balance getter Never

Description Martin Betak 2014-07-01 13:52:51 UTC
Description of problem:

Cannot access indivudual subresources of /api/schedulingpolicies/{id}/weights/{id2}


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

How reproducible:
100%


Steps to Reproduce:
1. GET http://<engine-host>/api/schedulingpolicies/8d5d7bec-68de-4a67-b53e-0ac54686d579/weights/84e6ddee-ab0d-42dd-82f0-c297779db567 

Actual results:
404, The requested resource () is not available.


Expected results:
Single <weight> element.


Additional info:

Get all weights works, i.e. GET http://<engine-host>/api/schedulingpolicies/8d5d7bec-68de-4a67-b53e-0ac54686d579/weights/ returns list of all weights. Problem is only in access of specific weight.

All of the above also for the filters and balances subresources.

Comment 1 Lukas Svaty 2014-07-29 11:39:59 UTC
verified in ovirt-3.5.0-beta2

Comment 2 Sandro Bonazzola 2014-10-17 12:36:09 UTC
oVirt 3.5 has been released and should include the fix for this issue.


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