ClusterStackRelease is ready even when OpenStackClusterStackRelease is not
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- go
- Ambito
- backend, infrastructure
Direzione di ricerca
Start by tracing how ClusterStackRelease evaluates the providerClusterStackRelease status, then compare that behavior with the OpenStackClusterStackRelease and OpenStackNodeImageRelease statuses shown in the kubectl output. Confirm the intended handling when the provider release is not ready, including ClusterClass lifecycle, and add or update coverage for the reported sequence.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
/kind question
Question
I created clusterstack:
apiVersion: clusterstack.x-k8s.io/v1alpha1
kind: ClusterStack
metadata:
name: clusterstack
namespace: cluster
spec:
provider: openstack
name: ferrol
kubernetesVersion: "1.27"
channel: stable
autoSubscribe: false
providerRef:
apiVersion: infrastructure.clusterstack.x-k8s.io/v1alpha1
kind: OpenStackClusterStackReleaseTemplate
name: cspotemplate
versions:
- v4
And every created resource has status ready true.
Then, for OpenStack, I deactivated one image so object OpenStackNodeImageRelease is ready false(because the image is not active and cannot be used):
$ k get osnir openstack-ferrol-1-27-ubuntu-capi-image-v1.27.8-v2 -n cluster
NAME READY AGE REASON MESSAGE
openstack-ferrol-1-27-ubuntu-capi-image-v1.27.8-v2 false 83m IssueWithOpenStackImage image status deactivated is unexpected
CSPO correctly set status also on OpenStackClusterStackRelease object:
$ k get oscsr openstack-ferrol-1-27-v4 -n cluster
NAME READY AGE REASON MESSAGE
openstack-ferrol-1-27-v4 false 83m ProcessOngoing OpenStackNodeImageReleases not ready yet
Also, there is a nice message from CSO on ClusterStackRelase object:
$ k get clusterstackrelease openstack-ferrol-1-27-v4 -n cluster
NAME K8S VERSION READY AGE REASON MESSAGE
openstack-ferrol-1-27-v4 v1.27.8 true 84m ProcessOngoing providerClusterStackRelease not ready yet
But I expected also the READY status to be false here and the deletion of ClusterClass if it is not used.
$ k get clusterclass openstack-ferrol-1-27-v4 -n cluster
NAME AGE
openstack-ferrol-1-27-v4 85m
So my question is: Is it meant to be?
- 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
-
bug github_actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
registrystack/registry-stack#1393 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
JakeChampion/lang#10213 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
oasisprotocol/oasis-sdk#2523 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100