r/openstack • u/D10G3N3STH3D0G • Nov 26 '24
Magnum doesn't work
Hi guys, I deployed Openstack using Kolla-Ansible and I'm trying to create a cluster template but it doesn't let me. In Horizon just says: "Error: unable to create cluster template". Which services are required in order to setup Magnum?
4
Upvotes
6
u/Dabloo0oo Nov 26 '24
Hey,
I tried deploying Magnum on its own, and it was quite hectic for me.
Then I learned about CAPI, which makes the process easier.
You can follow this documentation for setting up Magnum with CAPI:
Openstack Magnum with CAPI
1
u/CallingOutYourBS24 Dec 13 '24
By default it now uses the CAPI driver which means you need to have an existing k8s cluster, to get around this you need to remove the magnum-cluster-api.
In kolla:
sudo docker exec -it -u0 magnum_api bash
pip uninstall -y magnum-cluster-api
sudo docker exec -it -u0 magnum_conductor bash
pip uninstall -y magnum-cluster-api
(You need to do this on every node that has magnum)
For OSA change the first line to: sudo lxc exec CONTAINER -- /bin/bash
1
u/redfoobar Nov 28 '24
I think you need at least a functional HEAT service but it’s been a long time since I have looked at it.