-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
WIP: Add warn about old driver version (hyperkit, kvm) #4681
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -36,6 +36,12 @@ var vmProblems = map[string]match{ | |||||
URL: "https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperkit-driver", | ||||||
Issues: []int{1926, 4206}, | ||||||
}, | ||||||
"OLD_HYPERKIT_VERSION": { | ||||||
Regexp: re(`Add warn about old driver version (hyperkit, kvm)`), | ||||||
Advice: "Too old hyperkit version. Jump forward to new valid hyperkit version as a workaround.", | ||||||
URL: "https://github.com/kubernetes/minikube/blob/master/docs/drivers.md" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There's a specific link for hyperkit upgrade. Also missing a comma at the end. |
||||||
Issues: []int{4658}, | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add URL to documentation on how to upgrade. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done! |
||||||
}, | ||||||
"VBOX_NOT_FOUND": { | ||||||
Regexp: re(`VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path`), | ||||||
Advice: "Install VirtualBox, ensure that VBoxManage is executable and in path, or select an alternative value for --vm-driver", | ||||||
|
@@ -119,6 +125,12 @@ var vmProblems = map[string]match{ | |||||
URL: "http://mikko.repolainen.fi/documents/virtualization-with-kvm", | ||||||
Issues: []int{2991}, | ||||||
}, | ||||||
"OLD_KVM_VERSION": { | ||||||
Regexp: re(`Too old KVM version found`), | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Which message is this regexp matching? Do you have an example of where this message is displayed to the user? |
||||||
Advice: "too old KVM version. Jump forward to new valid KVM version as a workaround.", | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add URL to documentation on how to upgrade. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @josedonizetti done! |
||||||
URL: "https://github.com/kubernetes/minikube/blob/master/docs/drivers.md" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There's a specific link for kvm upgrade. Also missing a comma at the end. |
||||||
Issues: []int{4658}, | ||||||
}, | ||||||
"KVM_CONNECTION_ERROR": { | ||||||
Regexp: re(`error connecting to libvirt socket`), | ||||||
Advice: "Have you set up libvirt correctly?", | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which message is this regexp matching? Do you have an example of where this message is displayed to the user?