microscopic-airline-4836
04/28/2023, 11:39 PMancient-application-36103
04/28/2023, 11:41 PMmicroscopic-airline-4836
04/28/2023, 11:48 PMmicroscopic-airline-4836
05/02/2023, 7:03 AMValidating your flow...
The graph looks good!
Running pylint...
Pylint is happy!
INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
2023-05-02 01:58:36.139 Workflow starting (run-id 1683010713899068):
2023-05-02 01:58:36.621 [1683010713899068/start/1 (pid 65510)] Task is starting.
2023-05-02 01:58:39.030 [1683010713899068/start/1 (pid 65510)] INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
2023-05-02 01:58:39.167 [1683010713899068/start/1 (pid 65510)] INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
2023-05-02 01:58:40.307 [1683010713899068/start/1 (pid 65510)] [pod t-cbx9p-lwvnv] Task is starting (Pod is running, Container is running)...
2023-05-02 02:00:18.145 [1683010713899068/start/1 (pid 65510)] INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
2023-05-02 02:00:19.522 [1683010713899068/start/1 (pid 65510)] Data store error:
2023-05-02 02:00:19.523 [1683010713899068/start/1 (pid 65510)] No completed attempts of the task was found for task 'HelloFlow/1683010713899068/start/1'
2023-05-02 02:00:19.738 [1683010713899068/start/1 (pid 65510)]
2023-05-02 02:00:20.251 [1683010713899068/start/1 (pid 65510)] Task failed.
I do see the logs and Metaflow directory been created in the bucket.microscopic-airline-4836
05/02/2023, 7:04 AMMETAFLOW_S3_ENDPOINT_URL=<http://10.35.34.136:30937/> METAFLOW_DATASTORE_SYSROOT_S3=<s3://metaflow/> python3 helloworld.py --datastore=s3 run --with kubernetessquare-wire-39606
05/02/2023, 9:56 PMlittle-apartment-49355
05/02/2023, 10:07 PMlocal metadata. Is there any chance you can deploy the metadata service ? minio doesn't provide as strong consistency guarantees as S3 so using a local metadata won't be a viable option. You can install the metaflow-service from this helm chart.
When deploying the helm chart ensure that the metaflow-ui also gets the same metaflow configuration variables / minio credentials as your flow :
helm upgrade --install metaflow <path/to/mf/helm/chart> \
--timeout 15m0s \
--set metaflow-ui.METAFLOW_DATASTORE_SYSROOT_S3=<s3://metaflow> \
--set metaflow-ui.METAFLOW_S3_ENDPOINT_URL="<http://10.35.34.136:30937/>" \
--set "metaflow-ui.env[0].name=AWS_ACCESS_KEY_ID" \
--set "metaflow-ui.env[0].value=<MINIO_ACCESS_KEY_OR_USERNAME>" \
--set "metaflow-ui.env[0].name=AWS_SECRET_ACCESS_KEY" \
--set "metaflow-ui.env[0].value=<MINIO_SECRET_KEY_OR_PASSWORD>" \