RHEL-7.5: R3.2-vhost creation failed. kernel module version difference

Bug #1795093 reported by shajuvk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
R3.2
Fix Committed
High
Kumar Harsh
Trunk
Won't Fix
High
Kumar Harsh

Bug Description

environment:

Redhat-7.5 + contrail 3.2.11.0-82 (build for 3.2.12)
contrail-version: contrail-install-packages-3.2.11.0-82~redhat70newton

contrail has to package vrouter kernel module version with latest 7.5 kernel version (3.10.0-862.11.6)

[root@overcloud-novacompute-0 ~]# rpm -qa | grep 3.10.0-862
python-perf-3.10.0-862.11.6.el7.x86_64
kernel-devel-3.10.0-862.11.6.el7.x86_64
kernel-tools-libs-3.10.0-862.11.6.el7.x86_64
kernel-headers-3.10.0-862.11.6.el7.x86_64
kernel-3.10.0-862.11.6.el7.x86_64
kernel-tools-3.10.0-862.11.6.el7.x86_64

[root@overcloud-novacompute-0 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)
[root@overcloud-novacompute-0 ~]#
[root@overcloud-novacompute-0 ~]#
[root@overcloud-novacompute-0 ~]# uname -a
Linux overcloud-novacompute-0 3.10.0-862.11.6.el7.x86_64 #1 SMP Fri Aug 10 16:55:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@overcloud-novacompute-0 ~]#

contrail package has below vrouter modules :
3.10.0-229.el7.x86_64 3.10.0-327.10.1.el7.x86_64
[stack@undercloud modules]$

Error:
======
find /tmp/lib/modules -name vrouter.ko |tail -1
++ find /tmp/lib/modules -name vrouter.ko
++ tail -1
+ cp /tmp/lib/modules/3.10.0-327.10.1.el7.x86_64/extra/net/vrouter/vrouter.ko /tt
mp
+ insmod /tmp/vrouter.ko
insmod: ERROR: could not insert module /tmp/vrouter.ko: Invalid parameters

shajuvk (shajuvk)
information type: Proprietary → Public
Changed in juniperopenstack:
importance: Undecided → High
Jeba Paulaiyan (jebap)
tags: added: vrouter
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/43424
Submitter: Kumar Harsh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/43456
Submitter: Kumar Harsh (<email address hidden>)

Vinay Mahuli (vmahuli)
no longer affects: juniperopenstack
Revision history for this message
Mithun Mistry (mmithun) wrote : Re: RHEL-7.5: R3.2-vhost creation failed. kernel module version differance

Updated CB and nightly build redhat hosts with kernel-862. R3.2 CB build 177 is in progress and can be tested once complete

Jeba Paulaiyan (jebap)
tags: added: releaseblocker
Jeba Paulaiyan (jebap)
summary: - RHEL-7.5: R3.2-vhost creation failed. kernel module version differance
+ RHEL-7.5: R3.2-vhost creation failed. kernel module version difference
Revision history for this message
shajuvk (shajuvk) wrote :

Redhat released a new image 7.6 recently. It is better to include the latest 7.6 kernel instead of 7.5 latest

Linux rhel-cache.englab.juniper.net 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
shajuvk (shajuvk) wrote :

I have checked 185 build. Kernel version for latest 7.5 not available (3.10.0-862). Redhat release a new kernel as part of 7.6 release, we need to add that latest .ko in modules.

Binary file contrail-vrouter-3.2.13.0-185.el7.x86_64.rpm matches
Binary file lib/modules/3.10.0-229.el7.x86_64/extra/net/vrouter/vrouter.ko matches
Binary file lib/modules/3.10.0-327.10.1.el7.x86_64/extra/net/vrouter/vrouter.ko matches

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/43456
Committed: http://github.com/Juniper/contrail-packaging/commit/71ac72dffb1977421ab79f534489204a4316cc5c
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 71ac72dffb1977421ab79f534489204a4316cc5c
Author: Kumar Harsh <email address hidden>
Date: Fri Jun 1 14:49:01 2018 +0530

Add new kernel packages for redhat 7.5

Change-Id: If92b6f7e9bab1f65b6ce548bc6f67e93a5d92de6
Closes-Bug: #1795093

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/43424
Committed: http://github.com/Juniper/contrail-packages/commit/62e4e37635e931b1d8fc3acf1a1a2df1367e489b
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 62e4e37635e931b1d8fc3acf1a1a2df1367e489b
Author: Kumar Harsh <email address hidden>
Date: Thu May 31 14:20:58 2018 +0530

Build vrouter with 3.10.0-862.el7 kernel version for redhat 7.5

Change-Id: I19eefce40144faab5b3c21e2c3fb82ac908ced2f
Closes-Bug: #1795093

Revision history for this message
Mithun Mistry (mmithun) wrote :

Hi Shaju,

Please test CB build 188 once it finishes. It has all changes related to kernel 862 for R3.2

Logs : http://cs-build.contrail.juniper.net:8080/job/CB-R3.2-redhat70-newton/188/console

http://10.84.5.120/cs-build/jenkins-jobs/CB-R3.2-redhat70-newton/builds/188/

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/48033
Submitter: Kumar Harsh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/48033
Committed: http://github.com/Juniper/contrail-packaging/commit/0125df00e9f2773b26526977d886fe989f8a7b16
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 0125df00e9f2773b26526977d886fe989f8a7b16
Author: Kumar Harsh <email address hidden>
Date: Wed Dec 5 18:30:47 2018 +0530

update source for added packages.

Change-Id: Ic7696b64fb28a6474ba9ab51df4ca72d764ed33f
Closes-Bug: #1795093

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.