solo-io / bumblebee

Get eBPF programs running from the cloud to the kernel in 1 line of bash
Apache License 2.0
1.27k stars 78 forks source link

`bee run` stack trace with nonexistent image #22

Open lgadban opened 3 years ago

lgadban commented 3 years ago
$ go run -exec sudo ./bee/main.go run -f="events_hash,daddr,1.1.1.1" -f="events_ring,daddr,1.1.1.1" ghcr.io/solo-io/bumblebee/tcpconnect:$(./mybee version)
  ERROR   Failed to load OCI image
github.com/containerd/containerd/remotes/docker.(*dockerResolver).Resolve
        /home/.../go/pkg/mod/github.com/containerd/containerd@v1.5.8/remotes/docker/resolver.go:391
oras.land/oras-go/pkg/oras.Copy
        /home/.../go/pkg/mod/oras.land/oras-go@v1.0.0/pkg/oras/copy.go:63
github.com/solo-io/bumblebee/pkg/spec.TryFromLocal
        /home/.../bumblebee/pkg/spec/utils.go:37
github.com/solo-io/bumblebee/pkg/cli/internal/commands/run.getProgram
        /home/.../bumblebee/pkg/cli/internal/commands/run/run.go:168
github.com/solo-io/bumblebee/pkg/cli/internal/commands/run.run
        /home/.../bumblebee/pkg/cli/internal/commands/run/run.go:94
github.com/solo-io/bumblebee/pkg/cli/internal/commands/run.Command.func1
        /home/.../bumblebee/pkg/cli/internal/commands/run/run.go:70
github.com/spf13/cobra.(*Command).execute
        /home/.../go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
        /home/.../go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:974
github.com/spf13/cobra.(*Command).Execute
        /home/.../go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:902
github.com/spf13/cobra.(*Command).ExecuteContext
        /home/.../go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:895
main.main
        /home/.../bumblebee/bee/main.go:13
runtime.main
        /usr/local/go/src/runtime/proc.go:255
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1581
Error: ghcr.io/solo-io/bumblebee/tcpconnect:dev: not found
2021/12/09 19:03:43 exiting: ghcr.io/solo-io/bumblebee/tcpconnect:dev: not found
exit status 1