From a94d48c2ee78344bad44ac507e69121d398deee2 Mon Sep 17 00:00:00 2001 From: Guillaume Boutry Date: Fri, 4 Sep 2026 15:28:27 +0200 Subject: [PATCH] feat: drop hypervisor OVSDB CMS integration The OVN agent now reads database connections from the local MicroOVN ovn-env interface. Stop relating the hypervisor to sunbeam-ovn-proxy and remove the obsolete endpoint binding. Assisted-By: Codex (gpt-5-6-sol) Signed-off-by: Guillaume Boutry --- cloud/etc/deploy-openstack-hypervisor/main.tf | 18 ------------------ sunbeam-python/sunbeam/steps/hypervisor.py | 4 ---- 2 files changed, 22 deletions(-) diff --git a/cloud/etc/deploy-openstack-hypervisor/main.tf b/cloud/etc/deploy-openstack-hypervisor/main.tf index e6b73e04d..998f693ee 100644 --- a/cloud/etc/deploy-openstack-hypervisor/main.tf +++ b/cloud/etc/deploy-openstack-hypervisor/main.tf @@ -98,24 +98,6 @@ resource "juju_integration" "hypervisor-certs" { } } -moved { - from = juju_integration.hypervisor-ovn-proxy[0] - to = juju_integration.hypervisor-ovn-proxy -} - -resource "juju_integration" "hypervisor-ovn-proxy" { - model_uuid = data.juju_model.machine_model.uuid - application { - name = juju_application.openstack-hypervisor.name - endpoint = "ovsdb-cms" - } - - application { - name = "sunbeam-ovn-proxy" - endpoint = "ovsdb-cms" - } -} - resource "juju_integration" "hypervisor-ceilometer" { count = (var.ceilometer-offer-url != null) ? 1 : 0 model_uuid = data.juju_model.machine_model.uuid diff --git a/sunbeam-python/sunbeam/steps/hypervisor.py b/sunbeam-python/sunbeam/steps/hypervisor.py index fe814058c..266d15a9a 100644 --- a/sunbeam-python/sunbeam/steps/hypervisor.py +++ b/sunbeam-python/sunbeam/steps/hypervisor.py @@ -162,10 +162,6 @@ def extra_tfvars(self) -> dict: "endpoint": "nova-service", "space": self.deployment.get_space(Networks.INTERNAL), }, - { - "endpoint": "ovsdb-cms", - "space": self.deployment.get_space(Networks.INTERNAL), - }, { "endpoint": "receive-ca-cert", "space": self.deployment.get_space(Networks.INTERNAL),