Bug 1397058

Summary: RHEL 7 kernel mode build specs are missing from the rhel directory
Product: Red Hat Enterprise Linux 7 Reporter: Mor <mkalfon>
Component: openvswitchAssignee: Open vSwitch development team <ovs-team>
Status: CLOSED NOTABUG QA Contact: Network QE <network-qe>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.3CC: aconole, atragler, danken, lrichard
Target Milestone: rc   
Target Release: 7.3   
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-11-21 16:17:31 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:

Description Mor 2016-11-21 14:08:12 UTC
Description of problem:
Missing RHEL version 7 spec file for building OVS kernel modules in RHEL-7.

Version-Release number of selected component (if applicable):
2.6.0

How reproducible:
100%

Steps to Reproduce:
1. git clone https://github.com/openvswitch/ovs.git 
2. Try to build RHEL-7 kernel modules

Actual results:
There is no RHEL 7 spec file.

Expected results:
A file should exists.

Additional info:
https://github.com/openvswitch/ovs/blob/master/INSTALL.RHEL.rst

Comment 1 Aaron Conole 2016-11-21 14:27:43 UTC
RHEL7 ships with a kernel module built as part of RHEL7 kernel, and we ship an openvswitch package as part of the Fast Datapath channel which is QA'd against the previously mentioned kernel.

It is not recommended that users manually build the ovs kernel module.

Have I understood the bug?  If so, we should close it as not a bug.

Comment 2 Lance Richardson 2016-11-21 14:43:02 UTC
(In reply to Aaron Conole from comment #1)
> RHEL7 ships with a kernel module built as part of RHEL7 kernel, and we ship
> an openvswitch package as part of the Fast Datapath channel which is QA'd
> against the previously mentioned kernel.
> 
> It is not recommended that users manually build the ovs kernel module.
> 
> Have I understood the bug?  If so, we should close it as not a bug.

Agree.  In addition, it is already possible to build the kernel module
RPM for RHEL7, simply "make rpm-fedora-kmod" from the top-level source
directory. This is documented in INSTALL.RHEL.md and INSTALL.Fedora.md:

    For RHEL 7.x (or derivatives, such as CentOS 7.x), you should follow
    the instructions in [INSTALL.Fedora.md].  The Fedora spec files are
    used for RHEL 7.x.

I agree, this should be closed as not a bug.

Comment 3 Mor 2016-11-21 15:59:58 UTC
Bug can be closed, thanks.

Comment 4 Dan Kenigsberg 2016-11-22 09:27:51 UTC
Sorry for the noise, this bug is due to a misunderstanding in a private chat.

We'd like to make sure our users do not attempt to use the provider on an unsupported platform.

http://lists.ovirt.org/pipermail/users/2016-November/044088.html

Requires: kernel >= 3.10.0-512