Bug 1466781

Summary: Missing href attributes in some REST entry points
Product: [oVirt] ovirt-engine Reporter: Christophe Fergeau <cfergeau>
Component: RestAPIAssignee: Ori Liel <oliel>
Status: CLOSED CURRENTRELEASE QA Contact: Radim Hrazdil <rhrazdil>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.3.5CC: bugs, elima, juan.hernandez, lsurette, lsvaty, mperina, oourfali, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:46:32 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:

Description Christophe Fergeau 2017-06-30 12:32:33 UTC
In /api/storagedomains, there is a <data_centers> node without href attributes:

<data_centers>
    <data_center id="00000001-0001-0001-0001-000000000311"/>
</data_centers>

There is a similar issue in /api/vms with the <hosts> node:

<hosts>
    <host id="7620720b-eb29-4905-b5e8-c9b00ddb1e47"/>
</hosts>

Comment 2 Ori Liel 2017-09-06 07:55:44 UTC
Patch posted: 

  https://gerrit.ovirt.org/#/c/81376/

Comment 3 Radim Hrazdil 2017-11-16 12:19:14 UTC
Verified that all <data_center> nodes have href attribute. Version 4.2.0-0.0.master.20171108151837.gita7de53e.el7.centos.

Comment 4 Sandro Bonazzola 2017-12-20 11:46:32 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.