vrouter not present after upgrade from CN 3.2.3 to 4.1.1 on RHOSP 10

Bug #1799275 reported by el yousfi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
High
alexey-mr
R5.0
New
High
alexey-mr
Trunk
New
High
alexey-mr

Bug Description

Hello,
we performed an upgrade from Contrail 3.2.3 to 4.1.1 on RHOSP10, after upgrade we rebooted the compute nodes and then we noticed that the vrouter hasn't been inserted in the new kernel version.

vRouter is NOT PRESENT

== Contrail vRouter ==
supervisor-vrouter: active
contrail-vrouter-agent failed
contrail-vrouter-nodemgr initializing (Collector connection down)

 uname -a
Linux cputenode02.vimbox.com 3.10.0-862.9.1.el7.x86_64 #1 SMP Wed Jun 27 04:30:39 EDT 2018 x

find /lib/modules/ -name vrouter.ko
/lib/modules/3.10.0-514.26.2.el7.x86_64/extra/net/vrouter/vrouter.ko
/lib/modules/3.10.0-514.26.2.el7.x86_64/weak-updates/vrouter.ko
/lib/modules/3.10.0-514.26.2.el7.x86_64/weak-updates/net/vrouter/vrouter.ko
/lib/modules/3.10.0-327.36.1.el7.x86_64/extra/net/vrouter/vrouter.ko
/lib/modules/3.10.0-862.el7.x86_64/extra/net/vrouter/vrouter.ko

Thanks
regards

el yousfi (selyousfi)
Changed in juniperopenstack:
importance: Undecided → High
shajuvk (shajuvk)
information type: Proprietary → Public
Revision history for this message
shajuvk (shajuvk) wrote :

We debugged the issue. Vrouter kernel module was not inserted with the kernel version 3.10.0-862.9.1. But if we do "insmod /lib/modules/3.10.0-862.el7.x86_64/extra/net/vrouter/vrouter.ko' it inserted. After inserting kernel manully and restarted the agent, vrouter agent was not up since the directory " /lib/modules/3.10.0-862.9.1.el7.x86_64/extra/net/vrouter/vrouter.ko" was not present.

 vrouter module not inserted with kernel version 3.10.0862.el7.x86_64. Is this because, we are not creating the .ko directory for new kernel ?

NOte: Issue noticed only on upgrade from 3.2 to R4.1.1 , Fresh install works properly

tags: added: rhosp
tags: added: upgrade
Revision history for this message
Jeba Paulaiyan (jebap) wrote :
tags: added: 2018-1022-0341 jtac-p2
Revision history for this message
shajuvk (shajuvk) wrote :

For me this looks a change needed in contrail puppet code. If we are upgrading kernel, we need to do a reboot before we insert the kernel.

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

Review in progress for https://review.opencontrail.org/47421
Submitter: alexey-mr (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/47421
Committed: http://github.com/Juniper/contrail-packages/commit/153a5d619fe61c1a9bf5b45957c0c04699c5682b
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 153a5d619fe61c1a9bf5b45957c0c04699c5682b
Author: alexey-mr <email address hidden>
Date: Thu Nov 1 21:17:18 2018 +0300

Fixed vrouter uprgade 3.2 => 4.1

Change-Id: I4d9eca7abdb8b784fd38f77acb4bfd8cda07695f
Closes-Bug: #1799275

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.