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

[BUG]KB1.0 Create Cluster starrocks failed #8065

Open
tianyue86 opened this issue Aug 31, 2024 · 1 comment
Open

[BUG]KB1.0 Create Cluster starrocks failed #8065

tianyue86 opened this issue Aug 31, 2024 · 1 comment
Assignees
Labels
kind/bug Something isn't working Stale

Comments

@tianyue86
Copy link

Describe the bug
A clear and concise description of what the bug is.

kbcli version
Kubernetes: v1.29.7-gke.1104000
KubeBlocks: 1.0.0-alpha.5
kbcli: 1.0.0-alpha.0

To Reproduce
Steps to reproduce the behavior:

  1. Cluster yaml
apiVersion: apps.kubeblocks.io/v1alpha1
kind: Cluster
metadata:
  name: strsent-ieyqmb
  namespace: default
spec:
  terminationPolicy: WipeOut
  componentSpecs:
    - name: be
      componentDef: starrocks-be
      serviceAccountName: kb-strsent-ieyqmb
      replicas: 1
      resources:
        requests:
          cpu: 3000m
          memory: 8Gi
        limits:
          cpu: 3000m
          memory: 8Gi
      volumeClaimTemplates:
        - name: data
          spec:
            storageClassName:
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 20Gi
    - name: fe
      componentDef: starrocks-fe-sn
      serviceAccountName: kb-strsent-ieyqmb
      replicas: 1
      resources:
        requests:
          cpu: 3000m
          memory: 8Gi
        limits:
          cpu: 3000m
          memory: 8Gi
      volumeClaimTemplates:
        - name: data
          spec:
            storageClassName:
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 20Gi
  1. See error. There is no status of the cluster
check cluster status

      `kbcli cluster list strsent-ieyqmb --show-labels  --namespace default `
    
NAME             NAMESPACE   CLUSTER-DEFINITION   VERSION   TERMINATION-POLICY   STATUS   CREATED-TIME                 LABELS   
strsent-ieyqmb   default                                    WipeOut                       Aug 31,2024 07:58 UTC+0800     
  1. check cmp --> lifecycleActions, postProvision, customHandler lost in cmpd
k get cmp
NAME                DEFINITION        SERVICE-VERSION   STATUS     AGE
strsent-qfwefn-be   starrocks-be      3.3.2             Creating   7m5s
strsent-qfwefn-fe   starrocks-fe-sn   3.3.2                        7m5s

k describe cmp strsent-qfwefn-fe  
Events:
  Type     Reason   Age                    From                  Message
  ----     ------   ----                   ----                  -------
  Warning  Warning  105s (x15 over 7m16s)  component-controller  **postProvision: action is not defined**
@tianyue86 tianyue86 added the kind/bug Something isn't working label Aug 31, 2024
Copy link

github-actions bot commented Oct 7, 2024

This issue has been marked as stale because it has been open for 30 days with no activity

@github-actions github-actions bot added the Stale label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

2 participants