degraded systemd status due to nf_conntrack_ipv4,ipv6 module after kernel upgrade

Bug #1851764 reported by Nobuto Murata
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Neutron Open vSwitch Charm
Triaged
High
Unassigned

Bug Description

It's related bug #1834213 and the commit[1], but a follow-up one for upgrade.

[1] https://review.opendev.org/gitweb?p=openstack%2Fcharm-neutron-openvswitch.git;a=commitdiff;h=b76a59299794700fae1878af513c90ca5182a9f6

How to reproduce:
1. install neutron-openvswith charm with bionic GA kernel (4.15) and firewall-driver=openvswitch
2. after installation completed, install hwe or hwe-edge kernel which do not have nf_conntrack_ipv4 or ipv6 modules
3. reboot

The theory here is that the charm will load and write nf_conntrack_ipv4 and ipv6 module into /etc/modules when those modules are available at the time of install (GA kernel in this case). We might be missing some considerations on the upgrade path of kernel, but forcing those two modules loaded even after a kernel upgrade while nf_conntrack module should be sufficient as the patch states.

Tags: cpe-onsite
Revision history for this message
Nobuto Murata (nobuto) wrote : Re: degraded systemd status with Failed to find module nf_conntrack_ipv4,ipv6

$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

nf_conntrack_ipv4
nf_conntrack_ipv6

$ sudo systemctl status
● myhost
    State: degraded
     Jobs: 0 queued
   Failed: 1 units
    Since: Fri 2019-11-08 07:27:08 UTC; 7min ago

$ sudo systemctl --failed
  UNIT LOAD ACTIVE SUB DESCRIPTION
● systemd-modules-load.service loaded failed failed Load Kernel Modules

$ sudo systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2019-11-08 07:27:08 UTC; 8min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 543 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 543 (code=exited, status=1/FAILURE)

Nov 08 07:27:08 polite-weasel systemd-modules-load[543]: Failed to find module 'nf_conntrack_ipv4'
Nov 08 07:27:08 polite-weasel systemd-modules-load[543]: Failed to find module 'nf_conntrack_ipv6'
Nov 08 07:27:08 polite-weasel systemd-modules-load[543]: Inserted module 'iscsi_tcp'
Nov 08 07:27:08 polite-weasel systemd-modules-load[543]: Inserted module 'ib_iser'
Nov 08 07:27:08 polite-weasel systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Nov 08 07:27:08 polite-weasel systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Nov 08 07:27:08 polite-weasel systemd[1]: Failed to start Load Kernel Modules.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

summary: - Reboot will be stuck with Failed to find module nf_conntrack_ipv4,ipv6
+ degraded systemd status with Failed to find module
+ nf_conntrack_ipv4,ipv6
summary: - degraded systemd status with Failed to find module
- nf_conntrack_ipv4,ipv6
+ degraded systemd status due to nf_conntrack_ipv4,ipv6 module after
+ kernel upgrade
tags: added: series-upgrade
Changed in charm-neutron-openvswitch:
status: New → Triaged
tags: removed: series-upgrade
Changed in charm-neutron-openvswitch:
milestone: none → 20.01
importance: Undecided → Critical
importance: Critical → High
James Page (james-page)
Changed in charm-neutron-openvswitch:
milestone: 20.01 → 20.05
David Ames (thedac)
Changed in charm-neutron-openvswitch:
milestone: 20.05 → 20.08
James Page (james-page)
Changed in charm-neutron-openvswitch:
milestone: 20.08 → none
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.