Bug 1150132
Summary: | /distribution/virt/install should use NetworkManager instead of the network initscript on RHEL7 | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Jeff Burke <jburke> |
Component: | tests | Assignee: | matt jia <mjia> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 0.18 | CC: | aigao, asaha, dcallagh, dowang, jstancek, jtluka, lnykryn, mjia, pbunyan, rfreiss, rmancy |
Target Milestone: | 19.0 | Keywords: | FutureFeature, Patch |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-11-25 07:08:03 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jeff Burke
2014-10-07 13:39:06 UTC
Hmmm yes I think /distribution/virt/install had always avoided NetworkManager and used the network initscript instead, because it needed bridging which isn't (wasn't?) available in RHEL6 NetworkManager. But on RHEL7 we should start using NetworkManager instead. It might be possible to just skip the code in /distribution/virt/install which is switching NetworkManager -> network, if NetworkManager is detected to be a sufficiently high version to support bridging (need to determine what version that is). The only problem might be if the ifcfg-br0 file produced in the task, is not properly understood by NetworkManager. Need to try it out and see. We will want to continue using network initscript on RHEL6. On Gerrit: http://gerrit.beaker-project.org/#/c/3470/ Cheers,Matt Jia (In reply to Dan Callaghan from comment #3) > It might be possible to just skip the code in /distribution/virt/install > which is switching NetworkManager -> network, if NetworkManager is detected > to be a sufficiently high version to support bridging (need to determine > what version that is). NetworkManager starts supporting bridging since 0.9.8. http://www.phoronix.com/scan.php?page=news_item&px=MTMwNzY Cheers, Matt Jia Added this patch to fix for checking rhel version. http://gerrit.beaker-project.org/#/c/3475/ Cheers,Matt Jia Steps to verify: 1. create a job with RHEL7 host recipe and RHEL7 guest recipe 2. ssh to the host server and check if the NetworkManager is running properly systemctl status NetworkManager.service 3. check if the guest recipe is installed successfully 4. create another with RHEL6 host recipe and RHEL7 guest recipe 5. ssh to the host server and check if the NetworkManager is turned off 6. repeat step 3 Cheers, Matt Jia /distribution/virt/install 4.0-86 has been released. |