← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1704077] [NEW] neutron install ovs failed, can`t find kernel-devel

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups