Skip to content

custom: add ovs-manager play to configure OVSDB managers#2920

Closed
berendt wants to merge 1 commit into
mainfrom
add-ovs-manager-playbook
Closed

custom: add ovs-manager play to configure OVSDB managers#2920
berendt wants to merge 1 commit into
mainfrom
add-ovs-manager-playbook

Conversation

@berendt

@berendt berendt commented Jun 30, 2026

Copy link
Copy Markdown
Member

Summary

  • Add a custom Ansible play ovs-manager that configures the OVSDB
    managers (TCP listener on port 6640) on all Open vSwitch nodes — a
    listener on 127.0.0.1 and one on the node's own internal management
    address (ptcp:6640:{{ internal_address }}).
  • Guarded by the presence of the openvswitch_db container and made
    idempotent via a get-manager comparison, so it only acts on nodes
    that actually run Open vSwitch and only when the managers differ.
  • Run automatically at the end of deploy-services.sh so it executes
    once OVS and all other services are up.

This is required in preparation for the use of b42labs/northwatch to
demonstrate the OVS feature.

Test plan

osism apply --environment custom ovs-manager

🤖 Generated with Claude Code

Add a custom Ansible play that configures the OVSDB managers (TCP
listener on port 6640) on all Open vSwitch nodes. It sets a listener on
127.0.0.1 and on the node's own internal management address, guarded by
the presence of the openvswitch_db container and made idempotent via a
get-manager comparison.

Run it automatically at the end of the service deployment so it executes
once OVS and all other services are up.

Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Christian Berendt <berendt@osism.tech>
@berendt berendt moved this from Ready to In progress in Human Board Jun 30, 2026
@berendt berendt marked this pull request as draft July 1, 2026 06:38
@berendt berendt closed this Jul 1, 2026
@github-project-automation github-project-automation Bot moved this from In progress to Done in Human Board Jul 1, 2026
@berendt berendt deleted the add-ovs-manager-playbook branch July 1, 2026 06:50
berendt added a commit that referenced this pull request Jul 1, 2026
Add a custom Ansible play that installs Northwatch
(https://github.com/b42Labs/northwatch) as a .deb package on the manager
and configures it to browse, debug and monitor the testbed OVN control
plane. This is the config-file equivalent of Northwatch's `make testbed`
target: the OVN Northbound/Southbound addresses and the OpenStack
enrichment credentials are rendered into /etc/northwatch/clusters.json,
and the shipped northwatch.service is driven via /etc/default/northwatch.

The second play configures the OVSDB managers (TCP listener on port 6640,
on 127.0.0.1 and the node's internal management address) on all Open
vSwitch nodes for per-chassis OVS visibility. It supersedes the standalone
ovs-manager play from #2920, so that PR can be closed.

Run with:

  osism apply --environment custom northwatch

Assisted-by: Claude:claude-opus-4-8
berendt added a commit that referenced this pull request Jul 1, 2026
Add a custom Ansible play that installs Northwatch
(https://github.com/b42Labs/northwatch) as a .deb package on the manager
and configures it to browse, debug and monitor the testbed OVN control
plane. This is the config-file equivalent of Northwatch's `make testbed`
target: the OVN Northbound/Southbound addresses and the OpenStack
enrichment credentials are rendered into /etc/northwatch/clusters.json,
and the shipped northwatch.service is driven via /etc/default/northwatch.

The second play configures the OVSDB managers (TCP listener on port 6640,
on 127.0.0.1 and the node's internal management address) on all Open
vSwitch nodes for per-chassis OVS visibility. It supersedes the standalone
ovs-manager play from #2920, so that PR can be closed.

Run with:

  osism apply --environment custom northwatch

Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Christian Berendt <berendt@osism.tech>
berendt added a commit that referenced this pull request Jul 1, 2026
Add a custom Ansible play that installs Northwatch
(https://github.com/b42Labs/northwatch) as a .deb package on the manager
and configures it to browse, debug and monitor the testbed OVN control
plane. This is the config-file equivalent of Northwatch's `make testbed`
target: the OVN Northbound/Southbound addresses and the OpenStack
enrichment credentials are rendered into /etc/northwatch/clusters.json,
and the shipped northwatch.service is driven via /etc/default/northwatch.

The second play configures the OVSDB managers (TCP listener on port 6640,
on 127.0.0.1 and the node's internal management address) on all Open
vSwitch nodes for per-chassis OVS visibility. It supersedes the standalone
ovs-manager play from #2920, so that PR can be closed.

Run with:

  osism apply --environment custom northwatch

Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Christian Berendt <berendt@osism.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants