-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
bugSomething isn't workingSomething isn't working

Description
Describe the bug
WSL2 can run Firecracker without any modification of underlying WSL2 Kernel.
When I run $ kubefire install
it produces an FATAL
error and could not install (or prepare) kubefire.
To Reproduce
- ensure Kubefire version is latest via
$ kubefire version
kubefire version
Version: v0.3.10
Build: 35cb33b-20230416001838
- execute
kubefire install
to install kubefire. (adding--log-level trace
to print out any evidence of this bug.)
kubefire install --log-level trace
DEBU[2024-05-19T16:34:06+09:00] di.go:46 github.com/innobead/kubefire/internal/di.DelayInit() initializing dependency injection system
DEBU[2024-05-19T16:34:06+09:00] di.go:119 github.com/innobead/kubefire/internal/di.DelayInit() completed dependency injection system
INFO[2024-05-19T16:34:06+09:00] script.go:57 github.com/innobead/kubefire/pkg/script.Download() downloading https://raw.githubusercontent.com/innobead/kubefire/master/scripts/install-prerequisites.sh to save /home/seungwoo/.kubefire/bin/v0.3.10/install-prerequisites.sh force=true version=v0.3.10
INFO[2024-05-19T16:34:06+09:00] script.go:77 github.com/innobead/kubefire/pkg/script.Run() running script (install-prerequisites.sh) version=v0.3.10
INFO[2024-05-19T16:34:06+09:00] script.go:81 github.com/innobead/kubefire/pkg/script.Run() running /home/seungwoo/.kubefire/bin/v0.3.10/install-prerequisites.sh version=v0.3.10
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() + TMP_DIR=/tmp/kubefire
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() ++ uname -m
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() + ARCH=x86_64
+ KUBEFIRE_VERSION=v0.3.10
+ CONTAINERD_VERSION=v1.6.20
+ IGNITE_VERION=v0.10.0
+ CNI_VERSION=v1.1.1
+ RUNC_VERSION=v1.1.6
+ '[' -z v0.3.10 ']'
+ '[' -z v1.6.20 ']'
+ '[' -z v0.10.0 ']'
+ '[' -z v1.1.1 ']'
+ '[' -z v1.1.6 ']'
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() ++ sed -E 's/(v[0-9]+\.[0-9]+\.[0-9]+)[a-zA-Z0-9\-]*/\1/g'
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() +++ echo v0.3.10
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() + STABLE_KUBEFIRE_VERSION=v0.3.10
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() + '[' x86_64 = aarch64 ']'
+ '[' x86_64 = arm64 ']'
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() + '[' x86_64 = x86_64 ']'
+ ARCH_SUFFIX=amd64
+ rm -rf /tmp/kubefire
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() + mkdir -p /tmp/kubefire
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() + pushd /tmp/kubefire
/tmp/kubefire /home/seungwoo
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() + trap cleanup EXIT ERR INT TERM
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() + check_virtualization
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() + '[' amd64 = arm64 ']'
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() + lscpu
+ grep 'Virtuali[s|z]ation'
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() Virtualization: VT-x
Virtualization type: full
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() + lsmod
+ grep kvm
INFO[2024-05-19T16:34:06+09:00] log.go:44 github.com/innobead/kubefire/pkg/util.LogWriter.Write() + cleanup
+ rm -rf /tmp/kubefire
Usage:
kubefire install [flags]
Aliases:
install, in
Flags:
-f, --force Force to install
-h, --help help for install
Global Flags:
-t, --github-token string GIthub Personal Access Token used to query repo release info
-l, --log-level string log level, options: [panic, fatal, error, warning, info, debug, trace] (default "info")
TRAC[2024-05-19T16:34:06+09:00] kubefire.go:74 main.main() exit status 1
github.com/innobead/kubefire/pkg/script.runScript
/home/runner/work/kubefire/kubefire/pkg/script/script.go:145
github.com/innobead/kubefire/pkg/script.Run
/home/runner/work/kubefire/kubefire/pkg/script/script.go:82
github.com/innobead/kubefire/cmd/kubefire/cmd.glob..func6
/home/runner/work/kubefire/kubefire/cmd/kubefire/cmd/install.go:32
github.com/spf13/cobra.(*Command).execute
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:940
github.com/spf13/cobra.(*Command).ExecuteC
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068
github.com/spf13/cobra.(*Command).Execute
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:992
main.main
/home/runner/work/kubefire/kubefire/cmd/kubefire/kubefire.go:73
runtime.main
/opt/hostedtoolcache/go/1.20.3/x64/src/runtime/proc.go:250
runtime.goexit
/opt/hostedtoolcache/go/1.20.3/x64/src/runtime/asm_amd64.s:1598
failed to run script (install-prerequisites.sh)
FATA[2024-05-19T16:34:06+09:00] kubefire.go:75 main.main() failed to run kubefire error="failed to run script (install-prerequisites.sh): exit status 1"
Expected behavior
Kubefire should've install without any issue.
Environment
- OS version
- run
cat /etc/os-release
- run
cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
- Kubefire version
- run
kubefire version
- run
kubefire version
Version: v0.3.10
Build: 35cb33b-20230416001838
- Kubefire runtime info
- run
kubefire info
- run
kubefire info
CONTAINERD IGNITE CNI RUNC CNIPLUGIN
(expected: v1.6.20) (expected: v0.10.0) (expected: v1.1.1) 1.1.12 (expected: 1.1.6) (expected: 0.4.0/kubefire-cni-bridge)
Additional context
None.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working