Skip to content

Commit c221379

Browse files
authored
Merge pull request #4312 from tstromberg/driver-err
Improve driver issue map - KVM2_[START_NO_IP|QEMU_MONITOR], DRIVER_[CRASHED|EXITED]
2 parents 32a02d5 + ba28a73 commit c221379

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

pkg/minikube/problem/err_map.go

+17-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ var vmProblems = map[string]match{
9393
},
9494
"KVM2_START_NO_IP": {
9595
Regexp: re(`Error in driver during machine creation: Machine didn't return an IP after 120 seconds`),
96-
Advice: "The KVM driver is not providing an IP address to the VM. Try checking your libvirt configuration and/or opening an issue",
97-
URL: "https://fedoraproject.org/wiki/How_to_debug_Virtualization_problems#Networking",
96+
Advice: "Install the latest kvm2 driver and run 'virt-host-validate'",
97+
URL: "https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#kvm2-driver",
9898
Issues: []int{4249, 3566},
9999
},
100100
"KVM2_NETWORK_DEFINE_XML": {
@@ -103,12 +103,27 @@ var vmProblems = map[string]match{
103103
URL: "https://forums.gentoo.org/viewtopic-t-981692-start-0.html",
104104
Issues: []int{4195},
105105
},
106+
"KVM2_QEMU_MONITOR": {
107+
Regexp: re(`qemu unexpectedly closed the monitor`),
108+
Advice: "Upgrade to QEMU v3.1.0+, run 'virt-host-validate', or ensure that you are not running in a nested VM environment.",
109+
Issues: []int{4277},
110+
},
106111
"KVM_UNAVAILABLE": {
107112
Regexp: re(`invalid argument: could not find capabilities for domaintype=kvm`),
108113
Advice: "Your host does not support KVM virtualization. Ensure that qemu-kvm is installed, and run 'virt-host-validate' to debug the problem",
109114
URL: "http://mikko.repolainen.fi/documents/virtualization-with-kvm",
110115
Issues: []int{2991},
111116
},
117+
"DRIVER_CRASHED": {
118+
Regexp: re(`Error attempting to get plugin server address for RPC`),
119+
Advice: "The VM driver exited with an error, and may be corrupt. Run 'minikube start' with --alsologtostderr -v=8 to see the error",
120+
URL: "https://github.com/kubernetes/minikube/blob/master/docs/drivers.md",
121+
},
122+
"DRIVER_EXITED": {
123+
Regexp: re(`Unable to start VM: create: creating: exit status 1`),
124+
Advice: "Re-run 'minikube start' with --alsologtostderr -v=8 to see the VM driver error message",
125+
URL: "https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#troubleshooting",
126+
},
112127
"VM_BOOT_FAILED_HYPERV_ENABLED": {
113128
Regexp: re(`VirtualBox won't boot a 64bits VM when Hyper-V is activated`),
114129
Advice: "Disable Hyper-V when you want to run VirtualBox to boot the VM",

0 commit comments

Comments
 (0)