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

Add dhcp retries to embedded iPXE script: #169

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

jacobweinstock
Copy link
Member

@jacobweinstock jacobweinstock commented Jul 26, 2024

Description

This resolves issues when an interface might need some time before the upstream port is forwarding properly or if the firmware is slow, etc. I found this to make a Raspberry PI 4b boot consistently. This was also tested and resolved consistency issues with Cisco ACI switches using LACP configured interfaces.

Why is this needed

Fixes: #

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

This resolves issues when an interface
might need some time before the upstream
port is forwarding properly or if the firmware
is slow, etc. I found this to make a Raspberry PI 4b
boot consistently. This was also tested and resolved
consistency issues with Cisco ACI switches using
LACP configured interfaces.

Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Copy link

codecov bot commented Jul 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.82%. Comparing base (fc5ed25) to head (a464cc3).
Report is 41 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #169   +/-   ##
=======================================
  Coverage   97.82%   97.82%           
=======================================
  Files           5        5           
  Lines         367      367           
=======================================
  Hits          359      359           
  Misses          4        4           
  Partials        4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jacobweinstock
Copy link
Member Author

@nshalman I think this will work as opposed to the previous attempts. The reason is that we aren't retrying the autoboot command, but retrying a dhcp command. If you have some cycles to test that would be great. I'm going to merge this right away but i can revert/discuss if I hear back from you with concerns. Thanks!!

@jacobweinstock jacobweinstock merged commit d2ea24c into tinkerbell:main Jul 26, 2024
5 checks passed
@nshalman
Copy link
Member

Thanks for the heads-up!
@splaspood you might be interested to know about this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants