<p dir="auto">I install kubernetes 1.1.1 in ubuntu and check out  the official url <a href="http://kubernetes.io/v1.1/examples/mysql-cinder-pd/README.html" rel="nofollow">http://kubernetes.io/v1.1/examples/mysql-cinder-pd/README.html</a> to create a cinder volume.</p>
<ol dir="auto">
<li>I config the following content in the path "/etc/kubernetes/cloud_config".<br>
[Global]<br>
auth-url=https://*****.v2.0<br>
username=user<br>
password=pass<br>
region=regionOne<br>
tenant-id=0c331a1df18571594d49fe68asa4e</li>
<li>I add the following contend in "/etc/default/kubelet"<br>
--cloud-provider=openstack --cloud-config=/etc/kubernetes/cloud_config</li>
<li>restart the kubernetes service.</li>
<li>create cinder</li>
<li>cluster/kubectl.sh create -f examples/mysql-cinder-pd/mysql.yaml<br>
The error information is following:<br>
It looks as if you don't have a compiled kubectl binary<br>
If you are running from a clone of the git repo, please run<br>
'./build/run.sh hack/build-cross.sh'. Note that this requires having<br>
Docker installed.<br>
If you are running from a binary release tarball, something is wrong.<br>
Look at <a href="http://kubernetes.io/" rel="nofollow">http://kubernetes.io/</a> for information on how to contact the<br>
development team for help.</li>
</ol>
<p dir="auto">I install kubernetes 1.1.1 in ubuntu and check out the official url <a href="http://kubernetes.io/v1.1/examples/mysql-cinder-pd/README.html" rel="nofollow">http://kubernetes.io/v1.1/examples/mysql-cinder-pd/README.html</a> to create a cinder volume.</p>
<p dir="auto">1.I config the following content in the path "/etc/kubernetes/cloud_config". [Global] auth-url=https://*****.v2.0 username=user password=pass region=regionOne tenant-id=0c331a1df18571594d49fe68asa4e<br>
2.I add the following contend in "/etc/default/kubelet"<br>
--cloud-provider=openstack --cloud-config=/etc/kubernetes/cloud_config</p>
<p dir="auto">3.restart the kubernetes service.</p>
<p dir="auto">4.create cinder<br>
5.cluster/kubectl.sh create -f examples/mysql-cinder-pd/mysql.yaml</p>
<p dir="auto">Now I can connect with openstack cinder. But when I create a mysql pod. The pod status is running first, then it changes to be error status.<br>
I check out the kubelet.log.<br>
I find the error Unable to find pair interface, setting up all interfaces: exec: "nsenter": executable file not found in $PATH</p>