Skip to content

Instantly share code, notes, and snippets.

@ddl-rliu
Created August 28, 2024 19:52
Show Gist options
  • Save ddl-rliu/4c09862404f46a5adbc451025160e0eb to your computer and use it in GitHub Desktop.
Save ddl-rliu/4c09862404f46a5adbc451025160e0eb to your computer and use it in GitHub Desktop.
Flyteadmin starts -> │ time="2024-08-21T21:53:07Z" level=info msg="Using config file: [/etc/flyte/config/clusters.yaml /et │
│ c/flyte/config/core.yaml /etc/flyte/config/db.yaml /etc/flyte/config/domain.yaml /etc/flyte/config/ │
│ namespace_config.yaml /etc/flyte/config/remoteData.yaml /etc/flyte/config/server.yaml /etc/flyte/co │
│ nfig/storage.yaml /etc/flyte/config/task_resource_defaults.yaml]" │
Error, but flyteadmin will->│ {"json":{},"level":"warning","msg":"[AUTH_CONTEXT_SETUP_FAILED] Error creating oidc provider w/ iss │
try to continue │ uer [https://r***********.********************.****/auth/realms/DominoRealm], caused by: Get \"http │
│ s://r***********.********************.****/auth/realms/DominoRealm/.well-known/openid-configuration │
│ \": dial tcp: lookup r***********.********************.**** on 172.20.0.10:53: server misbehaving", │
│ "ts":"2024-08-21T21:53:08Z"} │
│ {"json":{},"level":"warning","msg":"stow configuration section missing, defaulting to legacy s3/min │
│ io connection config","ts":"2024-08-21T21:53:08Z"} │
│ {"json":{},"level":"warning","msg":"OIDC provider was not initialized. Attempting to re-initialize │
│ OIDC provider...","ts":"2024-08-21T21:53:30Z"} │
│ {"json":{},"level":"warning","msg":"[AUTH_CONTEXT_SETUP_FAILED] Error creating oidc provider w/ iss │
│ uer [https://r***********.********************.****/auth/realms/DominoRealm], caused by: Get \"http │
│ s://r***********.********************.****/auth/realms/DominoRealm/.well-known/openid-configuration │
│ \": dial tcp: lookup r***********.********************.**** on 172.20.0.10:53: server misbehaving", │
│ "ts":"2024-08-21T21:53:30Z"} │
User tries to login, it ->│ {"json":{},"level":"error","msg":"Failed to retrieve tokens from request, redirecting to login hand │
will fail until OIDC │ ler. Error: [EMPTY_OAUTH_TOKEN] Failure to retrieve cookie [flyte_idt], caused by: http: named cook │
provider can be initialized │ ie not present","ts":"2024-08-21T21:53:30Z"} │
│ {"json":{},"level":"warning","msg":"OIDC provider was not initialized. Attempting to re-initialize │
│ OIDC provider...","ts":"2024-08-21T21:53:40Z"} │
│ {"json":{},"level":"warning","msg":"[AUTH_CONTEXT_SETUP_FAILED] Error creating oidc provider w/ iss │
│ uer [https://r***********.********************.****/auth/realms/DominoRealm], caused by: Get \"http │
│ s://r***********.********************.****/auth/realms/DominoRealm/.well-known/openid-configuration │
│ \": dial tcp: lookup r***********.********************.**** on 172.20.0.10:53: server misbehaving", │
│ "ts":"2024-08-21T21:53:40Z"} │
│ {"json":{},"level":"error","msg":"Failed to retrieve tokens from request, redirecting to login hand │
│ ler. Error: [EMPTY_OAUTH_TOKEN] Failure to retrieve cookie [flyte_idt], caused by: http: named cook │
│ ie not present","ts":"2024-08-21T21:53:40Z"} │
(I restored coredns here ->│ {"json":{},"level":"warning","msg":"OIDC provider was not initialized. Attempting to re-initialize │
manually) Once the OIDC │ OIDC provider...","ts":"2024-08-21T21:54:08Z"} │
provider successfully inits,│ {"json":{},"level":"error","msg":"Failed to retrieve tokens from request, redirecting to login hand │
it will be saved to the auth│ ler. Error: [EMPTY_OAUTH_TOKEN] Failure to retrieve cookie [flyte_idt], caused by: http: named cook │
context and reused │ ie not present","ts":"2024-08-21T21:54:08Z"} │
│ {"json":{},"level":"error","msg":"Failed to retrieve tokens from request, redirecting to login hand │
│ ler. Error: [EMPTY_OAUTH_TOKEN] Failure to retrieve cookie [flyte_idt], caused by: http: named cook │
│ ie not present","ts":"2024-08-21T21:54:16Z"} │
Here multiple logins are ->│ {"json":{},"level":"error","msg":"Failed to retrieve tokens from request, redirecting to login hand │
handled, and the OIDC │ ler. Error: [EMPTY_OAUTH_TOKEN] Failure to retrieve cookie [flyte_idt], caused by: http: named cook │
provider is reused i.e. it │ ie not present","ts":"2024-08-21T21:54:25Z"} │
is not repeatedly re-init- │ {"json":{},"level":"error","msg":"Failed to retrieve tokens from request, redirecting to login hand │
ialized │ ler. Error: [EMPTY_OAUTH_TOKEN] Failure to retrieve cookie [flyte_idt], caused by: http: named cook │
│ ie not present","ts":"2024-08-21T21:54:26Z"} │
│ {"json":{},"level":"error","msg":"Failed to retrieve tokens from request, redirecting to login hand │
│ ler. Error: [EMPTY_OAUTH_TOKEN] Failure to retrieve cookie [flyte_idt], caused by: http: named cook │
│ ie not present","ts":"2024-08-21T21:54:28Z"} │
│ {"json":{},"level":"error","msg":"Failed to retrieve tokens from request, redirecting to login hand │
│ ler. Error: [EMPTY_OAUTH_TOKEN] Failure to retrieve cookie [flyte_idt], caused by: http: named cook │
│ ie not present","ts":"2024-08-21T21:54:50Z"} │
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment