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

fix: speedup event sync upon error #1662

Merged
merged 8 commits into from
Jun 27, 2023

Conversation

jiuker
Copy link
Contributor

@jiuker jiuker commented Jun 27, 2023

speedup sync error occurs
https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/internal/controller/controller.go
When there is a processing error, the next event processing will be 1 minute later.

@jiuker
Copy link
Contributor Author

jiuker commented Jun 27, 2023

before: it take 4 min to create User success.

I0627 17:10:09.903379    9428 monitoring.go:94] 'mcamel-system/mytest-minio' no pool is initialized
E0627 17:10:09.923615    9428 main-controller.go:666] error syncing 'mcamel-system/mytest-minio': missing 'public.crt' in / secret
I0627 17:10:19.935978    9428 minio.go:274] Generating private key
I0627 17:10:19.936176    9428 minio.go:287] Generating CSR with CN=*.mytest-minio-hl.mcamel-system.svc.cluster.local
I0627 17:10:19.963095    9428 csr.go:182] Start polling for certificate of csr/mytest-minio-mcamel-system-csr, every 5s, timeout after 20m0s
I0627 17:10:19.963212    9428 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"7b4901ae-ca53-4265-844e-05f89511fb86", APIVersion:"minio.min.io/v2", ResourceVersion:"300248997", FieldPath:""}): type: 'Normal' reason: 'CSRCreated' MinIO CSR Created
I0627 17:10:24.973085    9428 csr.go:208] Certificate successfully fetched, creating secret with Private key and Certificate
E0627 17:10:24.982319    9428 main-controller.go:666] error syncing 'mcamel-system/mytest-minio': waiting for minio cert
I0627 17:11:20.020926    9428 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"7b4901ae-ca53-4265-844e-05f89511fb86", APIVersion:"minio.min.io/v2", ResourceVersion:"300249777", FieldPath:""}): type: 'Normal' reason: 'SvcCreated' MinIO Service Created
I0627 17:11:20.027596    9428 status.go:55] Hit conflict issue, getting latest version of tenant
I0627 17:11:20.065519    9428 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"7b4901ae-ca53-4265-844e-05f89511fb86", APIVersion:"minio.min.io/v2", ResourceVersion:"300249784", FieldPath:""}): type: 'Normal' reason: 'SvcCreated' Console Service Created
I0627 17:11:20.075722    9428 status.go:55] Hit conflict issue, getting latest version of tenant
I0627 17:11:20.102944    9428 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"7b4901ae-ca53-4265-844e-05f89511fb86", APIVersion:"minio.min.io/v2", ResourceVersion:"300249791", FieldPath:""}): type: 'Normal' reason: 'SvcCreated' Headless Service created
I0627 17:11:20.175390    9428 main-controller.go:905] Detected we are updating a legacy tenant deployment
I0627 17:11:20.349653    9428 main-controller.go:944] 'mcamel-system/mytest-minio': Deploying pool pool-0
I0627 17:11:20.564015    9428 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"7b4901ae-ca53-4265-844e-05f89511fb86", APIVersion:"minio.min.io/v2", ResourceVersion:"300249803", FieldPath:""}): type: 'Normal' reason: 'PoolCreated' Tenant pool pool-0 created
I0627 17:11:22.957466    9428 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.98.38.199:443: connect: connection refused
E0627 17:11:23.269003    9428 main-controller.go:666] error syncing 'mcamel-system/mytest-minio': Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.98.38.199:443: connect: connection refused
I0627 17:11:23.269083    9428 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"7b4901ae-ca53-4265-844e-05f89511fb86", APIVersion:"minio.min.io/v2", ResourceVersion:"300249837", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.98.38.199:443: connect: connection refused
I0627 17:11:24.157298    9428 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.98.38.199:443: connect: connection refused
E0627 17:12:21.709149    9428 main-controller.go:666] error syncing 'mcamel-system/mytest-minio': Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.98.38.199:443: connect: connection refused
I0627 17:12:21.709494    9428 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"7b4901ae-ca53-4265-844e-05f89511fb86", APIVersion:"minio.min.io/v2", ResourceVersion:"300249856", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.98.38.199:443: connect: connection refused
I0627 17:13:10.919882    9428 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.98.38.199:443: connect: connection refused
E0627 17:13:22.860928    9428 main-controller.go:666] error syncing 'mcamel-system/mytest-minio': Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.98.38.199:443: connect: connection refused
I0627 17:13:22.861953    9428 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"7b4901ae-ca53-4265-844e-05f89511fb86", APIVersion:"minio.min.io/v2", ResourceVersion:"300249856", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.98.38.199:443: connect: connection refused
I0627 17:13:26.376749    9428 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.98.38.199:443: connect: connection refused
I0627 17:13:27.392931    9428 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.98.38.199:443: connect: connection refused
I0627 17:13:30.805730    9428 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.98.38.199:443: connect: connection refused
I0627 17:13:31.829327    9428 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.98.38.199:443: connect: connection refused
I0627 17:14:23.183774    9428 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"7b4901ae-ca53-4265-844e-05f89511fb86", APIVersion:"minio.min.io/v2", ResourceVersion:"300251747", FieldPath:""}): type: 'Normal' reason: 'UsersCreated' Users created
I0627 17:14:23.191392    9428 status.go:55] Hit conflict issue, getting latest version of tenant

after:

I0627 17:16:54.262546    9577 minio.go:274] Generating private key
I0627 17:16:54.262913    9577 minio.go:287] Generating CSR with CN=*.mytest-minio-hl.mcamel-system.svc.cluster.local
I0627 17:16:54.305021    9577 csr.go:182] Start polling for certificate of csr/mytest-minio-mcamel-system-csr, every 5s, timeout after 20m0s
I0627 17:16:54.305240    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254618", FieldPath:""}): type: 'Normal' reason: 'CSRCreated' MinIO CSR Created
I0627 17:16:59.312825    9577 csr.go:208] Certificate successfully fetched, creating secret with Private key and Certificate
I0627 17:16:59.393221    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254694", FieldPath:""}): type: 'Normal' reason: 'SvcCreated' MinIO Service Created
I0627 17:16:59.411281    9577 status.go:55] Hit conflict issue, getting latest version of tenant
I0627 17:16:59.454732    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254705", FieldPath:""}): type: 'Normal' reason: 'SvcCreated' Console Service Created
I0627 17:16:59.461741    9577 status.go:55] Hit conflict issue, getting latest version of tenant
I0627 17:16:59.483942    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254713", FieldPath:""}): type: 'Normal' reason: 'SvcCreated' Headless Service created
I0627 17:16:59.919447    9577 operator.go:115] Checking if this is OpenShift Environment to append the certificates...
I0627 17:16:59.919486    9577 operator.go:119] csr-signer secret wasn't found, very likely this is not OpenShift but k8s Vanilla or other...
I0627 17:17:00.139659    9577 main-controller.go:917] Detected we are updating a legacy tenant deployment
I0627 17:17:00.151370    9577 main-controller.go:956] 'mcamel-system/mytest-minio': Deploying pool pool-0
I0627 17:17:00.173394    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254724", FieldPath:""}): type: 'Normal' reason: 'PoolCreated' Tenant pool pool-0 created
I0627 17:17:02.267322    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254752", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:17:02.544798    9577 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:17:03.563390    9577 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:17:05.583591    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:17:11.718208    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:17:17.856884    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:17:23.997799    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:17:30.147000    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:17:36.272084    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:17:42.413014    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:17:48.543138    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:17:54.677743    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:18:00.810539    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:18:06.926922    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:18:13.039196    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:18:19.201421    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:18:25.334999    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:18:31.508504    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:18:37.627503    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:18:43.764213    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:18:49.900600    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:18:56.019437    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:18:58.832890    9577 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:19:02.144027    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:19:06.312350    9577 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:19:07.334795    9577 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:19:08.257516    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300254773", FieldPath:""}): type: 'Warning' reason: 'UsersCreatedFailed' Users creation failed: Put "https://minio.mcamel-system.svc.cluster.local/minio/admin/v3/add-user?accessKey=TzQNYJDLP6yiHfE1": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:19:10.609686    9577 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:19:11.628779    9577 monitoring.go:124] 'mcamel-system/mytest-minio' Failed to get cluster health: Get "https://minio.mcamel-system.svc.cluster.local/minio/health/cluster": dial tcp 10.106.8.167:443: connect: connection refused
I0627 17:19:13.563157    9577 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"mcamel-system", Name:"mytest-minio", UID:"8b012509-0169-4be4-ad8e-bc3ca2124b72", APIVersion:"minio.min.io/v2", ResourceVersion:"300256836", FieldPath:""}): type: 'Normal' reason: 'UsersCreated' Users created
I0627 17:19:13.571051    9577 status.go:55] Hit conflict issue, getting latest version of tenant

guozhi.li added 2 commits June 27, 2023 17:55
@harshavardhana harshavardhana requested a review from pjuarezd June 27, 2023 18:38
@harshavardhana harshavardhana changed the title speedup sync error occurs fix: speedup event sync upon error Jun 27, 2023
@harshavardhana harshavardhana merged commit 79b9ecc into minio:master Jun 27, 2023
@csdnak
Copy link

csdnak commented Nov 15, 2024

'UsersCreatedFailed' Users creation failed: The difference between the request time and the server's time is too large

@ramondeklein
Copy link
Contributor

@csdnak This doesn't seem to be related to this PR.

@minio minio deleted a comment from csdnak Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants