Vexxhost magnum-cluster-api driver¶
Warning
The content for this repository has been moved and integrated with core OpenStack-Ansible content in 2026.1 (Gazpacho). Please refer to the Magnum role documentation for configuration and design reference of the Magnum Cluster API driver.
You can switch to prior releases (e.g. 2025.2) to check a code and documentation for this repository.
This documentation will guide you through the migration/upgrade process for OpenStack Magnum deployment with Vexxhost CAPI driver, in case it has been deployed prior to the 2026.1 (Gazpacho) release from the OPS repository.
Migrating from OPS repository to os_magnum integrated¶
In 2026.1 (Gazpacho) release OpenStack-Ansible has performed a refactoring of the Magnum service deployment, to ensure that Cluster API drivers are fully supported out of the box and can be deployed as any other service, without too many manual steps.
As most of the content has been promoted from the OPS repository to the integrated OpenStack-Ansible deployment, a lot of configuration performed prior to this change can be safely removed. With that there are some extra configuration parameters, which should be performed for the successful migration.
Please, adhere to the steps below in order to upgrade your deployment to 2026.1 (Gazpacho) release:
Remove
vexxhost.kubernetesdependency from the /etc/openstack_deploy/user-collection-requirements.yml fileRemove
docker-image-pyandkubernetesdependencies from the /etc/openstack_deploy/user-ansible-venv-requirements.txt fileRename
cluster-api_hoststocluster_api_hostsin /etc/openstack_deploy/conf.d/k8s.yml. While this change is optional, upgrade guide to 2026.1 includes recommendation to replace all dashes with underscores in conf.d files.In case you have unchanged definition of
haproxy_k8s_serviceandk8s_haproxy_services, feel free to remove /etc/openstack_deploy/group_vars/k8s_all/haproxy_service.yml These variables are still effective, so it is safe to leave them defined as an override of the default value.Please, carefully review overrides in the /etc/openstack_deploy/group_vars/k8s_all/main.yml It is safe to leave them “as is”, as overrides of the default values. You can find default values defined in OpenStack-Ansible’s integrated repository
In most cases, overrides applied in /etc/openstack_deploy/group_vars/magnum_all/main.yml can be removed, with special attention to following values:
openstack_ca_fileandca_file- these values are now controlled with a variablemagnum_capi_ca_file, which by default points to /etc/ssl/certs/ca-certificates.crt.kubernetes_allowed_network_driversandkubernetes_default_network_driverare now controlled with a variablemagnum_capi_network_driver_defaultwhich defaults tocalico.magnum_magnum_cluster_api_git_install_branch- has been replaced with themagnum_capi_vexxhost_git_install_branchand defaults tov0.36.6for 2026.1 release.magnum_magnum_cluster_api_git_repohas been replaced with a variablemagnum_capi_vexxhost_git_repo.
You need to add a variable
magnum_k8s_driver: vexxhostto /etc/openstack_deploy/group_vars/magnum_all/main.ymlPlaybook
osa_ops.mcapi_vexxhost.k8s_installhas been replaced with aopenstack.osa.k8sIn case you have used
magnum-cluster-api-proxy:Variable
mcapi_vexxhost_proxy_hostshas been renamed tomagnum_capi_vexxhost_proxy_hostsPlaybook
osa_ops.mcapi_vexxhost.mcapi_proxyhas been replaced withopenstack.osa.magnum_capi_proxy