未验证 提交 0b28cc0d 编写于 作者: M Medya Ghazizadeh 提交者: GitHub

Merge pull request #10841 from medyagh/guest_prov_break

unique error codes for KVM network and docker ip conflict
......@@ -221,6 +221,16 @@ var providerIssues = []match{
},
// Docker environment
{
Kind: Kind{
ID: "PR_DOCKER_IP_CONFLICT",
ExitCode: ExProviderError,
Advice: "Run: 'minikube delete --all' to clean up all the abandoned networks.",
Issues: []int{9605},
},
Regexp: re(`cannot find cgroup mount destination: unknown`),
GOOS: []string{"linux"},
},
{
Kind: Kind{
ID: "PR_DOCKER_CGROUP_MOUNT",
......@@ -364,6 +374,18 @@ var providerIssues = []match{
// KVM hypervisor
{
Kind: Kind{
ID: "PR_KVM_MISSING_NETWORK",
ExitCode: ExProviderError,
Advice: "Validate your KVM networks. Run: virt-host-validate and then virsh net-list --all",
Issues: []int{9009},
URL: "https://minikube.sigs.k8s.io/docs/drivers/kvm2/",
},
Regexp: re(`Message='Network not found: no network with matching name`),
GOOS: []string{"linux"},
},
{
Kind: Kind{
ID: "PR_KVM_USER_PERMISSION",
ExitCode: ExProviderPermission,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册