-
Notifications
You must be signed in to change notification settings - Fork 79
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
Smee panic in proxy mode #482
Comments
Fix nil pointer error: ## Description <!--- Please describe what this PR is going to change --> When in proxyDHCP mode if AllowNetboot is false Smee would panic because of this log line. This resolves the issue. ## Why is this needed <!--- Link to issue you have raised --> Fixes: #482 ## How Has This Been Tested? <!--- Please describe in detail how you tested your changes. --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## How are existing users impacted? What migration steps/scripts do we need? <!--- Fixes a bug, unblocks installation, removes a component of the stack etc --> <!--- Requires a DB migration script, etc. --> ## Checklist: I have: - [ ] updated the documentation and/or roadmap (if required) - [ ] added unit or e2e tests - [ ] provided instructions on how to upgrade
Thanks! Will this be included in a new smee image (eg v0.12.0)? And when will it be published? |
Yes, it will be in v0.12.0. I'm hoping to get that out by end of next week. Also, it is available now using |
Trying to use the new image (
|
Yeah, the top of tree for Smee has cli flag changes. Here's the Helm chart updates that are needed: tinkerbell/charts#111 |
Thanks again. |
When running smee in proxy mode, the second PXE boot crashes it.
Current Behaviour
Running smee with
-dhcp-mode=proxy
. When the client first boots, it boots fine, loads hooks and runs through the provisioning template. After this, I setallowPXE: false
andallowWorkflow: false
in the corresponding hardware object. I then reboot the client (which is still configured to do PXE boot), and the PXE request crashes smee:Your Environment
Running smee in kubernetes (microk8s) using the tinkerbell helm chart
0.4.4
, smee image is versionv0.11.0
.This is consistently reproducible.
EDIT: This does not happen in DHCP "normal" (ie, reservation) mode. When the host with
allowPXE: false
reboots, smee does not crash and (from what I can see) serves thenetboot-not-allowed
file. This causes a PXE boot error on the client, which then proceeds to boot from hard drive. A bit rough possibly, but it works, so I'd at least expect the same behavior upon second boot when in proxy mode.The text was updated successfully, but these errors were encountered: