better-cat-13994
10/04/2023, 12:59 PMError: Unable to locate credentials
These credentials are in the .metaflowconfig/config.json and in the configmap of the VSCode deployment. I have checked which secrets are being used from within VSCode and the METAFLOW_KUBERNETES_SECRETS is set to the right secret.
Do you have any idea what could lead to this unable to locate credentials or tests to figure it out?
Should I test if my vscode deployment can make the flow appear on the Metaflow UI ?
Thanks a bunch ⭐square-wire-39606
10/04/2023, 3:30 PMError: Unable to locate credentials ? Can you paste the full stacktrace?better-cat-13994
10/05/2023, 8:48 AMError: Unable to locate credentials (inside VSCode running on kubernetes, in the same namespace as minIO and argo server)
You also have my env variables set in the configmap of the VSCode service, which you can see on the VSCode Terminal are set (see echo $METAFLOW_KUBERNETES_SECRETS on last line)
Does it give you more indication?fast-vr-44972
10/05/2023, 3:44 PM~/.aws/credentials has valid values
export AWS_ACCESS_KEY_ID=<your_own_ranom_stuff>
export AWS_SECRET_ACCESS_KEY=<more_random_stuff>
export AWS_SESSION_TOKEN=<again_random_stuff>better-cat-13994
10/06/2023, 7:12 AMfast-vr-44972
10/06/2023, 7:22 AM"METAFLOW_DEFAULT_DATASTORE": "s3" in the ~/.metaflow/config.jsonbetter-cat-13994
10/06/2023, 7:35 AMMETAFLOW_DEFAULT_DATASTORE had to be set to s3
But you do have a point, I just reread and saw that step 8 sets AWS credentials. I'll have a closer look again 🙂