From 4f3c4dee06de1d4871bd660c6496bc298f94914c Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Mon, 23 Mar 2020 17:48:26 -0700 Subject: [PATCH] add nice error message for missing conntrack --- pkg/minikube/problem/err_map.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/minikube/problem/err_map.go b/pkg/minikube/problem/err_map.go index ec93a3569a..72547cf57f 100644 --- a/pkg/minikube/problem/err_map.go +++ b/pkg/minikube/problem/err_map.go @@ -179,6 +179,7 @@ var vmProblems = map[string]match{ GOOS: []string{"linux"}, Issues: []int{5950}, }, + // None "NONE_APISERVER_MISSING": { Regexp: re(`apiserver process never appeared`), @@ -225,6 +226,12 @@ var vmProblems = map[string]match{ Issues: []int{6083, 5636}, GOOS: []string{"linux"}, }, + "NONE_CONNTRACK": { + Regexp: re(`[ERROR FileExisting-conntrack]: conntrack not found in system path`), + Advice: "Kubernetes 1.18 and higher requires conntrack to be installed, to install it on your machine for the none driver simply run `apt-get install conntrack` as root.", + GOOS: []string{"linux"}, + }, + // VirtualBox "VBOX_BLOCKED": { Regexp: re(`NS_ERROR_FAILURE.*0x80004005`),