acoustic-carpenter-78188
07/01/2026, 12:49 PMnew_event() calls serve() at runtime, inside the task pod.
• Building/registering that app means serializing its definition and uploading it as spec.pb to object storage so the control plane can create the knative service from it. That upload goes through the dataproxy's create_upload_location, which hands back a presigned URL (host localhost:30002) — and the pod `PUT`s to it. That PUT operation gets a connect error:
[flyte] WARNING Upload failed for spec.pb, backing off for 0.50s [retry 1/3]: ConnectError: All connection attempts failed
[flyte] WARNING Upload failed for spec.pb, backing off for 1.00s [retry 2/3]: ConnectError: All connection attempts failed
[flyte] WARNING Upload failed for spec.pb, backing off for 2.00s [retry 3/3]: ConnectError: All connection attempts failed
[flyte] ERROR Task failed with error: Failed to upload /tmp/<uuid>/spec.pb after 3 retries:
ConnectError: All connection attempts failed
The host comes from the default configuration:
flyte-binary:
configuration:
inline:
storage:
signedURL:
stowConfigOverride:
endpoint: http://localhost:30002
Regular Pods are able to reach this thanks to FLYTE_AWS_ENDPOINT=http://rustfs-svc.<ns>:9000.
What changes were proposed in this pull request?
One hostname, rustfs.localhost, with split-horizon resolution — 127.0.0.1 on the host (native *.localhost), the rustfs ClusterIP in pods (via a CoreDNS rewrite) — on port 9000. So presigned URLs are reachable from both sides.
How was this patch tested?
Applied the patch to a 2.5.7 devbox and got HITL running:
image
Labels
Please add one or more of the following labels to categorize your PR:
• added: For new features.
• changed: For changes in existing functionality.
• deprecated: For soon-to-be-removed features.
• removed: For features being removed.
• fixed: For any bug fixed.
• security: In case of vulnerabilities
This is important to improve the readability of release notes.
Setup process
Screenshots
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
Related PRs
Stack
If you do use git town to manage PR Stacks, the stack relevant to this PR
will show below. Otherwise, you can ignore this section.
Docs link
flyteorg/flyteacoustic-carpenter-78188
07/01/2026, 12:49 PMacoustic-carpenter-78188
07/08/2026, 10:46 AM