solo-io / bumblebee

Get eBPF programs running from the cloud to the kernel in 1 line of bash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

missing opensnoop image on github registry

aheilmaier opened this issue · comments

Version

0.0.13

Linux Version

5.4

Describe the bug

seems there is no opensnoop:0.0.13 image.

sample from https://github.com/solo-io/bumblebee/tree/main/examples/opensnoop can't be executed.

tcpconnect is available

$ bee describe ghcr.io/solo-io/bumblebee/tcpconnect:$(bee version)
┌─ ghcr.io/solo-io/bumblebee/tcpconnect:0.0.13 ─┐
| ┌──────────────────────┐                      |
| | No description found |                      |
| └──────────────────────┘                      |
| ┌──────────────────┐                          |
| | No Authors found |                          |
| └──────────────────┘                          |
| ┌─ Platform ─┐                                |
| | unknown    |                                |
| └────────────┘                                |
|                                               |
└───────────────────────────────────────────────┘

Steps to reproduce the bug

$ bee describe ghcr.io/solo-io/bumblebee/opensnoop:$(bee version)
Error: failed to authorize: failed to fetch anonymous token: unexpected status: 403 Forbidden
2022/10/30 13:54:46 exiting: failed to authorize: failed to fetch anonymous token: unexpected status: 403 Forbidden

Expected Behavior

$ bee describe ghcr.io/solo-io/bumblebee/opensnoop:$(bee version)
┌─ ghcr.io/solo-io/bumblebee/opensnoop:0.0.13 ─┐
| ┌──────────────────────┐                      |
| | No description found |                      |
| └──────────────────────┘                      |
| ┌──────────────────┐                          |
| | No Authors found |                          |
| └──────────────────┘                          |
| ┌─ Platform ─┐                                |
| | unknown    |                                |
| └────────────┘                                |
|                                               |
└───────────────────────────────────────────────┘

Additional Context

No response

Hi, thanks for opening the issue! Yeah, it looks like not all the examples are being released. You can see the code here:

bumblebee/Makefile

Lines 44 to 67 in a1bb243

#----------------------------------------------------------------------------------
# Examples
#----------------------------------------------------------------------------------
.PHONY: activeconn
activeconn: $(EXAMPLES_DIR)/activeconn
.PHONY: tcpconnect
tcpconnect: $(EXAMPLES_DIR)/tcpconnect
.PHONY: exitsnoop
exitsnoop: $(EXAMPLES_DIR)/exitsnoop
.PHONY: oomkill
oomkill: $(EXAMPLES_DIR)/oomkill
.PHONY: capable
capable: $(EXAMPLES_DIR)/capable
.PHONY: tcpconnlat
tcpconnlat: $(EXAMPLES_DIR)/tcpconnlat
$(EXAMPLES_DIR)/%:
$(OUTDIR)/bee-linux-amd64 build $@/$*.c $(HUB)/$(REPO_NAME)/$*:$(VERSION)
$(OUTDIR)/bee-linux-amd64 push $(HUB)/$(REPO_NAME)/$*:$(VERSION)
.PHONY: release-examples
release-examples: activeconn tcpconnect exitsnoop oomkill capable tcpconnlat

Would you be interested in creating a PR with the fix?