<p>Maybe my question does not make sense, but this is what I'm trying to do:</p>

<ul>
<li>I have a running Kubernetes cluster running on CoreOS on bare metal. </li>
<li>I am trying to mount block storage from an OpenStack cloud provider with Cinder.</li>
</ul>

<p>From my readings, to be able to connect to the block storage provider, I need <code>kubelet</code> to be configured with <code>cloud-provider=openstack</code>, and use a <code>cloud.conf</code> file for the configuration of credentials.</p>

<p>I did that and the auth part seems to work fine (i.e. I successfully connect to the cloud provider), however <code>kubelet</code> then complains that it cannot find my node on the <code>openstack</code> provider.</p>

<p>I get: </p>

<p><code>Unable to construct api.Node object for kubelet: failed to get external ID from cloud provider: Failed to find object</code></p>

<p>This is similar to this question:</p>

<p><a href="https://stackoverflow.com/questions/32882348/unable-to-construct-api-node-object-for-kubelet-failed-to-get-external-id-from">Unable to construct api.Node object for kubelet: failed to get external ID from cloud provider: Failed to find object</a></p>

<p>However, I know <code>kubelet</code> will not find my node at the OpenStack provider since it is not hosted there! The error makes sense, but how do I avoid it? </p>

<p>In short, how do I tell <code>kubelet</code> not to look for my node there, as I only need it to look up the storage block to mount it?</p>

<p>Is it even possible to mount block storage this way? Am I misunderstanding how this works?</p>

<p>There seem to be new ways to attach Cinder storage to bare metal, but it's apparently just PoC</p>

<p><a href="http://blog.e0ne.info/post/Attach-Cinder-Volume-to-the-Ironic-Instance-without-Nova.aspx" rel="nofollow">http://blog.e0ne.info/post/Attach-Cinder-Volume-to-the-Ironic-Instance-without-Nova.aspx</a></p>
