-
Notifications
You must be signed in to change notification settings - Fork 36
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
kubefire install: failed to run script (install-prerequisites.sh): exit status 1 on WSL2 #97
Comments
Seems like the on function Seems like it can easily fix, If |
➜ ~ lsmod | grep kvm
➜ ~ echo $?
1 |
I've slightly modified https://raw.githubusercontent.com/innobead/kubefire/master/scripts/install-prerequisites.sh script to skip if the host is WSL2 via check Microsoft is exists on function check_virtualization() {
if [ ${ARCH_SUFFIX} = arm64 ]; then
return
fi
# If Microsoft is included on "/proc/version"
# do nothing
if [[ $(grep -i Microsoft /proc/version) ]]; then
return
fi
lscpu | grep "Virtuali[s|z]ation"
lsmod | grep kvm
} |
and I've encountered another issues on create a new cluster via kubefire cluster create demo --log-level debug
seems like the error is occurred from executing |
Describe the bug
WSL2 can run Firecracker without any modification of underlying WSL2 Kernel.
When I run
$ kubefire install
it produces anFATAL
error and could not install (or prepare) kubefire.To Reproduce
$ kubefire version
kubefire install
to install kubefire. (adding--log-level trace
to print out any evidence of this bug.)Expected behavior
Kubefire should've install without any issue.
Environment
cat /etc/os-release
kubefire version
kubefire info
Additional context
None.
The text was updated successfully, but these errors were encountered: