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]acmysql proxy cluster is always in Creating status #8665

Closed
tianyue86 opened this issue Dec 18, 2024 · 2 comments
Closed

[BUG]acmysql proxy cluster is always in Creating status #8665

tianyue86 opened this issue Dec 18, 2024 · 2 comments
Assignees
Labels
kind/bug Something isn't working severity/major Great chance user will encounter the same problem
Milestone

Comments

@tianyue86
Copy link

Describe the env

Kubernetes: v1.31.1-aliyun.1
KubeBlocks: 1.0.0-beta.17
kbcli: 1.0.0-beta.6

To Reproduce
Steps to reproduce the behavior:

  1. Create acmysql cluster using the yaml in the following link
    https://github.com/apecloud/kubeblocks-addons/blob/main/examples/apecloud-mysql/cluster-proxy.yaml
  2. Check the cluster
k get cluster -A
NAMESPACE   NAME              CLUSTER-DEFINITION   TERMINATION-POLICY   STATUS     AGE
default     acmysql-cluster   apecloud-mysql       Delete               Creating   6m34s

k get pod
NAME                      READY   STATUS    RESTARTS      AGE
acmysql-cluster-etcd-0    2/2     Running   0             10m
acmysql-cluster-etcd-1    2/2     Running   0             10m
acmysql-cluster-etcd-2    2/2     Running   0             10m
acmysql-cluster-mysql-0   5/5     Running   0             8m56s
acmysql-cluster-mysql-1   5/5     Running   0             8m34s
acmysql-cluster-mysql-2   5/5     Running   0             8m17s

k get cmp
NAME                           DEFINITION                        SERVICE-VERSION   STATUS     AGE
acmysql-cluster-etcd           etcd-3-1.0.0-alpha.0              3.5.15            Running    11m
acmysql-cluster-mysql          apecloud-mysql-1.0.0-alpha.0      8.0.30            Running    9m21s
acmysql-cluster-wescale-ctrl   wescalecontroller-1.0.0-alpha.0   0.2.7                        8m15s

=====> cmp acmysql-cluster-wescale-ctrl  has no status and event is none when describing it

Details refer to:

report-cluster-acmysql-cluster-2024-12-18-15-24-38.zip

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@tianyue86 tianyue86 added the kind/bug Something isn't working label Dec 18, 2024
@tianyue86 tianyue86 added this to the Release 1.0.0 milestone Dec 18, 2024
@tianyue86 tianyue86 added the severity/major Great chance user will encounter the same problem label Dec 19, 2024
@shanshanying
Copy link
Contributor

pls test on lastes addons
image

@shanshanying
Copy link
Contributor

apiVersion: apps.kubeblocks.io/v1
kind: Cluster
metadata:
  name: acmysql-cluster
  namespace: default
  annotations:
    kubeblocks.io/extra-env: '{"KB_PROXY_ENABLED":"on","ETCDCTL_API": "3"}'
spec:
  terminationPolicy: Delete
  clusterDef: apecloud-mysql
  topology: apecloud-mysql-proxy-etcd
  componentSpecs:
    - name: mysql
      disableExporter: false
      replicas: 3
      resources:
        limits:
          cpu: "0.5"
          memory: "0.5Gi"
        requests:
          cpu: "0.5"
          memory: "0.5Gi"
      volumeClaimTemplates:
        - name: data
          spec:
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 20Gi
    - name: wescale-ctrl
      volumeClaimTemplates:
        - name: data
          spec:
            storageClassName: ""
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 20Gi
      replicas: 1
      resources:
        limits:
          cpu: 500m
          memory: 128Mi
    - name: wescale
      replicas: 1
      resources:
        requests:
          cpu: "0.5"
          memory: 500Mi
        limits:
          cpu: "0.5"
          memory: 500Mi
    - name: etcd
      volumeClaimTemplates:
        - name: data
          spec:
            storageClassName: ""
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 20Gi
      replicas: 3
      resources:
        requests:
          cpu: 500m
          memory: 500Mi
        limits:
          cpu: 500m
          memory: 500Mi

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 severity/major Great chance user will encounter the same problem
Projects
None yet
Development

No branches or pull requests

3 participants