Skip to content

tests/integration: fix ovsdb-server test on OVS 4.0.0+ - #613

Open
matperin wants to merge 1 commit into
canonical:mainfrom
matperin:fix-ovsdb-server-test
Open

tests/integration: fix ovsdb-server test on OVS 4.0.0+#613
matperin wants to merge 1 commit into
canonical:mainfrom
matperin:fix-ovsdb-server-test

Conversation

@matperin

@matperin matperin commented Sep 8, 2026

Copy link
Copy Markdown

OVS 4.0.0 added ovsdb-server.socket for socket activation. Now, stopping only ovsdb-server.service no longer keeps the DB down, since the next ovs-vsctl call triggers systemd to restart the service.

Stop the socket too so the "database is not running" check actually holds.

This change is needed short term to let OVS pass the proposed-migration autopkgtest but it also worth checking if the new service affects the current netplan implementation.

Checklist

  • Runs make check successfully.
  • Retains code coverage (make check-coverage).

OVS 4.0.0 added ovsdb-server.socket for socket activation. Now, stopping
only ovsdb-server.service no longer keeps the DB down, since the next
ovs-vsctl call triggers systemd to restart the service.

Stop the socket too so the "database is not running" check actually holds.

Signed-off-by: Matteo Perin <[email protected]>
@matperin
matperin force-pushed the fix-ovsdb-server-test branch from 60cefc5 to 859f519 Compare September 8, 2026 14:52
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.

1 participant