Missing nf_conntrack_proto_gre module on Ubuntu Jammy breaks functional tests job
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Critical
|
Slawek Kaplonski |
Bug Description
Error https:/
2022-10-21 06:36:54.291487 | controller | ++ functions-
2022-10-21 06:36:54.295888 | controller | + lib/neutron_
2022-10-21 06:36:54.298412 | controller | + lib/neutron_
2022-10-21 06:36:54.309618 | controller | modprobe: FATAL: Module nf_conntrack_
2022-10-21 06:36:54.314725 | controller | + lib/neutron_
2022-10-21 06:36:54.314777 | controller | FAILED TO LOAD nf_conntrack_
2022-10-21 06:36:54.318160 | controller | + lib/neutron_
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 | }
Actually the issue is with running "dmesg" command in https:/ /opendev. org/openstack/ devstack/ src/commit/ c3a82032ab91343 114b957a26f6530 b32fe60e2b/ 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.