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]Failed to create qdrant cluster with error #8861

Closed
tianyue86 opened this issue Jan 23, 2025 · 2 comments
Closed

[BUG]Failed to create qdrant cluster with error #8861

tianyue86 opened this issue Jan 23, 2025 · 2 comments
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@tianyue86
Copy link

tianyue86 commented Jan 23, 2025

Describe the bug

Kubernetes: v1.31.1-aliyun.1
KubeBlocks: 1.0.0-beta.25
kbcli: 1.0.0-beta.9

To Reproduce
Steps to reproduce the behavior:

  1. Create qdrant cluster with yaml below
apiVersion: apps.kubeblocks.io/v1
kind: Cluster
metadata:
  name: qdrant-qifeso
  namespace: default
  
spec:
  clusterDef: qdrant
  topology: cluster
  terminationPolicy: WipeOut
  componentSpecs:
    - name: qdrant
      serviceVersion: 1.5.0
      serviceAccountName: kb-qdrant-qifeso
      replicas: 2
      disableExporter: true
      resources:
        requests:
          cpu: 100m
          memory: 0.5Gi
        limits:
          cpu: 100m
          memory: 0.5Gi
      volumeClaimTemplates:
        - name: data
          spec:
            storageClassName:
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 20Gi
  1. Check cmp
k get cmp
NAME                   DEFINITION             SERVICE-VERSION   STATUS   AGE
qdrant-qifeso-qdrant   qdrant-1.0.0-alpha.0   1.5.0                      15m

k describe cmp qdrant-qifeso-qdrant
Events:
  Type     Reason       Age                   From                  Message
  ----     ------       ----                  ----                  -------
  Warning  Warning      14m (x11 over 14m)    component-controller  ServiceAccount "kb-qdrant-qifeso" not found
  Warning  RBACManager  3m29s (x18 over 14m)  component-controller  serviceaccount kb-qdrant-qifeso not found
  1. see error
2025-01-23T08:22:28.656Z	ERROR	Reconciler error	{"controller": "instanceset", "controllerGroup": "workloads.kubeblocks.io", "controllerKind": "InstanceSet", "InstanceSet": {"name":"qdrant-qifeso-qdrant","namespace":"default"}, "namespace": "default", "name": "qdrant-qifeso-qdrant", "reconcileID": "67ae749c-a18d-4495-8c5b-26efc4eca0fc", "error": "pods \"qdrant-qifeso-qdrant-1\" is forbidden: error looking up service account default/kb-qdrant-qifeso: serviceaccount \"kb-qdrant-qifeso\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227

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 Jan 23, 2025
@tianyue86 tianyue86 added this to the Release 1.0.0 milestone Jan 23, 2025
@shanshanying
Copy link
Contributor

please remove serviceAccountName: kb-qdrant-qifeso and try again.

@tianyue86
Copy link
Author

It works as expected after removing serviceAccountName: kb-qdrant-qifeso

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
Projects
None yet
Development

No branches or pull requests

2 participants