Merge pull request #14483 from spowelljr/criDockerSolutionMessage

Add solution message for when `cri-docker` is missing
pull/14503/head
Steven Powell 2022-07-01 20:25:38 -07:00 committed by GitHub
commit 6d3a1058c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 38 additions and 0 deletions

View File

@ -1147,6 +1147,26 @@ var runtimeIssues = []match{
Regexp: re(`sudo systemctl start docker: exit status 5`),
GOOS: []string{"linux"},
},
{
Kind: Kind{
ID: "RT_DOCKER_MISSING_CRI_DOCKER_NONE",
ExitCode: ExRuntimeUnavailable,
Advice: `Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed`,
URL: "https://minikube.sigs.k8s.io/docs/reference/drivers/none",
Issues: []int{14410},
},
Regexp: re(`Unit file cri-docker\.socket does not exist`),
GOOS: []string{"linux"},
},
{
Kind: Kind{
ID: "RT_DOCKER_MISSING_CRI_DOCKER",
ExitCode: ExRuntimeUnavailable,
Advice: `This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again`,
Issues: []int{14410},
},
Regexp: re(`cannot stat '\/var\/run\/cri-dockerd\.sock': No such file or directory`),
},
{
Kind: Kind{
ID: "RT_CRIO_EXIT_5",

View File

@ -735,6 +735,7 @@
"Things to try without Kubernetes ...": "Dinge, die man ohne Kubernetes ausprobieren kann ...",
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "Dieses Addon hat keinen definierte Endpoint für den Befehl 'addons open'\nSie können einen definieren, indem Sie den Service mit dem Label {{.labelName}}:{{.addonName}} versehen (anotate)",
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "Dies kann auch automatisch erfolgen, indem Sie die env var CHANGE_MINIKUBE_NONE_USER = true setzen",
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
"This control plane is not running! (state={{.state}})": "Diese Kontroll-Ebene läuft nicht! (state={{.state}})",
"This driver does not yet work on your architecture. Maybe try --driver=none": "Dieser Treiber funktioniert noch nicht mit dieser Architektur. Versuche --driver=none zu verwenden",
"This flag is currently unsupported.": "",
@ -836,6 +837,7 @@
"User name must be 60 chars or less.": "Der Benutzername kann 60 oder weniger Zeichen lang sein",
"Userspace file server is shutdown": "Userspace File Server ist heruntergefahren",
"Userspace file server: ": "Userspace File Server:",
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
"Using image repository {{.name}}": "Verwenden des Image-Repositorys {{.name}}",
"Using image {{.registry}}{{.image}}": "Verwende Image {{.registry}}{{.image}}",
"Using image {{.registry}}{{.image}} (global image repository)": "Verwende das Image {{.registry}}{{.image}} (globale Image Repository)",

View File

@ -737,6 +737,7 @@
"Things to try without Kubernetes ...": "",
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "",
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "El proceso se puede automatizar si se define la variable de entorno CHANGE_MINIKUBE_NONE_USER=true",
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
"This control plane is not running! (state={{.state}})": "",
"This driver does not yet work on your architecture. Maybe try --driver=none": "",
"This flag is currently unsupported.": "",
@ -838,6 +839,7 @@
"User name must be 60 chars or less.": "",
"Userspace file server is shutdown": "",
"Userspace file server: ": "",
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
"Using image repository {{.name}}": "Utilizando el repositorio de imágenes {{.name}}",
"Using image {{.registry}}{{.image}}": "",
"Using image {{.registry}}{{.image}} (global image repository)": "",

View File

@ -711,6 +711,7 @@
"Things to try without Kubernetes ...": "Choses à essayer sans Kubernetes ...",
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "Ce module n'a pas de point de terminaison défini pour la commande 'addons open'.\nVous pouvez en ajouter un en annotant un service avec le libellé {{.labelName}} :{{.addonName}}",
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "Cette opération peut également être réalisée en définissant la variable d'environment \"CHANGE_MINIKUBE_NONE_USER=true\".",
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
"This control plane is not running! (state={{.state}})": "Ce plan de contrôle ne fonctionne pas ! (état={{.state}})",
"This driver does not yet work on your architecture. Maybe try --driver=none": "Ce pilote ne fonctionne pas encore sur votre architecture. Essayez peut-être --driver=none",
"This flag is currently unsupported.": "Cet indicateur n'est actuellement pas pris en charge.",
@ -807,6 +808,7 @@
"User name must be 60 chars or less.": "Le nom d'utilisateur doit comporter 60 caractères ou moins.",
"Userspace file server is shutdown": "Le serveur de fichiers de l'espace utilisateur est arrêté",
"Userspace file server: ": "Serveur de fichiers de l'espace utilisateur :",
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
"Using image repository {{.name}}": "Utilisation du dépôt d'images {{.name}}…",
"Using image {{.registry}}{{.image}}": "Utilisation de l'image {{.registry}}{{.image}}",
"Using image {{.registry}}{{.image}} (global image repository)": "Utilisation de l'image {{.registry}}{{.image}} (référentiel d'images global)",

View File

@ -737,6 +737,7 @@
"Things to try without Kubernetes ...": "Kubernetes なしで試すべきこと ...",
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "このアドオンは 'addons open' コマンド用に定義されたエンドポイントがありません。\nサービスに {{.labelName}}:{{.addonName}} ラベルを付与することでエンドポイントを追加できます",
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "これは環境変数 CHANGE_MINIKUBE_NONE_USER=true を設定して自動的に行うこともできます",
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
"This control plane is not running! (state={{.state}})": "このコントロールプレーンは動作していません!(state={{.state}})",
"This driver does not yet work on your architecture. Maybe try --driver=none": "このドライバーはあなたのアーキテクチャではまだ機能しません。もしかしたら、--driver=none を試してみてください",
"This flag is currently unsupported.": "",
@ -842,6 +843,7 @@
"Userspace file server is shutdown": "ユーザースペースのファイルサーバーが停止しました",
"Userspace file server:": "ユーザースペースのファイルサーバー:",
"Userspace file server: ": "ユーザースペースのファイルサーバー: ",
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
"Using image repository {{.name}}": "{{.name}} イメージリポジトリーを使用しています",
"Using image {{.registry}}{{.image}}": "{{.registry}}{{.image}} イメージを使用しています",
"Using image {{.registry}}{{.image}} (global image repository)": "{{.registry}}{{.image}} イメージ (グローバルイメージリポジトリー) を使用しています",

View File

@ -740,6 +740,7 @@
"Things to try without Kubernetes ...": "",
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "",
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "",
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
"This control plane is not running! (state={{.state}})": "",
"This driver does not yet work on your architecture. Maybe try --driver=none": "",
"This flag is currently unsupported.": "",
@ -839,6 +840,7 @@
"User name must be 60 chars or less.": "",
"Userspace file server is shutdown": "",
"Userspace file server: ": "",
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
"Using image repository {{.name}}": "",
"Using image {{.registry}}{{.image}}": "",
"Using image {{.registry}}{{.image}} (global image repository)": "",

View File

@ -751,6 +751,7 @@
"Things to try without Kubernetes ...": "",
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "",
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "",
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
"This control plane is not running! (state={{.state}})": "",
"This driver does not yet work on your architecture. Maybe try --driver=none": "",
"This flag is currently unsupported.": "",
@ -848,6 +849,7 @@
"User name must be 60 chars or less.": "",
"Userspace file server is shutdown": "",
"Userspace file server: ": "",
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
"Using image repository {{.name}}": "",
"Using image {{.registry}}{{.image}}": "",
"Using image {{.registry}}{{.image}} (global image repository)": "",

View File

@ -682,6 +682,7 @@
"Things to try without Kubernetes ...": "",
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "",
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "",
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
"This control plane is not running! (state={{.state}})": "",
"This driver does not yet work on your architecture. Maybe try --driver=none": "",
"This flag is currently unsupported.": "",
@ -775,6 +776,7 @@
"User name must be 60 chars or less.": "",
"Userspace file server is shutdown": "",
"Userspace file server: ": "",
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
"Using image repository {{.name}}": "",
"Using image {{.registry}}{{.image}}": "Используется образ {{.registry}}{{.image}}",
"Using image {{.registry}}{{.image}} (global image repository)": "",

View File

@ -682,6 +682,7 @@
"Things to try without Kubernetes ...": "",
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "",
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "",
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
"This control plane is not running! (state={{.state}})": "",
"This driver does not yet work on your architecture. Maybe try --driver=none": "",
"This flag is currently unsupported.": "",
@ -775,6 +776,7 @@
"User name must be 60 chars or less.": "",
"Userspace file server is shutdown": "",
"Userspace file server: ": "",
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
"Using image repository {{.name}}": "",
"Using image {{.registry}}{{.image}}": "",
"Using image {{.registry}}{{.image}} (global image repository)": "",

View File

@ -839,6 +839,7 @@
"Things to try without Kubernetes ...": "",
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "",
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "此操作还可通过设置环境变量 CHANGE_MINIKUBE_NONE_USER=true 自动完成",
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
"This control plane is not running! (state={{.state}})": "",
"This driver does not yet work on your architecture. Maybe try --driver=none": "",
"This flag is currently unsupported.": "",
@ -947,6 +948,7 @@
"User name must be 60 chars or less.": "",
"Userspace file server is shutdown": "",
"Userspace file server: ": "",
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
"Using image repository {{.name}}": "正在使用镜像存储库 {{.name}}",
"Using image {{.registry}}{{.image}}": "",
"Using image {{.registry}}{{.image}} (global image repository)": "",