Files
sunbeam-charms/charms/neutron-k8s
Lucian Petrut 148f03751a Update vhost_sock_dir ML2 setting
The `vhost_sock_dir` ML2 ovn setting specifies the location
where Libvirt will place vhost-user unix sockets consumed
by ovs.

Right now, attempting to use vhost-user (dpdk) ports fails
since `/run/libvirt-vhost-user` doesn't exist:

```
libvirt.libvirtError: internal error: process exited while connecting
to monitor: 2025-08-08T08:09:05.144128Z qemu-system-x86_64:
-chardev socket,id=charnet0,path=/run/libvirt-vhost-user/vhu6a1804f8-e7,server=on:
Failed to bind socket to /run/libvirt-vhost-user/vhu6a1804f8-e7: No such file or directory
```

We'll configure it to use the Libvirt socket dir instead:
`/var/snap/openstack-hypervisor/common/run/libvirt`
c315284fc5/templates/libvirtd.conf.j2 (L115)

Change-Id: Id588b03de7b805f9ddfd0753d2b262c4df1cbfc4
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2025-08-11 12:49:54 +00:00
..
2025-08-11 12:49:54 +00:00
2024-07-31 11:57:32 +02:00
2025-05-19 20:32:08 +02:00
2025-04-30 08:44:20 +02:00
2022-01-13 13:38:03 +00:00
2025-05-05 15:49:14 +05:30
2025-04-30 08:44:20 +02:00
2025-06-10 13:52:25 +00:00

neutron-k8s

Description

neutron-k8s is an operator to manage the Neutron networking service on a Kubernetes based environment.

Usage

Deployment

neutron-k8s is deployed using below command:

juju deploy neutron-k8s neutron --trust

Now connect the neutron operator to existing database, messaging, identity, OVN and Vault operators:

juju relate mysql:database neutron:database
juju relate rabbitmq:amqp neutron:amqp
juju relate keystone:identity-service neutron:identity-service
juju relate ovn-central:ovsdb-cms neutron:ovsdb-cms
juju relate vault:certificates neutron:certificates

Configuration

This section covers common and/or important configuration options. See file config.yaml for the full list of options, along with their descriptions and default values. See the Juju documentation for details on configuring applications.

Actions

This section covers Juju actions supported by the charm. Actions allow specific operations to be performed on a per-unit basis. To display action descriptions run juju actions neutron. If the charm is not deployed then see file actions.yaml.

Relations

neutron-k8s requires the following relations:

database: To connect to MySQL amqp: To connect to RabbitMQ identity-service: To register endpoints in Keystone ovsdb-cms: To connect to OVN certificates: To retrieve generated certificates from Vault ingress-internal: To expose service on underlying internal network ingress-public: To expose service on public network

OCI Images

The charm by default uses ghcr.io/canonical/neutron-server:2025.1 image.

Contributing

Please see the Juju SDK docs for guidelines on enhancements to this charm following best practice guidelines, and CONTRIBUTING.md for developer guidance.

Bugs

Please report bugs on Launchpad.