Bug 1254961

Summary: engine-config&WebUI show different info for MAC pool range
Product: Red Hat Enterprise Virtualization Manager Reporter: Andrei Stepanov <astepano>
Component: ovirt-engineAssignee: Martin Mucha <mmucha>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: low Docs Contact:
Priority: medium    
Version: 3.6.0CC: amureini, danken, eedri, gklein, lsurette, mgoldboi, mmucha, rbalakri, Rhev-m-bugs, sbonazzo, srevivo, ykaul
Target Milestone: ovirt-3.6.0-rcFlags: ylavi: Triaged+
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:37:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
MAC pool range none

Description Andrei Stepanov 2015-08-19 10:39:32 UTC
Created attachment 1064727 [details]
MAC pool range

rhevm-tools-3.6.0-0.11.master.el6.noarch

From cmdline:

# engine-config -a | grep MacPoolRanges
MacPoolRanges: 00:1a:4a:2d:70:00-00:1a:4a:2d:70:ff version: general

WebUI has different values at Configure->MAC Address pools

See attached screenshot.

Comment 1 Dan Kenigsberg 2015-08-26 09:21:37 UTC
Martin, shouldn't we drop MacPoolRanges from engine-config?

Comment 2 Martin Mucha 2015-08-26 09:56:37 UTC
yes, sure.
https://gerrit.ovirt.org/#/c/34693/3

Comment 3 Martin Mucha 2015-09-01 12:16:23 UTC
although given patch removes data from db, there's this 'mac range packaging plugin' which puts it back.

./packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/config/macrange.py

I do not undestand our packaging sufficiently so I can fix it.
Please advise.

Comment 4 Eyal Edri 2015-09-01 20:52:36 UTC
I'm not familiar with engine config plugins,
adding sandro that might know or direct us to the relevant mainainer.

Comment 5 Sandro Bonazzola 2015-09-04 07:45:39 UTC
See External Bug ID: oVirt gerrit 45743

Comment 6 Lukas Svaty 2015-10-01 14:23:59 UTC
What was the resolution of this bug?

MacPoolRanges should not appear in engine-config options, or those values should be the same?

Comment 7 Martin Mucha 2015-10-02 05:56:39 UTC
there were just pending patches to be merged. After merging them, there shouldn't be MacPoolRanges in VdcOptions table and trying to query them should produce information about them being deprecated.

Comment 8 Lukas Svaty 2015-10-05 10:48:57 UTC
verified in rhevm-3.6.0-0.18.el6.noarch