Multi-stage cluster addons: Upgrade from faulty cluster stack to one with the same Kubernetes version does not work
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- go, kubernetes
- Ambito
- devops, infrastructure
Direzione di ricerca
The issue names no files or tests. Start by tracing the controller logic for ClusterAddon hooks, cluster stack upgrades, and cluster.spec.topology.class, then inspect existing controller tests if present. Done means a failed stack upgrade clears the old status and spec.hook before the new stack is applied.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What steps did you take and what happened:
Create a cluster stack, e.g. with a wrong CEL expression, so that it will never apply the clusteraddons successfully. Then upgrade to another cluster stack that has no issue. In this case, the AfterControlPlaneInitialized hook will stay in the clusteraddon object and the controller will continue to apply based on AfterControlPlaneInitialized, not BeforeClusterUpgrade.
What did you expect to happen:
The controller should realize that the cluster got upgraded and that it has to remove the existing status and also the spec.hook property.
Currrently, this is not possible, as we cannot know the previous cluster stack if it didn't complete successfully. However, we can solve this by writing the cluster stack that should be upgraded to into the annotations. From there we can read it and if it is set and there is a mismatch between the annotation and the current cluster stack we upgrade to (cluster.spec.topology.class), we know that something went wrong previously and that we should remove the status as well as the spec.hook of clusteraddon.
- Lingua principale
- Go
- Stelle
- 18
- Fork
- 5
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SovereignCloudStack/cluster-stack-operator
-
CI issues (1) Apertabug Container
SovereignCloudStack/cluster-stack-operator#340 · 1 commento · 3 assegnatari ·
-
cso: crash .... Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
SovereignCloudStack/cluster-stack-operator#337 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 50/100
SovereignCloudStack/cluster-stack-operator#336 · 3 commenti ·
-
bug
SovereignCloudStack/cluster-stack-operator#327 · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
SovereignCloudStack/cluster-stack-operator#272 · 32 commenti ·
Tutte le issue di SovereignCloudStack/cluster-stack-operator
Issue simili
-
kind/bug needs-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
matrixorigin/matrixone#29223 ·
-
needs-acceptance wg/data-plane-networking
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vllm-project/semantic-router#4024 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
alexgorbatchev/dotfiles#107 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100