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

Bug 1344284

Summary: REST (V3 and V4)| <mac_pool href= is missing under /api/datacenters/<id>
Product: [oVirt] ovirt-engine Reporter: Meni Yakove <myakove>
Component: RestAPIAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: bugs, juan.hernandez, oourfali
Target Milestone: ovirt-4.0.1Keywords: Automation, Regression
Target Release: 4.0.1.1Flags: rule-engine: ovirt-4.0.z+
rule-engine: blocker+
rule-engine: planning_ack+
juan.hernandez: devel_ack+
rule-engine: 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: 2016-07-19 06:23:04 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:
Bug Depends On:    
Bug Blocks: 1219383    

Description Meni Yakove 2016-06-09 10:34:57 UTC
Description of problem:
<mac_pool href= is missing under /api/datacenters/<datacenter_id>

RFE MAC pool per cluster was targeted to 4.0 but will not be on 4.0, It seems that any reference to MAC pool under DC was deleted so now we missing MAC pool under datacenter and under clusters on both REST V3 and V4


Version-Release number of selected component (if applicable):
ovirt-engine-4.0.0.2-0.1.el7ev.noarch

Comment 1 Juan Hernández 2016-06-09 12:35:41 UTC
The reference to the MAC pool was removed temporarily, and should be re-added for the 4.0 release. The following patch does so:

  core: remove macPoolId from DataCenter and place it to v3 compatibility layer instead.
  https://gerrit.ovirt.org/57721

I believe that the bug should be moved to MODIFIED, and the bug URL added to the patch.

Comment 2 Juan Hernández 2016-06-13 13:25:21 UTC
he patch mentioned in comment 1 won't be included in version 4 of the engine, so we need to restore the 'macPool' attribute of the data center, and the code to pupulate it.

Comment 3 Meni Yakove 2016-07-02 08:19:26 UTC
rhevm-4.0.2-0.2.rc1.el7ev.noarch

Comment 4 Sandro Bonazzola 2016-07-19 06:23:04 UTC
Since the problem described in this bug report should be
resolved in oVirt 4.0.1 released on July 19th 2016, it has been closed with a
resolution of CURRENT RELEASE.

For information on the release, and how to update to this release, follow the link below.

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

http://www.ovirt.org/release/4.0.1/