[Bug 1914988] Re: IGMP Snooping does not work with RBAC enabled ovn-controllers
Corey Bryant
1914988 at bugs.launchpad.net
Thu Nov 4 00:40:35 UTC 2021
This bug was fixed in the package ovn - 20.03.2-0ubuntu0.20.04.2~cloud0
---------------
ovn (20.03.2-0ubuntu0.20.04.2~cloud0) bionic-ussuri; urgency=medium
.
* New update for the Ubuntu Cloud Archive.
.
ovn (20.03.2-0ubuntu0.20.04.2) focal; urgency=medium
.
* Add RBAC rules for IGMP_Group table (LP: #1914988):
- d/p/lp-1914988-Add-IGMP_Group-to-ovn-controller-RBAC.patch
- d/p/lp-1914988-tests-Use-ovn_start-in-tests-ovn-controller.at.patch
- d/p/lp-1914988-tests-Make-certificate-generation-extendable.patch
- d/p/lp-1914988-tests-Test-with-SSL-and-RBAC-for-controller-by-defau.patch
* d/p/lp-1943266-physical-do-not-forward-traffic-from-localport-to-a-.patch:
Do not forward traffic from localport to localnet ports (LP: #1943266).a
* d/p/lp-1937075-ovn-ctl-Fix-stucked-while-do-cluster-db-init.patch:
Fix issue where clustered database might not be upgraded (LP: #1937075).
** Changed in: cloud-archive/ussuri
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ovn in Ubuntu.
https://bugs.launchpad.net/bugs/1914988
Title:
IGMP Snooping does not work with RBAC enabled ovn-controllers
Status in Ubuntu Cloud Archive:
Fix Released
Status in Ubuntu Cloud Archive ussuri series:
Fix Released
Status in Ubuntu Cloud Archive wallaby series:
Fix Released
Status in ovn package in Ubuntu:
Fix Released
Status in ovn source package in Focal:
Fix Released
Status in ovn source package in Hirsute:
Fix Released
Status in ovn source package in Impish:
Fix Released
Bug description:
[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
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1914988/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list