Description of problem: We are hitting an issue with RHEL7. See BZ https://bugzilla.redhat.com/show_bug.cgi?id=1145191 The recommendation is to no use initscripts for RHEL7. It is recommended that we use NetworkManager instead. Is it possible to change the test for RHEL7 only? Regards, Jeff
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.