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

pin boots to TINKERBELL_HOST_IP instead of 0.0.0.0 #68

Merged
merged 1 commit into from
Mar 20, 2021

Conversation

detiber
Copy link
Contributor

@detiber detiber commented Mar 19, 2021

Description

Reverts the docker-compose file back to pinning boots to TINKERBELL_HOST_IP rather than binding to 0.0.0.0

Why is this needed

Without this it appears that hosts that may have multiple IPs (such as a bare metal host that tinkerbell has been deployed on) fail to properly tftp files to hosts if the traffic enters/leaves the host through separate IPs. For example my host has a static IP of 192.168.1.5 before deploying the sandbox on it. Afterwards it also has 192.168.1.1. Without this change tftp requests from the host during pxe booting timeout and fail. With this change the tftp requests succeed.

How Has This Been Tested?

Tested manually on a physical host that is running Tinkerbell from sandbox

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

This should not affect existing users since it reverts back to pre-existing behavior

Checklist:

I have:

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

@detiber
Copy link
Contributor Author

detiber commented Mar 19, 2021

This is currently working, but I am planning on trying to see if only a partial reversion is sufficient rather than reverting all of the settings back (command line, env variables, and port configuration).

@detiber detiber changed the title [WIP] pin boots to TINKERBELL_HOST_IP instead of 0.0.0.0 pin boots to TINKERBELL_HOST_IP instead of 0.0.0.0 Mar 19, 2021
@detiber
Copy link
Contributor Author

detiber commented Mar 19, 2021

Looks like the port configuration is not needed, so I removed it. The other bits appear to still be needed.

@gianarb gianarb added the ci-check/vagrant-setup This label trigger a GitHub action that tests the Vagrant Setup guide https://tinkerbell.org/setup/ label Mar 20, 2021
@gianarb
Copy link
Contributor

gianarb commented Mar 20, 2021

Thanks a lot

@gianarb gianarb merged commit 87c03de into tinkerbell:master Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-check/vagrant-setup This label trigger a GitHub action that tests the Vagrant Setup guide https://tinkerbell.org/setup/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants