创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。
操作系统信息
例如:虚拟机/物理机,Centos7.5/Ubuntu18.04,4C/8G
Kubernetes版本信息
例如:v18.6。单节点还是多节点。
容器运行时
例如,使用 docker/containerd,版本多少
KubeSphere版本信息
kubernetes v1.22.12 ,kubesphere v3.3.1, 在线安装。全套安装。
问题是什么
增加节点时候出错提示:
docker is existed
19:38:36 EDT success: [LocalHost]
19:38:36 EDT [ConfigureOSModule] Get OS release
panic: runtime error: index out of range [1] with length 1
goroutine 258 [running]:
github.com/dominodatalab/os-release.Parse({0xc0001be9a0, 0×150})
/home/runner/go/pkg/mod/github.com/dominodatalab/os-release@v0.0.0-20190522011736-bcdb4a3e3c2f/osrelease.go:37 +0x3bd
github.com/kubesphere/kubekey/pkg/bootstrap/os.(*GetOSData).Execute(0×230f847?, {0×27114d0, 0xc000845ba0})
/home/runner/work/kubekey/kubekey/pkg/bootstrap/os/tasks.go:265 +0x7f
github.com/kubesphere/kubekey/pkg/core/task.(*RemoteTask).ExecuteWithRetry(0xc0004411e0, {0×27114d0, 0xc000845ba0})
/home/runner/work/kubekey/kubekey/pkg/core/task/remote_task.go:217 +0x119
github.com/kubesphere/kubekey/pkg/core/task.(*RemoteTask).Run(0xc0004411e0, {0×27114d0, 0xc000845ba0}, {0×27135e0, 0xc00007e260}, 0×7109ca?, 0×0?)
/home/runner/work/kubekey/kubekey/pkg/core/task/remote_task.go:153 +0x1c5
created by github.com/kubesphere/kubekey/pkg/core/task.(*RemoteTask).RunWithTimeout
/home/runner/work/kubekey/kubekey/pkg/core/task/remote_task.go:110 +0x16d