vexxhost / magnum-cluster-api

Cluster API driver for OpenStack Magnum
Apache License 2.0
41 stars 16 forks source link

Failed rolling upgrade leaves cluster stuck in UPDATE_FAILED state #373

Open stuartgrace-bbc opened 1 month ago

stuartgrace-bbc commented 1 month ago

If a rolling upgrade to a cluster fails (e.g. there is an error in the new template), the status is left at UPDATE_FAILED. But this status does not permit any more upgrades to be performed - see https://github.com/openstack/magnum/blob/master/magnum/conductor/handlers/cluster_conductor.py#L311-L327 Therefore the cluster is stuck in this state and can never be upgraded.