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

missing opensnoop image on github registry #93

Open
aheilmaier opened this issue Oct 30, 2022 · 1 comment
Open

missing opensnoop image on github registry #93

aheilmaier opened this issue Oct 30, 2022 · 1 comment

Comments

@aheilmaier
Copy link

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

@krisztianfekete
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants