Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USABLE and LATEST columns showing wrong values #57

Open
chess-knight opened this issue Feb 7, 2024 · 1 comment
Open

USABLE and LATEST columns showing wrong values #57

chess-knight opened this issue Feb 7, 2024 · 1 comment
Assignees
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling

Comments

@chess-knight
Copy link
Member

/kind bug

What steps did you take and what happened:

Create clusterstack with multiple versions, e.g.:

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:
    - v1
    - v2
    - v3
    - v4

Wait for clusterstackreleases to be Ready:

$ kubectl get clusterstackreleases.clusterstack.x-k8s.io -n cluster
NAME                       K8S VERSION   READY   AGE    REASON   MESSAGE
openstack-ferrol-1-27-v1   v1.27.5       true    113m            
openstack-ferrol-1-27-v2   v1.27.5       true    113m            
openstack-ferrol-1-27-v3   v1.27.8       true    113m            
openstack-ferrol-1-27-v4   v1.27.8       true    113m

Get clusterstack:

$ kubectl get clusterstack clusterstack -n cluster 
NAME           PROVIDER    CLUSTERSTACK   K8S    CHANNEL   AUTOSUBSCRIBE   USABLE           LATEST                               AGE    REASON   MESSAGE
clusterstack   openstack   ferrol         1.27   stable    false           v3, v3, v3, v3   openstack-ferrol-1-27-v3 | v1.27.8   113m
$ kubectl get clusterstack clusterstack -n cluster 
NAME           PROVIDER    CLUSTERSTACK   K8S    CHANNEL   AUTOSUBSCRIBE   USABLE           LATEST                               AGE    REASON   MESSAGE
clusterstack   openstack   ferrol         1.27   stable    false           v1, v1, v1, v1   openstack-ferrol-1-27-v1 | v1.27.5   119m

I see the wrong USABLE and LATEST columns. It is also changing over time.

What did you expect to happen:

USABLE: v1, v2, v3, v4
LATEST: openstack-ferrol-1-27-v4 | v1.27.8

Environment:

  • cluster-stack-operator version: v0.1.0-alpha.2
  • Kubernetes version: v1.27.2
@janiskemper
Copy link
Member

thanks! I will look into this!

@janiskemper janiskemper self-assigned this Feb 7, 2024
@jschoone jschoone added the Container Issues or pull requests relevant for Team 2: Container Infra and Tooling label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling
Projects
Status: Backlog
Development

No branches or pull requests

3 participants