-
Notifications
You must be signed in to change notification settings - Fork 496
Closed
Description
After the deployment of a new tenant, the deployment process is stuck in the stage "Provisioning initial users" and the health is "red".
Expected Behavior
The tenant should be up and running
Current Behavior
health status is "red" and the process is stuck in "Provisioning initial users"
Steps to Reproduce (for bugs)
- Install MinIO operator (version 5.0.15) on the okd cluster
- Create a new tenant
Your Environment
- okd version: 4.15.0-0.okd-2024-03-10-010116
- kubernetes: v1.28.2-3598+6e2789bbd58938-dirty
- Version used (
minio-operator): 5.0.15 provided by MinIO Inc - Operating System and version (
uname -a): Linux 6.7.4-200.fc39.x86_64 Add Minio operator #1 SMP PREEMPT_DYNAMIC Mon Feb 5 22:21:14 UTC 2024 x86_64 GNU/Linux
Tenant configuration
apiVersion: minio.min.io/v2
kind: Tenant
metadata:
name: minio-tenant-st
namespace: minio-tenant-st
scheduler:
name: ''
spec:
requestAutoCert: false
exposeServices:
console: true
minio: true
users:
- name: minio-tenant-st-user-0
imagePullSecret: {}
credsSecret:
name: minio-tenant-st-secret
configuration:
name: minio-tenant-st-env-configuration
pools:
- resources:
requests:
cpu: '4'
memory: 7Gi
volumesPerServer: 2
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: v1.min.io/tenant
operator: In
values:
- minio-tenant-st
- key: v1.min.io/pool
operator: In
values:
- pool-0
topologyKey: kubernetes.io/hostname
name: pool-0
runtimeClassName: ''
containerSecurityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsGroup: 1000790000
runAsNonRoot: true
runAsUser: 1000790000
seccompProfile:
type: RuntimeDefault
securityContext:
fsGroup: 1000790000
fsGroupChangePolicy: Always
runAsGroup: 1000790000
runAsNonRoot: true
runAsUser: 1000790000
servers: 2
volumeClaimTemplate:
metadata:
name: data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: '137438953472'
storageClassName: directpv-min-io
status: {}
features: {}
mountPath: /export
status:
usage: {}
availableReplicas: 0
healthMessage: Service Unavailable
healthStatus: red
pools:
- legacySecurityContext: false
ssName: minio-tenant-st-pool-0
state: PoolInitialized
currentState: Provisioning initial users
revision: 0
certificates:
autoCertEnabled: true
customCertificates: {}
syncVersion: v5.0.0
MinIO tenant pod log
minio-tenant-st-pool-0-0:
Waiting for all MinIO sub-systems to be initialize...
Automatically configured API requests per node based on available memory on the system: 304
All MinIO sub-systems initialized successfully in 7.43078ms
MinIO Object Storage Server
Copyright: 2015-2024 MinIO, Inc.
License: GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
Version: RELEASE.2024-05-01T01-11-10Z (go1.21.9 linux/amd64)
API: http://minio.minio-tenant-suptech.svc.cluster.local
WebUI: http://10.131.0.78:9090 http://127.0.0.1:9090
Docs: https://min.io/docs/minio/linux/index.html
Status: 4 Online, 0 Offline.
minio-tenant-st-pool-0-1:
Waiting for all MinIO sub-systems to be initialize...
Automatically configured API requests per node based on available memory on the system: 405
All MinIO sub-systems initialized successfully in 6.140372ms
MinIO Object Storage Server
Copyright: 2015-2024 MinIO, Inc.
License: GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
Version: RELEASE.2024-05-01T01-11-10Z (go1.21.9 linux/amd64)
API: http://minio.minio-tenant-suptech.svc.cluster.local
WebUI: http://10.128.3.249:9090 http://127.0.0.1:9090
Docs: https://min.io/docs/minio/linux/index.html
Status: 4 Online, 0 Offline.
Operator error
I0613 22:03:22.769414 1 event.go:364] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"minio-tenant-st", Name:"minio-tenant-st", UID:"2a48b9ca-735a-4476-bf33-0e8870bbc9ba", APIVersion:"minio.min.io/v2", ResourceVersion:"6119438", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: context deadline exceeded
Node overview:
- operator: worker-4
- minio-tenant-st-pool-0-0: worker-1
- minio-tenant-st-pool-0-1: worker-2
MinIO tenant status
kubectl minio tenant status minio-tenant-st
=====================
Pools: 1
Revision: 0
Sync version: v5.0.0
Write quorum: 0
Health status:
Drives online: 0
Drives offline: 0
Drives healing: 0
Current status: Provisioning initial users
Usable capacity: 0 B
Provisioned users: false
Available replicas: 0