How to reproduce it (as minimally and precisely as possible)
: AWS 대상으로 클러스터 생성을 시도하면 아래와 같은 오류가 발생함.
에러 메시지
{
"kind": "Status",
"code": 500,
"message": "Fail to initialize Control-plane. (cause='Failed to initialize control-plane. (k8s-init.sh)')"
}
상세 로그
[preflight] Some fatal errors occurred:
[ERROR CRI]: container runtime is not running: output: time="2023-03-14T04:54:00Z" level=fatal msg="validate service connection: CRI v1 runtime API is not implemented for endpoint \"unix:///run/containerd/containerd.sock\": rpc error: code = Unimplemented desc = unknown service runtime.v1.RuntimeService"
, error: exit status 1
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
error execution phase preflight
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run.func1
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:235
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).visitAll
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:421
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:207
k8s.io/kubernetes/cmd/kubeadm/app/cmd.newCmdInit.func1
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/init.go:153
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).execute
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:856
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).ExecuteC
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:974
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).Execute
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:902
k8s.io/kubernetes/cmd/kubeadm/app.Run
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/kubeadm.go:50
main.main
_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/kubeadm.go:25
runtime.main
/usr/local/go/src/runtime/proc.go:255
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1581
time="2023-03-14T04:54:00Z" level=warning msg="[c-1-exuuf-1] Failed to run SSH command. (server=13.208.208.66:22, username=cb-user, key=%!s(int=1674), command='cd /tmp;./k8s-init.sh 10.244.0.0/16 10.96.0.0/12 cluster.local 13.208.208.66 9998', cause='Process exited with status 1')"
time="2023-03-14T04:54:00Z" level=debug msg="[GET] Start to execute a HTTP (url='/ns/cortado/control/mcis/test08?action=terminate')"
time="2023-03-14T04:55:14Z" level=debug msg="[GET] Start to execute a HTTP (url='/ns/cortado/mcis/test08')"
time="2023-03-14T04:55:39Z" level=debug msg="[DELETE] Start to execute a HTTP (url='/ns/cortado/mcis/test08')"
time="2023-03-14T04:55:39Z" level=info msg="[cortado.test08] Garbage data has been cleaned."
time="2023-03-14T04:55:39Z" level=warning msg="(CreateCluster) Fail to initialize Control-plane. (cause='Failed to initialize control-plane. (k8s-init.sh)')"
What happened : MCKS 클러스터 생성 실패
What you expected to happen : MCKS 클러스터 생성 성공
How to reproduce it (as minimally and precisely as possible) : AWS 대상으로 클러스터 생성을 시도하면 아래와 같은 오류가 발생함.
Anything else we need to know? :
Environment
Any other context : 슬랙 논의 link