Skip to content

ci(magnum): deprecate heat and use magnum-cluster-api driver - #3765

Merged
mandre merged 3 commits into
gophercloud:mainfrom
winiciusallan:change-magnum-ci
Jul 8, 2026
Merged

mandre merged 3 commits into
gophercloud:mainfrom
winiciusallan:change-magnum-ci

Conversation

@winiciusallan

Copy link
Copy Markdown
Contributor

As Magnum moved towards removing the Heat driver to use out-of-tree drivers instead[1], we cannot rely on it anymore in our CI. This pull request changes the functional-containerinfra job to use the vexxhost/magnum-cluster-api[2] plugin that's also being used upstream[3].

The Vexxhost's driver spins up a Kubernetes cluster using Kind, installs all the dependencies, such as: kubectl, clusterctl, and CAPI, with OpenStack as the infrastructure provider (so we also have ORC here 🤩 ).

Let's see how it goes.

[1] https://review.opendev.org/c/openstack/magnum/+/985348
[2] https://github.com/vexxhost/magnum-cluster-api
[3] https://review.opendev.org/c/openstack/magnum-tempest-plugin/+/987846

@github-actions github-actions Bot added edit:actions This PR updates GitHub Actions code edit:testinfra This PR updates testing infrastructure code semver:patch No API change backport-v2 This PR will be backported to v2 labels May 23, 2026
Comment thread script/stackenv Outdated
@coveralls

coveralls commented May 23, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 63.54%. remained the same — winiciusallan:change-magnum-ci into gophercloud:main

@winiciusallan

winiciusallan commented May 23, 2026 •

Copy link
Copy Markdown
Contributor Author

The error on master branch has an upstream bug report on Launchpad. It looks like a consequence of migrating to use the openstacksdk.

https://bugs.launchpad.net/magnum/+bug/2153128

@winiciusallan

Copy link
Copy Markdown
Contributor Author

The error on master branch has an upstream bug report on Launchpad. It looks like a consequence of migrating to use the openstacksdk.

https://bugs.launchpad.net/magnum/+bug/2153128

As a follow-up, I've proposed a patch for this issue. Let's see if we can get it merged.

https://review.opendev.org/c/openstack/magnum/+/990397

@winiciusallan

Copy link
Copy Markdown
Contributor Author

The error on Epoxy is because this release has been using the --no-build-isolation flag when installing dependencies, which forces build packages (as it is used by magnum-cluster-api to build things in Rust) to be installed in advance. I'm trying to find a workaround to this; suggestions are appreciated.

I filed an issue in vexxhost/magnum-cluster-api vexxhost/magnum-cluster-api#1045

@winiciusallan

Copy link
Copy Markdown
Contributor Author

Hey @stephenfin, do you have any suggestions for how to workaround the issue above? Looking at the history, we added the build-isolation flag to work around the pkg_resources removal on older branches. This flag is stopping us from building the magnum-cluster-api driver properly.

I saw Gnocchi adding a validation to skip this.

openstack/devstack@ceec372

I'm not sure about the likelihood of doing this upstream for the vexxhost repository.

@mandre
mandre enabled auto-merge July 8, 2026 20:16
@mandre
mandre added this pull request to the merge queue Jul 8, 2026
Merged via the queue into gophercloud:main with commit e83bbbc Jul 8, 2026
72 checks passed
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

Failed to backport PR to v2 branch. See logs for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-v2 This PR will be backported to v2 edit:actions This PR updates GitHub Actions code edit:testinfra This PR updates testing infrastructure code semver:patch No API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants