The - in principle correct - log message suffers from incorrect argument replacement.
Expected Behavior
The error log message is (correctly & expectedly) produced when the MinIO server processes are not (yet) ready.
Instead of "%!s()" I expect to find some kind of description of the underlying error.
Current Behavior
The log message hides the underlying error.
Possible Solution
In pkg/controller/main-controller.go, L#1366 (v6.0.3, 45110b9d), change the message preparation so that a description of the underlying error/cause is printed in the message.
Steps to Reproduce (for bugs)
Have a MinIO tenant up and running.
Make some changes to the tenant that induce temporary unavailability, like adding a new pool.
Context
We are going to manage multiple clusters and strive for complete automation.
Therefore we need direct, succinct information in the log messages and can't effort to manually dig up the source-code, look what it does and what might have cause the error message in question.
Regression
No
Your Environment
Version used (minio-operator): v6.0.3
Environment name and version (e.g. kubernetes v1.17.2): v1.30.0
Server type and version: virtual
Operating System and version (uname -a): Linux minio-operator-74dc88668d-c56gh 6.6.43-talos #1 SMP Mon Aug 5 13:28:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
The - in principle correct - log message suffers from incorrect argument replacement.
Expected Behavior
The error log message is (correctly & expectedly) produced when the MinIO server processes are not (yet) ready. Instead of "%!s()" I expect to find some kind of description of the underlying error.
Current Behavior
The log message hides the underlying error.
Possible Solution
In
pkg/controller/main-controller.go
, L#1366 (v6.0.3, 45110b9d), change the message preparation so that a description of the underlying error/cause is printed in the message.Steps to Reproduce (for bugs)
Context
We are going to manage multiple clusters and strive for complete automation. Therefore we need direct, succinct information in the log messages and can't effort to manually dig up the source-code, look what it does and what might have cause the error message in question.
Regression
No
Your Environment
minio-operator
): v6.0.3uname -a
): Linux minio-operator-74dc88668d-c56gh 6.6.43-talos #1 SMP Mon Aug 5 13:28:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux