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

Bug 1375668

Summary: [REST API] href links are missing under api/datacenters/<dc id>/networks
Product: [oVirt] ovirt-engine Reporter: Ori Ben Sasson <obensass>
Component: RestAPIAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Ori Ben Sasson <obensass>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: bugs, juan.hernandez, myakove, oourfali
Target Milestone: ovirt-4.1.0-alphaKeywords: Automation, Regression
Target Release: 4.1.0.2Flags: rule-engine: ovirt-4.1+
rule-engine: blocker+
rule-engine: planning_ack+
juan.hernandez: devel_ack+
myakove: testing_ack+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-01 14:39:42 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 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