Reviewed: https://review.openstack.org/483248 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=0177568c93c1773ba22989ea1565dd666c516de3 Submitter: Jenkins Branch: master
commit 0177568c93c1773ba22989ea1565dd666c516de3 Author: Miguel Angel Ajo <[email protected]> Date: Tue Aug 1 09:02:09 2017 +0000 devstack: fix ovs install on fedora like OS This patch I3d0981fbe30f2436f00c200919b50aeb97491252 resolved custom kernel version, but introduced a bug for the 3.x series. This patch avoids the replacement in the case of the 3.x series. Closes-Bug: #1704077 Co-Authored-By: Moshe Levi <[email protected]> Change-Id: Iff1c5a39fe4b0d9320910d0cfafdd36873825d03 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1704077 Title: neutron install ovs failed, can`t find kernel-devel Status in neutron: Fix Released Bug description: in devstack\lib\ovs if is_fedora ; then # is_fedora covers Fedora, RHEL, CentOS, etc... # dash is illegal character in rpm version so replace # them with underscore like it is done in the kernel # https://github.com/torvalds/linux/blob/master/scripts/package/mkspec#L25 KERNEL_VERSION=`echo $KERNEL_VERSION | sed -e "s/-/_/g"` rpm name is replaced '-' by '_', but in centos7 [root@localhost ~]# uname -r 3.10.0-514.26.2.el7.x86_64 [root@localhost ~]# rpm -qa | grep kernel-devel kernel-devel-3.10.0-514.26.2.el7.x86_64 It use '-', so can`t find it, so install failed. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1704077/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

