← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1994023] Re: Missing nf_conntrack_proto_gre module on Ubuntu Jammy breaks functional tests job

 

Actually the issue is with running "dmesg" command in
https://opendev.org/openstack/devstack/src/commit/c3a82032ab91343114b957a26f6530b32fe60e2b/lib/neutron_plugins/ovs_source#L38
without sudo. In Ubuntu Jammy it seems that setting sysctl
kernel.dmesg_restrict=1 by default thus running dmesg requires root
privileges.

** Project changed: neutron => devstack

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1994023

Title:
  Missing nf_conntrack_proto_gre module on Ubuntu Jammy breaks
  functional tests job

Status in devstack:
  In Progress

Bug description:
  Error
  https://zuul.opendev.org/t/openstack/build/6d774cc87eef44c49f27648f406ed9cb/logs

  2022-10-21 06:36:54.291487 | controller | ++ functions-common:trueorfalse:221         :   set +o xtrace
  2022-10-21 06:36:54.295888 | controller | + lib/neutron_plugins/ovs_source:load_module:35 :   '[' False == True ']'
  2022-10-21 06:36:54.298412 | controller | + lib/neutron_plugins/ovs_source:load_module:38 :   sudo modprobe nf_conntrack_proto_gre
  2022-10-21 06:36:54.309618 | controller | modprobe: FATAL: Module nf_conntrack_proto_gre not found in directory /lib/modules/5.15.0-52-generic
  2022-10-21 06:36:54.314725 | controller | + lib/neutron_plugins/ovs_source:load_module:38 :   echo 'FAILED TO LOAD nf_conntrack_proto_gre'
  2022-10-21 06:36:54.314777 | controller | FAILED TO LOAD nf_conntrack_proto_gre
  2022-10-21 06:36:54.318160 | controller | + lib/neutron_plugins/ovs_source:load_module:38 :   dmesg
  2022-10-21 06:36:54.319864 | controller | dmesg: read kernel buffer failed: Operation not permitted
  2022-10-21 06:37:05.571601 | controller | ERROR
  2022-10-21 06:37:05.571906 | controller | {
  2022-10-21 06:37:05.572001 | controller |   "delta": "0:03:11.973578",
  2022-10-21 06:37:05.572089 | controller |   "end": "2022-10-21 06:36:54.324091",
  2022-10-21 06:37:05.572174 | controller |   "msg": "non-zero return code",
  2022-10-21 06:37:05.572258 | controller |   "rc": 1,
  2022-10-21 06:37:05.572341 | controller |   "start": "2022-10-21 06:33:42.350513"
  2022-10-21 06:37:05.572423 | controller | }

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1994023/+subscriptions



References