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

minio tenant is stuck in pending state #1943

Closed
oluwafemiayo opened this issue Jan 14, 2024 · 6 comments
Closed

minio tenant is stuck in pending state #1943

oluwafemiayo opened this issue Jan 14, 2024 · 6 comments
Assignees

Comments

@oluwafemiayo
Copy link

logs: Defaulted container "minio" out of: minio, sidecar, validate-arguments (init)

@jiuker
Copy link
Contributor

jiuker commented Jan 16, 2024

Please check the pvc status.
And provide the operator version.
Minio version.
minio-operator logs.

@Nexusfm
Copy link

Nexusfm commented Jan 31, 2024

Hi.
I have the same problem:

-Configuration:
#kubectl version
Client Version: v1.28.3
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.3

#kubectl minio version
Kubectl-Plugin Version: v5.0.11

#kubectl directpv --version
directpv version v4.0.10

  • Namespaces
    #kubectl get ns
    NAME STATUS AGE
    directpv Active 19d
    ecetenant Active 21m
    minio-operator Active 5d2h

  • Tenant creation - Pod
    #kubectl get pods -n ecetenant -o wide
    NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
    ece-tenant-pool-0-0 0/2 Pending 0 6m53s

-Tenant creation event
ece-tenant
Namespace: ecetenant / Capacity: 512.0 TiB
Events
Type Reason Age Message
Normal CSRCreated 18 minutes MinIO CSR Created
Normal SvcCreated 18 minutes MinIO Service Created
Normal SvcCreated 18 minutes Console Service Created
Normal SvcCreated 18 minutes Headless Service created
Normal SACreated 18 minutes Service Account Created
Normal RoleCreated 18 minutes Role Created
Normal BindingCreated 18 minutes Role Binding Created
Normal PoolCreated 18 minutes Tenant pool pool-0 created
Warning UsersCreatedFailed 3 minutes Users creation failed: Put "ht...
Users creation failed: Put "https://minio.ecetenant.svc.cluster.local/minio/admin/v3/add-user?accessKey=xxxxxxxxxxxxx": dial tcp 10.101.75.68:443: connect: connection refused

  • Logs
    #kubectl logs -n ecetenant ece-tenant-pool-0-0 (All pods the same message)
    Defaulted container "minio" out of: minio, sidecar, validate-arguments (init)

#kubectl logs -n minio-operator console-75dc7dc944-qphgw
I0131 10:48:09.855239 1 event.go:298] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"ecetenant", Name:"ece-tenant", UID:"b9cb6f66-fa82-4b0d-bc2a-abdf43b3bcea", APIVersion:"minio.min.io/v2", ResourceVersion:"16728813", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.ecetenant.svc.cluster.local/minio/admin/v3/add-user?accessKey=xxxxxxxxxxxxx": dial tcp 10.101.75.68:443: connect: connection refused

#kubectl logs -n minio-operator minio-operator-5c58f669b-lz95n
W0131 10:43:43.013558 1 warnings.go:70] unknown field "spec.pools[0].volumeClaimTemplate.metadata.creationTimestamp"
running PreBind plugin "VolumeBinding": binding volumes: provisioning failed for PVC "data0-ece-tenant-pool-0-0"

@jiuker
Copy link
Contributor

jiuker commented Jan 31, 2024

Hi. I have the same problem:

-Configuration: #kubectl version Client Version: v1.28.3 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.28.3

#kubectl minio version Kubectl-Plugin Version: v5.0.11

#kubectl directpv --version directpv version v4.0.10

  • Namespaces
    #kubectl get ns
    NAME STATUS AGE
    directpv Active 19d
    ecetenant Active 21m
    minio-operator Active 5d2h
  • Tenant creation - Pod
    #kubectl get pods -n ecetenant -o wide
    NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
    ece-tenant-pool-0-0 0/2 Pending 0 6m53s

-Tenant creation event ece-tenant Namespace: ecetenant / Capacity: 512.0 TiB Events Type Reason Age Message Normal CSRCreated 18 minutes MinIO CSR Created Normal SvcCreated 18 minutes MinIO Service Created Normal SvcCreated 18 minutes Console Service Created Normal SvcCreated 18 minutes Headless Service created Normal SACreated 18 minutes Service Account Created Normal RoleCreated 18 minutes Role Created Normal BindingCreated 18 minutes Role Binding Created Normal PoolCreated 18 minutes Tenant pool pool-0 created Warning UsersCreatedFailed 3 minutes Users creation failed: Put "ht... Users creation failed: Put "https://minio.ecetenant.svc.cluster.local/minio/admin/v3/add-user?accessKey=xxxxxxxxxxxxx": dial tcp 10.101.75.68:443: connect: connection refused

  • Logs
    #kubectl logs -n ecetenant ece-tenant-pool-0-0 (All pods the same message)
    Defaulted container "minio" out of: minio, sidecar, validate-arguments (init)

#kubectl logs -n minio-operator console-75dc7dc944-qphgw I0131 10:48:09.855239 1 event.go:298] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"ecetenant", Name:"ece-tenant", UID:"b9cb6f66-fa82-4b0d-bc2a-abdf43b3bcea", APIVersion:"minio.min.io/v2", ResourceVersion:"16728813", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.ecetenant.svc.cluster.local/minio/admin/v3/add-user?accessKey=xxxxxxxxxxxxx": dial tcp 10.101.75.68:443: connect: connection refused

#kubectl logs -n minio-operator minio-operator-5c58f669b-lz95n W0131 10:43:43.013558 1 warnings.go:70] unknown field "spec.pools[0].volumeClaimTemplate.metadata.creationTimestamp" running PreBind plugin "VolumeBinding": binding volumes: provisioning failed for PVC "data0-ece-tenant-pool-0-0"

Please check pvc status.

@jiuker
Copy link
Contributor

jiuker commented Jan 31, 2024

kubectl get pvc -n yournamespace
kubectl get events -n yournamespace

@Nexusfm
Copy link

Nexusfm commented Jan 31, 2024

Hi.

I have solved the problem.
I was assigning the wrong disk size when creating the tenant

Thanks

@NosIreland
Copy link

Hi.

I have solved the problem. I was assigning the wrong disk size when creating the tenant

Thanks

Hi,
Can you provide more details how you solved this. I have brand new setup with same issue and not sure what I am missing.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants