Bug 1375668 - [REST API] href links are missing under api/datacenters/<dc id>/networks
Summary: [REST API] href links are missing under api/datacenters/<dc id>/networks
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.1.0
Hardware: x86_64
OS: Linux
unspecified
medium vote
Target Milestone: ovirt-4.1.0-alpha
: 4.1.0.2
Assignee: Juan Hernández
QA Contact: Ori Ben Sasson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-13 15:59 UTC by Ori Ben Sasson
Modified: 2017-02-01 14:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-01 14:39:42 UTC
oVirt Team: Infra
rule-engine: ovirt-4.1+
rule-engine: blocker+
rule-engine: planning_ack+
juan.hernandez: devel_ack+
myakove: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 64193 0 master MERGED restapi: Recursively scan for service interfaces 2016-09-21 08:02:15 UTC

Description Ori Ben Sasson 2016-09-13 15:59:35 UTC
Description of problem:
href links are missing under api/datacenters/<dc id>/networks

Version-Release number of selected component (if applicable):
4.1.0-0.0.master.20160912231333.git748a5ca.el7.cento

How reproducible:
100

Steps to Reproduce:
1.send GET to api/datacenters/<dc id>/networks

Actual results:
href links  are missing under api/datacenters/<dc id>/networks 
<networks>
<network href= "/ovirt-engine/api/networks/00000000-0000-0000-0000-000000000009" id="00000000-0000-0000-0000-000000000009">
<name>ovirtmgmt</name>
<description>Management Network</description>
<mtu>0</mtu>
<stp>false</stp>
<usages>
<usage>vm</usage>
</usages>
<data_center href= "/ovirt-engine/api/datacenters/00000001-0001-0001-0001-000000000311" id="00000001-0001-0001-0001-000000000311"/>
</network>
</networks>

Expected results:
<networks>
<network href= "/ovirt-engine/api/networks/00000000-0000-0000-0000-000000000009" id="00000000-0000-0000-0000-000000000009">
<name>ovirtmgmt</name>
<description>Management Network</description>
<link href= "/ovirt-engine/api/networks/00000000-0000-0000-0000-000000000009/permissions" rel="permissions"/>
<link href= "/ovirt-engine/api/networks/00000000-0000-0000-0000-000000000009/vnicprofiles" rel="vnicprofiles"/>
<link href= "/ovirt-engine/api/networks/00000000-0000-0000-0000-000000000009/networklabels" rel="networklabels"/>
<mtu>0</mtu>
<stp>false</stp>
<usages>
<usage>vm</usage>
</usages>
<data_center href= "/ovirt-engine/api/datacenters/00000001-0001-0001-0001-000000000041" id="00000001-0001-0001-0001-000000000041"/>
</network>
</networks>

Additional info:
In version 4.0 when we send GET to api/datacenters/<dc id>/networks the link are exist

Comment 1 Oved Ourfali 2016-09-15 05:38:24 UTC
Moving to network.
If require infra's assistance, please reach out.

Comment 2 Juan Hernández 2016-09-20 12:13:21 UTC
After looking a bit of this I believe that it is a generic infrastructure issue. The proposed patch should fix it for all the places where it potentially happens. I'm moving back to infra and assigning to myself.

It only affects 4.1.

Comment 3 Red Hat Bugzilla Rules Engine 2016-09-20 12:13:27 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 4 Sandro Bonazzola 2016-12-12 13:58:24 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 5 Ori Ben Sasson 2016-12-13 12:57:11 UTC
Verified on 4.1.0-0.2.master.20161212071212.git8a015dd.el7.centos


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