Skip to content

Commit 0ea8e5c

Browse files
author
RA489
committed
Add warn about old driver version (hyperkit, kvm)
1 parent 68c546f commit 0ea8e5c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pkg/minikube/problem/err_map.go

+10
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ var vmProblems = map[string]match{
3636
URL: "https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperkit-driver",
3737
Issues: []int{1926, 4206},
3838
},
39+
"OLD_HYPERKIT_VERSION": {
40+
Regexp: re(`Too old hyperkit version found`),
41+
Advice: "too old hyperkit version. Jump forward to new valid hyperkit version as a workaround.",
42+
Issues: []int{4658},
43+
},
3944
"VBOX_NOT_FOUND": {
4045
Regexp: re(`VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path`),
4146
Advice: "Install VirtualBox, ensure that VBoxManage is executable and in path, or select an alternative value for --vm-driver",
@@ -119,6 +124,11 @@ var vmProblems = map[string]match{
119124
URL: "http://mikko.repolainen.fi/documents/virtualization-with-kvm",
120125
Issues: []int{2991},
121126
},
127+
"OLD_KVM_VERSION": {
128+
Regexp: re(`Too old KVM version found`),
129+
Advice: "too old KVM version. Jump forward to new valid KVM version as a workaround.",
130+
Issues: []int{4658},
131+
},
122132
"KVM_CONNECTION_ERROR": {
123133
Regexp: re(`error connecting to libvirt socket`),
124134
Advice: "Have you set up libvirt correctly?",

0 commit comments

Comments
 (0)