Closed waldner closed 4 months ago
Hey @waldner, thanks for reporting this! I have opened #483 to resolve this.
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 quay.io/tinkerbell/smee:sha-47170cde
and quay.io/tinkerbell/smee:latest
Trying to use the new image (smee:sha-47170cde
) with a 0.4.4 helm chart, I'm getting this error:
$ kubectl logs -n tink-system smee-69d7dcddc6-zqjmc
flag provided but not defined: -dhcp-http-ipxe-binary-url
Smee is the DHCP and Network boot service for use in the Tinkerbell stack.
USAGE
smee [flags]
...
Trying to use the new image (
smee:sha-47170cde
) with a 0.4.4 helm chart, I'm getting this error:$ kubectl logs -n tink-system smee-69d7dcddc6-zqjmc flag provided but not defined: -dhcp-http-ipxe-binary-url Smee is the DHCP and Network boot service for use in the Tinkerbell stack. USAGE smee [flags] ...
Yeah, the top of tree for Smee has cli flag changes. Here's the Helm chart updates that are needed: https://github.com/tinkerbell/charts/pull/111
These will land in the Charts repo once Smee is released. You can also see the different cli flags by running: docker run -it --rm quay.io/tinkerbell/smee:sha-47170cde -h
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.