Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 Use wget while downloading image #2110

Conversation

kashifest
Copy link
Member

@kashifest kashifest commented Nov 26, 2024

Recently we have experienced net.OpError error or http2streamerror error while downloading image quite frequently. This PR uses wget instead which is more resilient to http/network issues. We should change it to httpGet when network improves again.

@metal3-io-bot metal3-io-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 26, 2024
@kashifest
Copy link
Member Author

/test metal3-centos-e2e-feature-test-main-pivoting

@adilGhaffarDev
Copy link
Member

/test ?

@metal3-io-bot
Copy link
Contributor

@adilGhaffarDev: The following commands are available to trigger required jobs:

/test build
/test generate
/test gomod
/test manifestlint
/test markdownlint
/test metal3-centos-e2e-integration-test-main
/test metal3-ubuntu-e2e-integration-test-main
/test shellcheck
/test test
/test unit

The following commands are available to trigger optional jobs:

/test metal3-centos-e2e-basic-test-main
/test metal3-centos-e2e-feature-test-main-features
/test metal3-centos-e2e-feature-test-main-pivoting
/test metal3-centos-e2e-feature-test-main-remediation
/test metal3-e2e-1-29-1-30-upgrade-test-main
/test metal3-e2e-clusterctl-upgrade-test-main
/test metal3-ubuntu-e2e-basic-test-main
/test metal3-ubuntu-e2e-feature-test-main-features
/test metal3-ubuntu-e2e-feature-test-main-pivoting
/test metal3-ubuntu-e2e-feature-test-main-remediation

Use /test all to run the following jobs that were automatically triggered:

build
generate
gomod
manifestlint
unit

In response to this:

/test ?

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@adilGhaffarDev
Copy link
Member

/test metal3-centos-e2e-feature-test-main-features

@kashifest kashifest force-pushed the kashif/fix-downloadImage-withExponentialBackoff branch from 555efb4 to 5ce3436 Compare November 26, 2024 12:22
@kashifest
Copy link
Member Author

/test metal3-centos-e2e-feature-test-main-features

/test metal3-centos-e2e-feature-test-main-pivoting

Recently we have experienced net.OpError error or http2streamerror error while downloading image quite frequently. This PR uses wget instead which is more resilient to http/network issues. We should change it to httpGet when network improves again.

Signed-off-by: Kashif Khan <[email protected]>
@kashifest kashifest force-pushed the kashif/fix-downloadImage-withExponentialBackoff branch from 5ce3436 to f4dbb7e Compare November 26, 2024 13:05
@metal3-io-bot metal3-io-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 26, 2024
@kashifest
Copy link
Member Author

/test metal3-centos-e2e-feature-test-main-features

/test metal3-centos-e2e-feature-test-main-pivoting

@kashifest kashifest changed the title 🌱 Add exponential backoff while downloading image 🌱 Use wget while downloading image Nov 26, 2024
@tuminoid
Copy link
Member

Recently we have experienced net.OpError error or http2streamerror error while downloading image quite frequently. This PR uses wget instead which is more resilient to http/network issues. We should change it to httpGet when network improves again.

Just noting that implementing Go with HTTP/1 might be worth a try. Wget on Ubuntu is still not built with HTTP/2 by default, so it might be more robust choice for Go client as well. Go by default is using HTTP/2 and as you wrote on the summary, seems to be source of the issues.

@kashifest
Copy link
Member Author

Just noting that implementing Go with HTTP/1 might be worth a try. Wget on Ubuntu is still not built with HTTP/2 by default, so it might be more robust choice for Go client as well. Go by default is using HTTP/2 and as you wrote on the summary, seems to be source of the issues.

Yep for now, lets take the CI back, I will do a followup soon

@adilGhaffarDev
Copy link
Member

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adilGhaffarDev

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 26, 2024
@kashifest
Copy link
Member Author

/test metal3-ubuntu-e2e-integration-test-main metal3-centos-e2e-integration-test-main

@kashifest
Copy link
Member Author

/test metal3-ubuntu-e2e-integration-test-main

Copy link
Member

@tuminoid tuminoid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 26, 2024
@metal3-io-bot metal3-io-bot merged commit 18c723a into metal3-io:main Nov 26, 2024
26 checks passed
@metal3-io-bot metal3-io-bot deleted the kashif/fix-downloadImage-withExponentialBackoff branch November 26, 2024 19:28
@kashifest
Copy link
Member Author

/cherry-pick release-1.8
/cherry-pick release-1.7

@metal3-io-bot
Copy link
Contributor

@kashifest: new pull request created: #2116

In response to this:

/cherry-pick release-1.8
/cherry-pick release-1.7

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@metal3-io-bot
Copy link
Contributor

@kashifest: new pull request created: #2117

In response to this:

/cherry-pick release-1.8
/cherry-pick release-1.7

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants