neutron-api config for path-mtu gives false positive

Bug #1988851 reported by Gabriel Cocenza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Lint
Fix Released
Medium
Gabriel Cocenza

Bug Description

When linting a bundle generated on fce-templates it's possible to see this error:

ERROR Application neutron-api has incorrect setting for 'path-mtu': Expected 9000, got 1558

Talking with Nobuto, this is a false positive. path-mtu should be set to <= 1550 for ovs and set to <= 1558 to ovn.

SolQA will eventually update those values on BB (Bundle Builder) to differentiate ovs and ovn.

Tags: bseng-405

Related branches

Revision history for this message
Nobuto Murata (nobuto) wrote :

To be more precise, it can be bigger than 1550 or 1558, but to use mtu=1500 on tenant networks, those two values are the requirement.

Using bigger value can be a problem especially with OVN when communicating with other external networks through a router because of missing:
https://bugs.launchpad.net/charm-neutron-api-plugin-ovn/+bug/1947391

description: updated
Revision history for this message
Nobuto Murata (nobuto) wrote :

> ERROR Application neutron-api has incorrect setting for 'path-mtu': Expected 9000, got 1558
>
> Talking with Nobuto, this is a false positive. path-mtu should be set to <= 1550 for ovs and set to <= 1558 to ovn.

For the time being, the lint rule can be path-mtu >=1550 for ovs, and path-mtu >=1558 for ovn.

tags: added: bseng-405
Revision history for this message
Gabriel Cocenza (gabrielcocenza) wrote :

> For the time being, the lint rule can be path-mtu >=1550 for ovs, and path-mtu >=1558 for ovn.

I've already send a patch to review that is adding two capabilities:

- set log-level
- set custom message if the check doesn't pass.

So right now the patch is sending a warning message if the path-mtu >= 1550 for ovs, and path-mtu >= 1558 for ovn. The message says:

"Application neutron-api has config for 'path-mtu' which is bigger than <PATH_MTU_VALUE>. Using bigger value can be a problem to communicate with other external networks through a router."

What do you think Nobuto?

Setting the lint rule path-mtu >= 1550 or path-matu >= 1558 would be easier, but I think it's a good feature for juju-lint be able to control custom messages and log-level.

Changed in juju-lint:
status: New → Fix Committed
importance: Undecided → Medium
Changed in juju-lint:
milestone: none → 1.0.5
Changed in juju-lint:
status: Fix Committed → Fix Released
Changed in juju-lint:
assignee: nobody → Gabriel Angelo Sgarbi Cocenza (gabrielcocenza)
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.