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

BUG: Helm installation fails on K8s cluster #194

Open
knrt10 opened this issue Mar 24, 2022 · 2 comments
Open

BUG: Helm installation fails on K8s cluster #194

knrt10 opened this issue Mar 24, 2022 · 2 comments
Assignees

Comments

@knrt10
Copy link

knrt10 commented Mar 24, 2022

Cluster Information

Steps to reproduce

  • As specified in the docs here. Although the docs are outdated so had to use the below steps to install it. Also couldn't find where to file a PR for the change.
kubectl apply -f https://lockc-project.github.io/helm-charts/namespace.yaml
helm repo add lockc https://lockc-project.github.io/helm-charts/
helm install lockc lockc/lockc --namespace kube-system --set lockcd.debug.enabled=true

Error information

thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 38, kind: Unsupported, message: "Function not implemented" }', /root/.cargo/git/checkouts/fanotify-rs-c4e2583b7086e958/323ee7d/src/high_level.rs:138:88
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: map error

Caused by:
    0: failed to create map `ap_mnt_restr` with code -1
    1: Operation not permitted (os error 1)

If I am doing something wrong, can you please guide me with the steps?

@vadorovsky vadorovsky self-assigned this Mar 28, 2022
@vadorovsky
Copy link
Member

Hi! Docs repository is here:

https://github.com/lockc-project/book

I will update the links now. Sorry for the inconvenience!

Regarding the error you posted - seems like the lockc container has troubles with creating BPF maps, even though it's privileged. Which CRI server/implementation are you using?

I will try to reproduce with kinvolk/cloud-native-bpf-workshop

@knrt10
Copy link
Author

knrt10 commented Mar 29, 2022

Thank you for repying @vadorovsky. I was using built-in docker CRI. Also I have created a PR for updating docs lockc-project/lockc-project.github.io#1

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