Skip to content
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

Provide unique error code (GUEST_KIC_CP_PUBKEY) for not copyable cert for kic #10834

Merged
merged 1 commit into from
Mar 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pkg/minikube/reason/known_issues.go
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,16 @@ var internetIssues = []match{
}

var guestIssues = []match{
{
Kind: Kind{
ID: "GUEST_KIC_CP_PUBKEY",
ExitCode: ExGuestError,
Advice: "Ensure the tmp directory path is writable to the current user.",
Issues: []int{10772},
},
// copying pub key: docker copy /var/folders/s8/wxxccj3x7mncysv_zzm5w_r400h78j/T/tmpf-memory-asset645583169 into minikube:/home/docker/.ssh/authorized_keys, output: lstat /private/var/folders/s8/wxxccj3x7mncysv_zzm5w_r400h78j/T/tmpf-memory-asset645583169: no such file or directory
Regexp: re(`copying pub key:*.* no such file or directory`),
},
{
Kind: Kind{
ID: "GUEST_KVM2_NO_DOMAIN",
Expand Down