We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Versions
Kubernetes: v1.29.2 KubeBlocks: 0.9.3-beta.16 kbcli: 0.9.1
To Reproduce Steps to reproduce the behavior:
cat <<EOF | kubectl apply -f - apiVersion: apps.kubeblocks.io/v1alpha1 kind: Cluster metadata: name: mycluster namespace: demo spec: terminationPolicy: Delete componentSpecs: - name: mysql componentDef: apecloud-mysql affinity: podAntiAffinity: Preferred topologyKeys: - kubernetes.io/hostname tenancy: SharedNode tolerations: - key: kb-data operator: Equal value: 'true' effect: NoSchedule enabledLogs: - error - general - slow disableExporter: true replicas: 2 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 EOF
cat <<EOF | kubectl apply -f - apiVersion: apps.kubeblocks.io/v1alpha1 kind: Cluster metadata: name: mycluster namespace: demo spec: clusterDefinitionRef: starrocks-ce terminationPolicy: Delete topology: shared-nothing tolerations: - key: kb-data operator: Equal value: 'true' effect: NoSchedule componentSpecs: - name: fe componentDef: starrocks-ce-fe serviceVersion: 3.3.0 replicas: 1 resources: limits: cpu: "1" memory: "1Gi" requests: cpu: "1" memory: "1Gi" volumeClaimTemplates: - name: data # ref clusterDefinition components.containers.volumeMounts.name spec: accessModes: - ReadWriteOnce resources: requests: storage: 20Gi - name: be componentDef: starrocks-ce-be serviceVersion: 3.3.0 replicas: 1 resources: limits: cpu: "1" memory: "1Gi" requests: cpu: "1" memory: "1Gi" volumeClaimTemplates: - name: data spec: accessModes: - ReadWriteOnce resources: requests: storage: "20Gi" EOF
Then KB goes creash with logs:
2025-02-13T02:12:20.671Z INFO Observed a panic in reconciler: runtime error: cannot find order for components mysql {"controller": "cluster", "controllerGroup": "apps.kubeblocks.io", "controllerKind": "Cluster", "Cluster": {"name":"mycluster","namespace":"demo"}, "namespace": "demo", "name": "mycluster", "reconcileID": "1bd53192-c396-4fb5-99b3-b25493eaea6d"} panic: runtime error: cannot find order for components mysql [recovered] panic: runtime error: cannot find order for components mysql goroutine 932 [running]: sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile.func1() /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.2/pkg/internal/controller/controller.go:116 +0x1a4 panic({0x2115500?, 0x4002fce800?}) /usr/local/go/src/runtime/panic.go:914 +0x218 github.com/apecloud/kubeblocks/controllers/apps.(*compOrderedOrder).ordered(0x40035ab760, {0x4002fce7d0?, 0x1, 0x1}) /src/controllers/apps/transformer_cluster_component.go:402 +0x160 github.com/apecloud/kubeblocks/controllers/apps.handleCompsInOrder(0x4002d1db90?, 0x4002d1db90?, 0x0?, {0x2d54cd8, 0x40035ab760})
The text was updated successfully, but these errors were encountered:
shanshanying
leon-inf
Successfully merging a pull request may close this issue.
Versions
To Reproduce
Steps to reproduce the behavior:
Then KB goes creash with logs:
The text was updated successfully, but these errors were encountered: