← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 1914988] [NEW] IGMP Snooping does not work with RBAC enabled ovn-controllers

 

You have been subscribed to a public bug:

[Impact]
It is currently not possible to use Multicast IGMP snooping with OVN in Ubuntu Focal and Hirsute.

[Test Plan]
1. Execute the gate tests for the neutron-api-plugin-ovn charm, which performs a full cloud deployment and confirms two instances can spawn, get metadata and communicate with each other.

2. Enable IGMP snooping and have instances join a multicast group and
validate that packets forward and check for RBAC errors.

[Regression Potential]
This is a very small patch that adds a static RBAC rule that ovn-northd writes into the database.  The patch has already been available in the upstream branches since February 2021, we have also landed several similar patches upstream which have previously been made available to Focal through point release updates.

[Original Bug Description]
Hi,

I've tested this on both 20.03 and 20.06.

Looking into ovn-architecture.xml: https://github.com/ovn-org/ovn/blob/master/ovn-architecture.7.xml#L2530
It states that once RBAC is enabled, ovn-controllers will have access to some of the tables and that is hardcoded within OVN.

That means once RBAC is enabled, IGMP_Group table is out of reach for
ovn-controllers and will cause the following issue:

2021-02-06T17:17:40.916Z|00028|ovsdb_idl|WARN|transaction error:
{"details":"RBAC rules for client "REDACTED" role "ovn-controller"
prohibit row insertion into table "IGMP_Group".","error":"permission
error"}

Reported on upstream repo: https://github.com/ovn-org/ovn/issues/77

Proposed patch:
https://github.com/phvalguima/ovn/commit/3419d9946c51b413f816ceb82372677e4afdbe9d

** Affects: ubuntu-translations
     Importance: Undecided
         Status: Invalid

** Affects: cloud-archive
     Importance: Undecided
         Status: Fix Released

** Affects: cloud-archive/ussuri
     Importance: Undecided
         Status: Fix Committed

** Affects: cloud-archive/wallaby
     Importance: Undecided
         Status: Fix Committed

** Affects: ovn (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: ovn (Ubuntu Focal)
     Importance: Undecided
         Status: Fix Committed

** Affects: ovn (Ubuntu Hirsute)
     Importance: High
         Status: Fix Committed

** Affects: ovn (Ubuntu Impish)
     Importance: Undecided
         Status: Fix Released


** Tags: sts verification-done verification-done-focal verification-done-hirsute verification-ussuri-done verification-wallaby-done
-- 
IGMP Snooping does not work with RBAC enabled ovn-controllers
https://bugs.launchpad.net/bugs/1914988
You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to Ubuntu Translations.