<p>I'm trying to install Openshift 3.11 on a one master, one worker node setup.</p>

<p>The installation fails, and I can see in <code>journalctl -r</code>:</p>

<pre><code>2730 kubelet.go:2101] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
2730 cni.go:172] Unable to update cni config: No networks found in /etc/cni/net.d
</code></pre>

<p>Things I've tried:</p>

<ol>
<li>reboot master node</li>
<li>Ensure that <code>hostname</code> is the same as <code>hostname -f</code> on all nodes</li>
<li>Disable IP forwarding on master node as described on <a href="https://github.com/openshift/openshift-ansible/issues/7967#issuecomment-405196238" rel="noreferrer">https://github.com/openshift/openshift-ansible/issues/7967#issuecomment-405196238</a> and <a href="https://linuxconfig.org/how-to-turn-on-off-ip-forwarding-in-linux" rel="noreferrer">https://linuxconfig.org/how-to-turn-on-off-ip-forwarding-in-linux</a></li>
<li>Applying kube-flannel, on master node as described on <a href="https://stackoverflow.com/a/54779881/265119">https://stackoverflow.com/a/54779881/265119</a></li>
<li><code>unset http_proxy https_proxy</code> on master node as described on <a href="https://github.com/kubernetes/kubernetes/issues/54918#issuecomment-385162637" rel="noreferrer">https://github.com/kubernetes/kubernetes/issues/54918#issuecomment-385162637</a></li>
<li>modify <code>/etc/resolve.conf</code> to have <code>nameserver 8.8.8.8</code>, as described on <a href="https://github.com/kubernetes/kubernetes/issues/48798#issuecomment-452172710" rel="noreferrer">https://github.com/kubernetes/kubernetes/issues/48798#issuecomment-452172710</a></li>
<li>created a file /etc/cni/net.d/80-openshift-network.conf with content <code>{ "cniVersion": "0.2.0", "name": "openshift-sdn", "type": "openshift-sdn" }</code>, as described on <a href="https://stackoverflow.com/a/55743756/265119">https://stackoverflow.com/a/55743756/265119</a></li>
</ol>

<p>The last step does appear to have allowed the master node to become ready, however the ansible openshift installer still fails with <code>Control plane pods didn't come up</code>.</p>

<p>For a more detailed description of the problem see <a href="https://github.com/openshift/openshift-ansible/issues/11874" rel="noreferrer">https://github.com/openshift/openshift-ansible/issues/11874</a></p>

Magick
<p>The error was using a too recent version of Ansible. </p>

<p>Downgrading to Ansible 2.6 fixed the problem.</p>
