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

Sorry, Kubernetes v1.18.2 requires conntrack to be installed in root's path #7

Closed
joan38 opened this issue Apr 18, 2020 · 12 comments
Closed

Comments

@joan38
Copy link

joan38 commented Apr 18, 2020

* Using the none driver based on user configuration
X Sorry, Kubernetes v1.18.2 requires conntrack to be installed in root's path
Error: Command failed: sudo -E /home/runner/work/_temp/minikube start --vm-driver=none --kubernetes-version v1.18.2
##[error]Command failed: sudo -E /home/runner/work/_temp/minikube start --vm-driver=none --kubernetes-version v1.18.2
##[error]Command failed: sudo -E /home/runner/work/_temp/minikube start --vm-driver=none --kubernetes-version v1.18.2
    at checkExecSyncError (child_process.js:621:11)
    at Object.execSync (child_process.js:657:15)
    at logExecSync (/home/runner/work/_actions/manusa/actions-setup-minikube/v1.0.1/src/exec.js:8:17)
    at install (/home/runner/work/_actions/manusa/actions-setup-minikube/v1.0.1/src/install.js:16:3)
    at async run (/home/runner/work/_actions/manusa/actions-setup-minikube/v1.0.1/src/index.js:16:3) {

https://github.com/joan38/kubernetes-client/pull/13/checks?check_run_id=598510562

See minikube issue:
kubernetes/minikube#7659

@manusa
Copy link
Owner

manusa commented Apr 20, 2020

Thanks for reporting.

I'll try to address and publish a new release.

@guilhermelionzo
Copy link

Hi @joan38 ,

I was struggling in the same error and installing conntrack solved the problem.

The command bellow should solve the issue:

sudo apt-get install -y conntrack

@manusa
Copy link
Owner

manusa commented Apr 22, 2020

Hi,

Version v1.0.2 has been released with a fix addressing the issue.

Thanks for reporting and trying out the action. I was completely unaware that there were other people using this around the community 😃.

@dipon21
Copy link

dipon21 commented Feb 26, 2022

yum install conntrack
minikube start --driver=none [none for centos]

it worked

@manaschandrasahoo
Copy link

thanks it is also solved my problem also.

@Jkudjo
Copy link

Jkudjo commented Aug 16, 2022

sudo apt-get install -y conntrack

solved it , Thanks @guilhermelionzo

@liorms
Copy link

liorms commented Aug 10, 2023

Installed conntrack and...

[ec2-user@ip-172-31-8-24 WPmini]$ minikube start --driver=none

  • minikube v1.31.1 on Amazon 2023
  • Using the none driver based on user configuration

X Exiting due to GUEST_MISSING_CONNTRACK: Sorry, Kubernetes 1.27.3 requires crictl to be installed in root's path

Not sure how to move forward?! c

@hkalsait
Copy link

hkalsait commented Aug 29, 2023

  1. You need to update your system by using the below commands,
    For Ubuntu/Debian -sudo apt update && sudo apt upgrade OR For RHEL/CentOS - sudo yum update && sudo yum upgrade

  2. As well as Need to download the tar package from Github by using the below wget command. This will download the package in your local directory of your System.
    wget https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.26.0/crictl-v1.26.0-linux-amd64.tar.gz

  3. If not get resolved maybe you can go for installation of minikube.
    minikube start docker --force

@Joelfernandes30
Copy link

Thank you it worked

@DPS0340
Copy link

DPS0340 commented Nov 21, 2023

On arch linux:

sudo pacman -Syu conntrack-tools

@HerryCloud007
Copy link

Thank you @hkalsait, it worked for me too !!

@jgrandydev
Copy link

x@y:/mnt/c/Users/x$ minikube start --driver=none
😄  minikube v1.34.0 on Ubuntu 24.04 (amd64)
✨  Using the none driver based on user configuration

❌  Exiting due to GUEST_MISSING_CONNTRACK: Sorry, Kubernetes 1.31.0 requires conntrack to be installed in root's path

x@y:/mnt/c/Users/x$ sudo apt install -y conntrack
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  conntrack
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 37.9 kB of archives.
After this operation, 119 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 conntrack amd64 1:1.4.8-1ubuntu1 [37.9 kB]
Fetched 37.9 kB in 0s (78.5 kB/s)
Selecting previously unselected package conntrack.
(Reading database ... 41331 files and directories currently installed.)
Preparing to unpack .../conntrack_1%3a1.4.8-1ubuntu1_amd64.deb ...
Unpacking conntrack (1:1.4.8-1ubuntu1) ...
Setting up conntrack (1:1.4.8-1ubuntu1) ...
Processing triggers for man-db (2.12.0-4build2) ...

x@y:/mnt/c/Users/x$ minikube start --driver=none
😄  minikube v1.34.0 on Ubuntu 24.04 (amd64)
✨  Using the none driver based on user configuration

❌  Exiting due to GUEST_MISSING_CONNTRACK: Sorry, Kubernetes 1.31.0 requires crictl to be installed in root's path

x@y:/mnt/c/Users/x$ sudo apt install -y crictl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package crictl

x@y:/mnt/c/Users/x$ minikube start --driver=none
😄  minikube v1.34.0 on Ubuntu 24.04 (amd64)
✨  Using the none driver based on user configuration

❌  Exiting due to GUEST_MISSING_CONNTRACK: Sorry, Kubernetes 1.31.0 requires crictl to be installed in root's path

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