$PATH中未找到动态资源调配可执行文件的kubernetes ceph存储类

$PATH中未找到动态资源调配可执行文件的kubernetes ceph存储类,kubernetes,ceph,Kubernetes,Ceph,我在单独的集群中运行本地ceph(版本10.2.7)和kubernetes v1.6.5。使用PV和PVM声明,我准备将rbd设备安装到pod上 当我配置为使用ceph存储类进行动态资源调配时。它给出了pvclaim的以下错误 E0623 00:22:30.520160 1 rbd.go:317] rbd: create volume failed, err: failed to create rbd image: executable file not found in $PATH

我在单独的集群中运行本地ceph(版本10.2.7)和kubernetes v1.6.5。使用PV和PVM声明,我准备将rbd设备安装到pod上

当我配置为使用ceph存储类进行动态资源调配时。它给出了pvclaim的以下错误

E0623 00:22:30.520160       1 rbd.go:317] rbd: create volume failed, err: failed to create rbd image: executable file not found in $PATH, command output:
W0623 00:22:45.513291       1 rbd_util.go:364] failed to create rbd image, output
E0623 00:22:45.513308       1 rbd.go:317] rbd: create volume failed, err: failed to create rbd image: executable file not found in $PATH, command output:
W0623 00:22:45.516768       1 rbd_util.go:364] failed to create rbd image, output
E0623 00:22:45.516830       1 rbd.go:317] rbd: create volume failed, err: failed to create rbd image: executable file not found in $PATH, command output:
我已在所有KubererNet群集节点上安装了ceph comman软件包。所有运行centos 7操作系统的节点

如何修复此错误消息

谢谢
SR

Kubelet正在尝试运行
rbd创建…
rbd
命令需要位于kubelet二进制文件的路径中。
Kubelet通常作为根运行。检查是否可以以root用户身份运行rbd create。如果没有,请将其添加到root的路径中,或者添加到启动Kubelet的任何脚本(systemd?)的环境中。

您需要定义一个新的provisioner rbd provisioner。参考

好吧,内部的
kubernetes.io/rbd
不起作用,这是众所周知的,例如讨论过的


应该使用前面提到的外部供应器。

我在那里检查了它。[root@cm-02 ~]#ls-l/usr/bin/rbd-rwxr-xr-x 1根根4071088年4月10日08:39/usr/bin/rbd