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

examples/Debian OS provisioning not working- kexec? #85

Closed
jimmyat opened this issue May 6, 2021 · 6 comments
Closed

examples/Debian OS provisioning not working- kexec? #85

jimmyat opened this issue May 6, 2021 · 6 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@jimmyat
Copy link

jimmyat commented May 6, 2021

When using the example listed at https://docs.tinkerbell.org/deploying-operating-systems/examples-debian/ I can't seem to get kexec working- I get a "function not implemented" error. It's unclear if this is due to a lack of kexec support in OSIE (should I be using OSIE?) or somewhere else.

Expected Behaviour

Using the example at the link above should execute kexec to switch to the new debian kernel after streaming the image.

Current Behaviour

The kexec action goes to STATE_FAILED with the error: function not implemented.

Possible Solution

Unsure if this down to OSIE or the debian image; suspect the former since afaik Debian Buster has exec support baked-in by default. Should I be using OSIE, or do the examples require something different (hook?)

Steps to Reproduce (for bugs)

Create the template using the first example in https://docs.tinkerbell.org/deploying-operating-systems/examples-debian/
Create a workflow and boot the VM, observe the results.

Context

I am unable to use the kexec action and the workflow does not complete.

possibly related to #80

Your Environment

MacOS, using the vagrant method.

@Belchy06
Copy link

Belchy06 commented Jul 7, 2021

I recently came across this issue. Switching to hook, I was able to use the kexec image.

Although switching to hook is a bit easier said than done as it requires you to build it through LinuxKit

@cursedclock
Copy link

Had the same issue using osie-v0-n=404,c=c35a5f8,b=master, have you tried newer builds of osie? According to the action hub page for kexec this happens because the kernel that "tinkie"(I'm guessing it means osie) is running doesn't support kexec.

@damdo
Copy link

damdo commented Aug 9, 2021

I'm having the same issue with osie-v0-n=404,c=c35a5f8,b=master.
@Belchy06: with which hook's git SHA revision were you able to make it work? Thanks

@jacobweinstock
Copy link
Member

With #90 landing, Hook is now the default. Would you two @jimmyat, @damdo mind trying with the new sandbox to validate?

The hook download link being used can be found here.

@tstromberg tstromberg added the kind/support Categorizes issue or PR as a support question. label Aug 27, 2021
@nshalman
Copy link
Member

nshalman commented Oct 5, 2021

@jimmyat did you get a chance to test with Hook to confirm that it fixed kexec for you?

@mmlb
Copy link
Contributor

mmlb commented Nov 16, 2021

Closing due to inactivity and under the assumption that hook does not have this issue.

@mmlb mmlb closed this as completed Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

8 participants