You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KFP SDK version:
Didn't use the SDK for this issue.
Steps to reproduce
Simply run the example "Data passing in python" pipeline. It will fail on the first 'preprocess' step. You will get the error: "preprocess/output_dataset_one": failed to close Writer for bucket: blob (key "preprocess/output_dataset_one") (code=Unknown): MissingRegion: could not find region configuration
Additional info
The S3 bucket exists, region and AWS keys were set correctly in the params.env, secret.env
I do see main.log created in the S3 bucket. Means that there's a connection.
Full Log of the "preprocess" step:
time="2024-10-18T09:17:32.751Z" level=info msg="capturing logs" argo=true
I1018 09:17:32.772345 15 cache.go:116] Connecting to cache endpoint 10.100.224.77:8887
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead:
https://pip.pypa.io/warnings/venv
[KFP Executor 2024-10-18 09:17:40,567 INFO]: Looking for component `preprocess` in --component_module_path `/tmp/tmp.wI3ac7VQmd/ephemeral_component.py`
[KFP Executor 2024-10-18 09:17:40,567 INFO]: Loading KFP component "preprocess" from /tmp/tmp.wI3ac7VQmd/ephemeral_component.py (directory "/tmp/tmp.wI3ac7VQmd" and module name "ephemeral_component")
[KFP Executor 2024-10-18 09:17:40,568 INFO]: Got executor_input:
{
"inputs": {
"parameterValues": {
"message": "message"
}
},
"outputs": {
"parameters": {
"output_bool_parameter_path": {
"outputFile": "/tmp/kfp/outputs/output_bool_parameter_path"
},
"output_dict_parameter_path": {
"outputFile": "/tmp/kfp/outputs/output_dict_parameter_path"
},
"output_list_parameter_path": {
"outputFile": "/tmp/kfp/outputs/output_list_parameter_path"
},
"output_parameter_path": {
"outputFile": "/tmp/kfp/outputs/output_parameter_path"
}
},
"artifacts": {
"output_dataset_one": {
"artifacts": [
{
"type": {
"schemaTitle": "system.Dataset",
"schemaVersion": "0.0.1"
},
"uri": "s3://my-kubeflow-bucket/tutorial-data-passing/d5e52188-0cff-4cdc-a4ad-88fa9f0a9fbd/preprocess/output_dataset_one"
}
]
},
"output_dataset_two_path": {
"artifacts": [
{
"type": {
"schemaTitle": "system.Dataset",
"schemaVersion": "0.0.1"
},
"uri": "s3://my-kubeflow-bucket/tutorial-data-passing/d5e52188-0cff-4cdc-a4ad-88fa9f0a9fbd/preprocess/output_dataset_two_path"
}
]
}
},
"outputFile": "/tmp/kfp_outputs/output_metadata.json"
}
}
I1018 09:17:40.639542 15 launcher_v2.go:704] ExecutorOutput: {
"artifacts": {
"output_dataset_one": {
"artifacts": [
{
"name": "",
"uri": "s3://my-kubeflow-bucket/tutorial-data-passing/d5e52188-0cff-4cdc-a4ad-88fa9f0a9fbd/preprocess/output_dataset_one",
"metadata": {}
}
]
},
"output_dataset_two_path": {
"artifacts": [
{
"name": "",
"uri": "s3://my-kubeflow-bucket/tutorial-data-passing/d5e52188-0cff-4cdc-a4ad-88fa9f0a9fbd/preprocess/output_dataset_two_path",
"metadata": {}
}
]
}
}
}
I1018 09:17:40.660890 15 launcher_v2.go:150] publish success.
F1018 09:17:40.660930 15 main.go:49] failed to execute component: failed to upload output artifact "output_dataset_one" to remote storage URI "s3://my-kubeflow-bucket/tutorial-data-passing/d5e52188-0cff-4cdc-a4ad-88fa9f0a9fbd/preprocess/output_dataset_one": uploadFile(): unable to complete copying "/s3/my-kubeflow-bucket/tutorial-data-passing/d5e52188-0cff-4cdc-a4ad-88fa9f0a9fbd/preprocess/output_dataset_one" to remote storage "preprocess/output_dataset_one": failed to close Writer for bucket: blob (key "preprocess/output_dataset_one") (code=Unknown): MissingRegion: could not find region configuration
time="2024-10-18T09:17:40.753Z" level=info msg="sub-process exited" argo=true error="<nil>"
Error: exit status 1
Expected result
Pipeline should run successfully
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered:
Environment
How do you deploy Kubeflow Pipelines (KFP)?
Standalone kubeflow pipelines using the AWS installation instructions here:
https://github.com/kubeflow/pipelines/tree/master/manifests/kustomize/env/aws
KFP version:
2.3.0
KFP SDK version:
Didn't use the SDK for this issue.
Steps to reproduce
Simply run the example "Data passing in python" pipeline. It will fail on the first 'preprocess' step. You will get the error:
"preprocess/output_dataset_one": failed to close Writer for bucket: blob (key "preprocess/output_dataset_one") (code=Unknown): MissingRegion: could not find region configuration
Additional info
The S3 bucket exists, region and AWS keys were set correctly in the params.env, secret.env
I do see
main.log
created in the S3 bucket. Means that there's a connection.Full Log of the "preprocess" step:
Expected result
Pipeline should run successfully
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered: