Bug 1422430
Summary: | [RFE] Support MACADDR when acquiring interfaces from ifcfg and NM. | ||
---|---|---|---|
Product: | [oVirt] vdsm | Reporter: | Edward Haas <edwardh> |
Component: | Core | Assignee: | Edward Haas <edwardh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Burman <mburman> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 4.20.0 | CC: | bugs, cshao, danken, edwardh, mburman, ylavi |
Target Milestone: | ovirt-4.2.0 | Keywords: | FutureFeature |
Target Release: | 4.20.7 | Flags: | rule-engine:
ovirt-4.2+
mburman: testing_plan_complete+ ylavi: planning_ack+ danken: devel_ack+ rule-engine: testing_ack+ |
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 10:50:44 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: |
Description
Edward Haas
2017-02-15 10:43:36 UTC
Edy, please add the gerrit patches that implement this RFE. The solution provided has extended the original requirement definition to a wider scope. Any acquirement of externally created bonds, even the ones which their MAC has not been specified, will preserve their mac address in a persisted manner. Thanks. Does it still not require any doc text? (In reply to Dan Kenigsberg from comment #3) > Thanks. Does it still not require any doc text? The behaviour logic is "internal", I'm not sure if it will be useful to document in what conditions we preserve the mac and in which we do not. I may just be too confusing. I think we should document this only when we expose the ability to set bond mac from Engine. Edy hi, vdsm now support cloned-mac when acquiring interfaces from NM, but not from ifcfg-* files. 1) Bond created via cockpit + specified cloned-mac - PASS - host successfully added to rhv. 2) Bond created via NM without specifying the cloned-mac - PASS - host added and MACADDR was added to the ifcfg-bond file after this fix. 3) Bond created via ifcfg-* without specifying the cloned-mac - I think it failed, because the MACADDR key wasn't added to the ifcfg-* file as you said it should be. Am i right? Tested on vdsm-4.20.6-21.git079be83.el7.centos.x86_64 and 4.2.0-0.0.master.20171105155215.git59d3324.el7.centos (In reply to Michael Burman from comment #5) > Edy hi, > > vdsm now support cloned-mac when acquiring interfaces from NM, but not from > ifcfg-* files. > > 1) Bond created via cockpit + specified cloned-mac - PASS - host > successfully added to rhv. > 2) Bond created via NM without specifying the cloned-mac - PASS - host added > and MACADDR was added to the ifcfg-bond file after this fix. > 3) Bond created via ifcfg-* without specifying the cloned-mac - I think it > failed, because the MACADDR key wasn't added to the ifcfg-* file as you said > it should be. > > Am i right? > > Tested on vdsm-4.20.6-21.git079be83.el7.centos.x86_64 and > 4.2.0-0.0.master.20171105155215.git59d3324.el7.centos Edy, on scenario 3^^, the MACADDR key was added to the ifcfg-bond file only after reboot, is it the expected behaviour? waiting for your response.. Summarize or results for the 4 relevant scenarios: 1) NM bond + specified cloned-mac - PASS - host added successfully 2) NM bond - without cloned-mac - PASS - MACADDR added to the ifcfg-bond file 3) ifcfg bond + specified cloned-mac - Fail - host added successfully, but the MACADDR was gone from the ifcfg-bond file 4) ifcfg bond - without cloned-mac - Fail - MACADDR wasn't added as should to the ifcfg-bond file I believe this should be failedQA, Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. (In reply to Michael Burman from comment #7) > Summarize or results for the 4 relevant scenarios: > > 1) NM bond + specified cloned-mac - PASS - host added successfully > 2) NM bond - without cloned-mac - PASS - MACADDR added to the ifcfg-bond file > 3) ifcfg bond + specified cloned-mac - Fail - host added successfully, but > the MACADDR was gone from the ifcfg-bond file > 4) ifcfg bond - without cloned-mac - Fail - MACADDR wasn't added as should > to the ifcfg-bond file > > I believe this should be failedQA, This is a good catch, we have a bug that acquires external bonds during network upgrade flow even though they are not in use by a network. Verified with - vdsm-4.20.7-1.gitc9cf1ee.el7.centos.x86_64 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. |