Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

ClusterStackRelease is ready even when OpenStackClusterStackRelease is not

オープン
#59 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
go

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

Container

/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?

主要言語
Go
スター
18
フォーク
5
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SovereignCloudStack/cluster-stack-operator のほかの issue

SovereignCloudStack/cluster-stack-operator の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。