Skip to content

Use RBAC while connecting ovn-controllers to SB database#541

Open
slawqo wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
slawqo:issue/OSPRH-1922
Open

Use RBAC while connecting ovn-controllers to SB database#541
slawqo wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
slawqo:issue/OSPRH-1922

Conversation

@slawqo
Copy link
Contributor

@slawqo slawqo commented Mar 20, 2026

This patch configures RBAC to access OVN SB databases so that ovn-controllers now have limited access to this DB and will only be able to modify its own data.

On the other hand Northd requires "full access" to the SB DB, and to achieve that there is another DB listener created on port 16642 for to be used by northd.

More info about OVN RBAC can be found in its documentation at [1].

[1] https://docs.ovn.org/en/latest/tutorials/ovn-rbac.html

Closes: #OSPRH-1921
Closes: #OSPRH-1922

@openshift-ci openshift-ci bot requested review from averdagu and dprince March 20, 2026 14:27
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 20, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: slawqo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

This patch configures RBAC to access OVN SB databases so that
ovn-controllers now have limited access to this DB and will only be able
to modify its own data.

On the other hand Northd requires "full access" to the SB DB, and to
achieve that there is another DB listener created on port 16642 for
to be used by northd.

More info about OVN RBAC can be found in its documentation at [1].

[1] https://docs.ovn.org/en/latest/tutorials/ovn-rbac.html

Assisted-by: composer-2-fast

Closes: #OSPRH-1921
Closes: #OSPRH-1922
@slawqo slawqo force-pushed the issue/OSPRH-1922 branch from 445a848 to bbf8293 Compare March 20, 2026 14:28
@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/8881a8dd8a39461b9ead8d3463084988

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 44m 44s
ovn-operator-tempest-multinode FAILURE in 1h 25m 57s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant