Skip to content

fix: drop exposed ovs/ovn commands - #218

Merged
ahmad-can merged 1 commit into
canonical:mainfrom
gboutry:fix/ovs-env
Sep 8, 2026
Merged

ahmad-can merged 1 commit into
canonical:mainfrom
gboutry:fix/ovs-env

Conversation

@gboutry

@gboutry gboutry commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Since OVS is no longer managed by the snap, the ovn/ovs managing tool should no longer be exposed, and remain an internal component for the openstack tooling to interact with.

Keep the OVS_RUNDIR command to allow tooling to target the right ovs socket when the microovn chassis plug is connected. (Needed by the ovn-agent bgp extensio).

QA steps

Refresh an existing installation, validate that the following commands no longer exist:

openstack-hypervisor.ovn-appctl
openstack-hypervisor.ovn-trace
openstack-hypervisor.ovn-detrace
openstack-hypervisor.ovs-vsctl
openstack-hypervisor.ovs-appctl
openstack-hypervisor.ovs-ofctl
openstack-hypervisor.ovs-dpctl

From within the snap, validate that ovs commands no longer need the microovn socket path:

$ sudo snap run --shell openstack-hypervisor
# ovs-vsctl list-br
br-ex
br-int

Since OVS is no longer managed by the snap, the ovn/ovs managing tool
should no longer be exposed, and remain an internal component for the
openstack tooling to interact with.

Keep the OVS_RUNDIR command to allow tooling to target the right ovs
socket when the microovn chassis plug is connected. (Needed by the
ovn-agent bgp extensio).

Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
@ahmad-can
ahmad-can merged commit fabaf10 into canonical:main Sep 8, 2026
3 checks passed
@gboutry
gboutry deleted the fix/ovs-env branch September 8, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants