Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1130182

Summary: Missing 'disks' link when listing vm entities for export storage domains
Product: Red Hat Enterprise Virtualization Manager Reporter: Carlos Mestre González <cmestreg>
Component: ovirt-engine-restapiAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Carlos Mestre González <cmestreg>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acanan, amureini, bazulay, ecohen, gklein, iheim, oramraz, rbalakri, Rhev-m-bugs, scohen, tnisan, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: vt2.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1142923, 1156165    

Description Carlos Mestre González 2014-08-14 13:55:19 UTC
Description of problem:
GET for /api/storagedomains/{storagedomain:id}/vms/ returns vms entities without disks' link.

The link is returned only when accessing the {vm:id} object. This doesn't correspond with the behaviour for other collections (/api/vms/ or /api/templates/) where all the links elements are returned per entity.

Version-Release number of selected component (if applicable):
rhevm-3.4.2-0.1.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Export a few vm's with disks
2. rest-api call for GET /api/storagedomains/{storagedomain:id}/vms/

Actual results:
list of vm are returned but without the disks' link (is there for /api/storagedomains/{storagedomain:id}/vms/{vm:id})

Expected results:
for each vm entity there's a link to the vm disks' collection

Additional info:
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1117747

Adding a new bug since BZ1117747 was a regression.

Comment 2 Carlos Mestre González 2014-09-16 08:53:05 UTC
Verified in vt3.1.

Comment 3 Allon Mureinik 2015-02-16 19:12:38 UTC
RHEV-M 3.5.0 has been released, closing this bug.

Comment 4 Allon Mureinik 2015-02-16 19:12:38 UTC
RHEV-M 3.5.0 has been released, closing this bug.