Bug 1115071

Summary: Cannot access subcollections of /api/schedulingpolicies/{id}/[filters|weights|balances]/{id}
Product: [Retired] oVirt Reporter: Martin Betak <mbetak>
Component: ovirt-engine-apiAssignee: Gilad Chaplik <gchaplik>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5CC: dfediuck, gklein, iheim, mavital, rbalakri, s.kieske, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: ovirt-3.5.0-beta1.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:36:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.