You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case, coe cluster upgrade has no meaning on capi level, and capi controller will not increase the capi cluster's generation.
We have to filter this case and skip waiting
self, context, cluster: magnum_objects.Cluster, old_generation: int
):
"""Wait until the cluster's new generation is observed by capi-controller
This means the cluster reconciliation has been started and the conditions has been updated.
"""
current_generation=resources.Cluster(
context, self.k8s_api, cluster
).get_observed_generation()
ifold_generation!=current_generation:
return
raiseexceptions.ClusterAPIReconcileTimeout()
The text was updated successfully, but these errors were encountered:
okozachenko1203
changed the title
cluster upgrade fails when there is no change on both coe clustertemplate and capi clusterclass
cluster upgrade fails with ClusterAPIReconcileTimeout when there is no change on both coe clustertemplate and capi clusterclass
Mar 16, 2024
In this case, coe cluster upgrade has no meaning on capi level, and capi controller will not increase the capi cluster's generation.
We have to filter this case and skip waiting
magnum-cluster-api/magnum_cluster_api/driver.py
Lines 307 to 319 in be7d18c
The text was updated successfully, but these errors were encountered: