[Bug 1917475] Re: RBAC Permissions too strict for Port_Binding table

Brian Murray 1917475 at bugs.launchpad.net
Tue Oct 5 17:48:26 UTC 2021


Hello Liam, or anyone else affected,

Accepted ovn into hirsute-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/ovn/20.12.0-0ubuntu3
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
hirsute to verification-done-hirsute. If it does not fix the bug for
you, please add a comment stating that, and change the tag to
verification-failed-hirsute. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ovn (Ubuntu Hirsute)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-hirsute

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1917475

Title:
  RBAC Permissions too strict for Port_Binding table

Status in Ubuntu Cloud Archive:
  Fix Committed
Status in Ubuntu Cloud Archive wallaby series:
  New
Status in ovn package in Ubuntu:
  Fix Released
Status in ovn source package in Focal:
  Fix Released
Status in ovn source package in Groovy:
  Fix Released
Status in ovn source package in Hirsute:
  Fix Committed
Status in ovn source package in Impish:
  Fix Released

Bug description:
  [Impact]
  The OpenStack Octavia service will not work after upgrade to Hirsute.

  [Test Plan]
  Execute the gate tests for the octavia charm, which performs a full cloud deployment and confirms successful creation and operation of load balancer.

  [Regression Potential]
  The patch has already been available in the upstream branch-20.12 and has been released in our Focal packages as part of the 20.03.2 point release update for some time.

  [Original Bug Description]
  When using Openstack Ussuri with OVN 20.03 and adding a floating IP address to a unbound port the ovn-controller on the hypervisor repeatedly reports:

  2021-03-02T10:33:35.517Z|35359|ovsdb_idl|WARN|transaction error: {"details":"RBAC rules for client \"juju-eab186-zaza-d26c8c079cc7-11.project.serverstack\" role \"ovn-controller\" prohibit modification of table \"Port_Binding\".","error":"permission error"}
  2021-03-02T10:33:35.518Z|35360|main|INFO|OVNSB commit failed, force recompute next time.

  The seams to be because the ovn-controller needs to update the
  virtual_parent attribute of the port binding *2 but that is not
  included in the list of permissions allowed by the ovn-controller role
  *1

  *1 https://github.com/ovn-org/ovn/blob/aa8ef5588c119fa8615d78288a7db7e3df2d6fbe/northd/ovn-northd.c#L11331-L11332
  *2 https://pastebin.ubuntu.com/p/4CfcxgDgdm/

  Disabling rbac by changing the role to "" and stopping and starting
  the southbound db listener results in the port being immediately
  updated and the floating IP can be accessed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1917475/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list