[ovs-git] [ovn-org/ovn] 8d7c73: northd: Amend Chassis RBAC rules

Ilya Maximets noreply at github.com
Mon Mar 15 11:36:01 UTC 2021


  Branch: refs/heads/branch-20.03
  Home:   https://github.com/ovn-org/ovn
  Commit: 8d7c73cc031c18903f0c9f7e1dc535c2a193284f
      https://github.com/ovn-org/ovn/commit/8d7c73cc031c18903f0c9f7e1dc535c2a193284f
  Author: Frode Nordahl <frode.nordahl at canonical.com>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M northd/ovn-northd.c

  Log Message:
  -----------
  northd: Amend Chassis RBAC rules

The Transport Zones support does currently not work when RBAC is
enabled.

Fixes: 07d0d258d ("OVN: Add support for Transport Zones")
Signed-off-by: Frode Nordahl <frode.nordahl at canonical.com>
Signed-off-by: Numan Siddique <numans at ovn.org>

(cherry-picked from master commit b865e502293b8504812b062321be442805f46d4a)

(cherry picked from commit c9c1146ca125bff0cb26cb755f37aa36f3224ba2)


  Commit: 36a8b1a1d9bc1d087df0c2791c3363f240b84799
      https://github.com/ovn-org/ovn/commit/36a8b1a1d9bc1d087df0c2791c3363f240b84799
  Author: Frode Nordahl <frode.nordahl at canonical.com>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M northd/ovn-northd.c

  Log Message:
  -----------
  northd: Add Controller_Event RBAC rules

The use of the Controller_Event table does currently not work
when RBAC is enabled.

Fixes: be1eeb09d ("OVN: introduce Controller_Event table")
Signed-off-by: Frode Nordahl <frode.nordahl at canonical.com>
Signed-off-by: Numan Siddique <numans at ovn.org>

(cherry-picked from master commit 51f2629cda614d0712ca13f4b51e30c9c2290bc1)


  Commit: 295480407837cf9812cfb9fbcbd23a844ac6bd0e
      https://github.com/ovn-org/ovn/commit/295480407837cf9812cfb9fbcbd23a844ac6bd0e
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M .ci/linux-prepare.sh
    M .github/workflows/test.yml

  Log Message:
  -----------
  ci: Fix handling of python packages.

GitHub Actions doesn't have python locations in PATH and different
runners might have different configuration for default python
location and versions.  For example, on some runners python2 might
be installed or not.

Missing PATH causes weird situations where during one run our scripts
can locate just installed flake8 and can't do that on a different run.

Also, we're mistakenly installing python2 version of flake8.
On runners that able to locate installed flake8 this causes breakage
of a flake8-check build target because our python scripts written for
python3.  And runners that can't locate flake8 works just fine and
job succeeds.

It's required to use actions/setup-python at v2 in order to have
predictable version of python installed and paths correctly configured.
Due to some bugs in GHA itself it doesn't set $HOME/.local/bin into
PATH, so we have to do that manually for now in order to use '--user'.

Unfortunately actions/setup-python at v2 also makes invisible python
packages installed from Ubuntu repositories.  Switching them to
'pip3 install'.

'six' package is not needed, so it's dropped.

Fixes: ecdd790ecbff ("CI: Add github actions workflow.")
Reported-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
Acked-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
(cherry picked from commit 338a6ddb5ea1c89b48c484b0448a216a82225adc)


Compare: https://github.com/ovn-org/ovn/compare/4d83a056d9bc...295480407837


More information about the git mailing list