osism / issues

This repository is used for bug reports that are cross-project or not bound to a specific repository (or to an unknown repository).
https://www.osism.tech
1 stars 1 forks source link

Rebuild Magnum images with SQLalchemy Bugfix #1184

Open flyersa opened 1 day ago

flyersa commented 1 day ago

Hello,

can we have new images with the magnum fix for the Database Issues in 2024.1, it seems it is fixed now:

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

berendt commented 1 day ago

Build for 2024.1 tag is running now: https://zuul.services.betacloud.xyz/t/osism/stream/d2de427007d04bfaa4451ab9383df957?logfile=console.log

I will schedule the release of 8.0.3 at the end of this weekend. This way we can build stable images for Magnum as well.

berendt commented 21 hours ago

@flyersa New images are online. Can you please test them and confirm that the bug is resolved?

Set magnum_tag: "2024.1" in environments/kolla/images.yml if you are using a stable OSISM release for tests.

flyersa commented 21 hours ago

will do. Thank you. Will take a while to confirm, the bug takes a few hours usually to show up, rolling out on a few environments now.

flyersa commented 2 hours ago

Well the good news is this solved the Problem with the Database issues. The bad news is now it doesnt work with the vexxhost capi driver anymore, but i see this is an issue with them ;)

https://github.com/vexxhost/magnum-cluster-api/issues/463

berendt commented 2 hours ago

Let's wait for a bugfix there before the next stable release?

flyersa commented 1 hour ago

would say so, but mnaser is usually quick on this. lets see. As workaround we could ship 0.23 for the capi driver instead of 0.24

flyersa commented 56 minutes ago

Ok apparently there are some changes in addition that needs to be done in order to make it work:

next to

[cluster_template] kubernetes_allowed_network_drivers = calico,cilium kubernetes_default_network_driver = calico

also this needs to be in magnum.conf now:

[nova_client] api_version = 2.15

in addition because of trust changes it make sense to add this to the policy.yaml for magnum:

certificate:create: "role:admin or role:member" certificate:get: "role:admin or role:member"

In addition the capi cluster needs to run the lastest integrations (clusterctl upgrade should be done before):

clusterctl upgrade plan clusterctl upgrade apply --contract v1beta1

if we mention this in the changelogs we are good to go. This also comes with the new feature of having server-groups in magnum using the vexxhost capi driver to have better placement of worker and master nodes. Maybe the cilium and api_version stuff can also be defaulted without having to use overlay files?