Ovn Central

  • By OpenStack Charmers
  • Cloud
Channel Revision Published Runs on
latest/edge 156 13 Sep 2023
Ubuntu 22.04
22.03/stable 165 31 Jan 2024
Ubuntu 22.04 Ubuntu 20.04
openstack-21.09/edge 19 22 Feb 2022
Ubuntu 20.04
openstack-20.12/edge 18 22 Feb 2022
Ubuntu 20.04
openstack-20.03/edge 17 22 Feb 2022
Ubuntu 20.04 Ubuntu 18.04
23.09/stable 164 30 Nov 2023
Ubuntu 23.10
23.03/stable 171 31 Jan 2024
Ubuntu 23.04 Ubuntu 22.10 Ubuntu 22.04
22.09/stable 172 31 Jan 2024
Ubuntu 22.10 Ubuntu 22.04
21.09/stable 24 05 Aug 2022
Ubuntu 20.04
20.12/stable 30 23 Jan 2023
Ubuntu 20.04
20.03/stable 35 23 Jan 2023
Ubuntu 20.04 Ubuntu 18.04
juju deploy ovn-central --channel 22.03/stable
Show information

Platform:

Ubuntu
22.04 20.04

Overview

The ovn-central charm provides the Northbound and Southbound OVSDB Databases and the Open Virtual Network (OVN) central control daemon (ovn-northd). It is used in conjunction with either the ovn-chassis subordinate charm or the ovn-dedicated-chassis principle charm.

Note: The OVN charms are supported starting with OpenStack Train.

Usage

The OpenStack Base bundle gives an example of how you can deploy OpenStack and OVN with Vault to automate certificate lifecycle management.

OVN makes use of Public Key Infrastructure (PKI) to authenticate and authorize control plane communication. The charm therefore requires a Certificate Authority to be present in the model as represented by the certificates relation.

Refer to Open Virtual Network (OVN) in the OpenStack Charms Deployment Guide for details, including deployment steps.

Note: The ovn-central charm requires a minimum of three units to operate.

Network spaces

This charm supports the use of Juju network spaces.

By binding the ovsdb, ovsdb-cms and ovsdb-peer endpoints you can influence which interface will be used for communication with consumers of the Southbound DB, Cloud Management Systems (CMS) and cluster internal communication.

juju deploy -n 3 --series focal \
    --bind "''=oam-space ovsdb=data-space" \
    ovn-central

OVN RBAC and securing the OVN services

The charm enables RBAC in the OVN Southbound database by default. The RBAC feature enforces authorization of individual chassis connecting to the database, and also restricts database operations.

In the event of an individual chassis being compromised, RBAC will make it more difficult to leverage database access for compromising other parts of the network.

Note: Due to how RBAC is implemented in ovsdb-server the charm opens up a separate listener at port 16642 for connections from ovn-northd.

The charm automatically enables the firewall and will allow traffic from its cluster peers to port 6641, 6643, 6644 and 16642. CMS clients will be allowed to talk to port 6641.

Anyone will be allowed to connect to port 6642.

Deferred service events

Operational or maintenance procedures applied to a cloud often lead to the restarting of various OpenStack services and/or the calling of certain charm hooks. Although normal, such events can be undesirable due to the service interruptions they can cause.

The deferred service events feature provides the operator the choice of preventing these service restarts and hook calls from occurring, which can then be resolved at a more opportune time.

See the Deferred service events page in the OpenStack Charms Deployment Guide for an in-depth treatment of this feature.

Bugs

Please report bugs on Launchpad.

For general questions please refer to the OpenStack Charm Guide.


Help improve this document in the forum (guidelines). Last updated 9 months ago.