high-gold-37421
08/01/2023, 12:35 PMconfiguration.database
and configuration.storage.providerConfig
configs with the following:
configuration.database.host = "postgres-svc"
configuration.database.username = "postgres"
configuration.database.password = "<passwd>"
configuration.storage.metadataContainer = "bucket1"
configuration.storage.userDataContainer = "bucket1"
configuration.storage.providerConfig.s3.endpoint = "minio-svc"
configuration.storage.providerConfig.s3.authType = "acceskey"
configuration.storage.providerConfig.s3.accessKey = "flyteuser"
configuration.storage.providerConfig.s3.secretKey = "<flyteuserpasswd>"
configuration.storage.providerConfig.s3.disableSSL = true
We're
able to register workflows and tasks and we're able to execute them,
although the pods running our hello world tasks are not able to connect
to our minio instance (at least that's what we get from the following
error)
│ │ _execute_task │ ││ │ │ │
│ │ ❱ 362 │ │ _handle_annotated_task(ctx, _task_def, inputs, output_prefix) │ │
│ │ │ │
│ │ /opt/venv/lib/python3.8/site-packages/flytekit/bin/entrypoint.py:304 in │ │
│ │ _handle_annotated_task │ ││ │ │ │
│ │ ❱ 304 │ _dispatch_execute(ctx, task_def, inputs, output_prefix) │ │
│ │ │ │
│ │ /opt/venv/lib/python3.8/site-packages/flytekit/bin/entrypoint.py:160 in │ │
│ │ _dispatch_execute │ │
│ │ │ │
│ │ ❱ 160 │ ctx.file_access.put_data(ctx.execution_state.engine_dir, output_pr │ │
│ │ │ │
│ │ /opt/venv/lib/python3.8/site-packages/flytekit/core/data_persistence.py:320 │ │
│ │ in put_data │ │
│ │ │ │
│ │ ❱ 320 │ │ │ raise FlyteAssertion( │ │
│ ╰──────────────────────────────────────────────────────────────────────────────╯ │
│ FlyteAssertion: Failed to put data from │
│ /tmp/flyte-erp4nnjc/sandbox/local_flytekit/engine_dir to │
│ <s3://flyte/metadata/propeller/flytesnacks-development-fa6db7ab7ed90473588b/n0/da> │
│ ta/0 (recursive=True). │
│ │
│ Original exception: Unable to locate credentials
Any idea what's going wrong?glamorous-carpet-83516
08/01/2023, 5:21 PMhigh-gold-37421
08/02/2023, 6:49 AMhigh-gold-37421
08/02/2023, 6:50 AMhigh-gold-37421
08/02/2023, 9:23 AM