User Tools

Site Tools


hosts:k8s:minio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
hosts:k8s:minio [2023/08/30 18:34] – created tcmalhosts:k8s:minio [2023/12/11 15:51] tcmal
Line 8: Line 8:
  
 Users are only able to create and use buckets that start with ''<username>-'', ie ''jdoe-test'' Users are only able to create and use buckets that start with ''<username>-'', ie ''jdoe-test''
 +
 +===== OAuth broken? =====
 +
 +If MinIO can't contact the [[hosts:virtual_machines:enclave:keycloak|OAuth server]] when it boots up, it will silently disable that login option -_-.
 +
 +First, check the logs:
 +
 +<code>
 +$ k logs -n minio deploy/minio
 +MinIO Object Storage Server
 +Copyright: 2015-2023 MinIO, Inc.
 +License: GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
 +Version: RELEASE.2023-11-01T01-57-10Z (go1.21.3 linux/amd64)
 +
 +Status:         1 Online, 0 Offline.
 +S3-API: http://10.244.2.9:9000  http://127.0.0.1:9000
 +Console: https://minio-console.on.tardis.ac/oauth_callback
 +
 +Documentation: https://min.io/docs/minio/linux/index.html
 +Warning: The standard parity is set to 0. This can lead to data loss.
 +
 +API: SYSTEM()
 +Time: 15:40:16 UTC 11/01/2023
 +DeploymentID: 0bb4acc6-cd19-41b9-83c1-6b81c3072d88
 +Error: Unable to initialize OpenID: Get "https://id.tardisproject.uk/realms/master/.well-known/openid-configuration": dial tcp: lookup id.tardisproject.uk: i/o timeout (*fmt.wrapError)
 +       5: internal/logger/logger.go:258:logger.LogIf()
 +       4: cmd/iam.go:225:cmd.(*IAMSys).Init()
 +       3: cmd/server-main.go:789:cmd.serverMain.func15.1()
 +       2: cmd/server-main.go:434:cmd.bootstrapTrace()
 +       1: cmd/server-main.go:788:cmd.serverMain.func15()
 +</code>
 +
 +If this is the case, make sure keycloak is all good, and restart it:
 +
 +<code>
 +$ k rollout restart -n minio deploy/minio
 +deployment.apps/minio restarted
 +</code>
hosts/k8s/minio.txt · Last modified: 2023/12/11 15:51 by tcmal