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] pcn-k8s doesn't start polycube pods, pointing kernel headers problem #406

Open
camilla-m opened this issue Jan 14, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@camilla-m
Copy link

camilla-m commented Jan 14, 2022

Describe the bug

I'm trying to initialize pcn-k8s according to this tutorial in Vagrant, tried also Minikube and an EKS cluster. All of them returned to me similar errors like that:

Inside the polycube pods there's a CrashLoopBack error because one of the pods is not working due kernel issues.

Screenshot from 2022-01-13 22-22-40

Screenshot from 2022-01-13 22-23-30

To Reproduce

  1. Up a Kubernetes cluster.
  2. kubectl apply -f https://raw.githubusercontent.com/polycube-network/polycube/master/src/components/k8s/pcn-k8s.yaml inside cluster.
  3. kubectl get pods -n kube-system -o wide | grep polycube to check polycube pods.

Expected behavior

Wanted to follow this tutorial and keep doing commands like kubectl exec -it polycube-xxxxx -n kube-system -c polycube-k8s polycubectl show cubesv

Please tell us about your environment:

  1. OS details: cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
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"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
  1. Kernel details: uname -a
    Linux camipunk 5.11.0-44-generic #48~20.04.2-Ubuntu SMP Tue Dec 14 15:36:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  2. Polycube Version: polycubectl version
    polycubenets/polycube-k8s:latest image from Docker Hub
@camilla-m camilla-m added the bug Something isn't working label Jan 14, 2022
@camilla-m camilla-m changed the title [BUG] pcn-k8s doesn't start polycube pods, pointing [BUG] pcn-k8s doesn't start polycube pods, pointing kernel issues Jan 14, 2022
@camilla-m camilla-m changed the title [BUG] pcn-k8s doesn't start polycube pods, pointing kernel issues [BUG] pcn-k8s doesn't start polycube pods, pointing kernel headers problem Jan 14, 2022
@ekoops
Copy link
Contributor

ekoops commented Jan 17, 2022

Hi @camilla-m. I think the problem is due to the kernel version used by your nodes. You could try to downgrade to a lower kernel version: 5.4.0-91-generic should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants