<p>I am running local ceph (version 10.2.7) and kubernetes v1.6.5 in separate cluster. Using PV and PVM Claim I was about mount the rbd device to the pod.</p>

<p>When I configure to use ceph Storage Classes for Dynamic Provisioning. its giving the below error for pvclaim.</p>

<pre><code>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:
</code></pre>

<p>I have installed ceph comman package on all the kuberernets cluster nodes. all the node running centos 7 OS.</p>

<p>How can I fix this error message?</p>

<p>Thanks
SR</p>

<p>Well, the internal <code>kubernetes.io/rbd</code> does not work, which is known for very long time and eg. discussed <a href="https://github.com/kubernetes/kubernetes/issues/85454" rel="nofollow noreferrer">here</a>.</p>
<p>One should use an external provisionier like the one mentioned <a href="https://docs.ceph.com/docs/master/rbd/rbd-kubernetes/" rel="nofollow noreferrer">here</a>.</p>
