Kubernetes with an external openstack load balancer not working
<p>Following is my setup</p>

<ul>
<li><p>Kubernetes cluser with a master node and worker node. (IP -<br>
192.168.55.40/41)</p>

<ul>
<li>kubectl version - <strong>v1.4.5</strong></li>
<li>Both nodes running <strong>coreos</strong></li>
</ul></li>
<li><p>Devstack single node setup on Ubuntu 14.04 (IP - 192.168.55.60)</p>

<p>stack@vagrant-ubuntu-trusty-64:~/devstack$ neutron --version
6.0.0</p></li>
</ul>

<p>I am trying to use openstack's loadbalancer to load balance a service running in the k8s cluster. I have made the following changes.</p>

<ul>
<li><p>Added the following lines to <strong>kubernetes-apiserver.service</strong> and<br>
<strong>kubernetes-controller-manager.service</strong></p>

<p>--cloud_config=/etc/sysconfig/kube_openstack_config</p>

<p>--cloud_provider=openstack</p></li>
<li><p>Following are the contents of /etc/sysconfig/kube_openstack_config</p>

<p><code>[Global]
 auth-url=http://192.168.55.60/identity_admin
 username=admin
 password=password
 tenant-name=admin
 region=regionOne</code> </p></li>
<li><p>Restarted kubernetes-apiserver.service</p></li>
</ul>

<p>Now when I create a service with type - Loadbalancer, service gets created, but no change in Openstack side.</p>

<p>I had checked the logs on the system with journalctl and it showed an error regarding the cloud_config file.</p>

<pre><code>plugins.go:80] Couldn't open cloud provider configuration /home/core/kube_openstack_config
</code></pre>

<p>The file exists and read permission is given for all users. Any idea on what could be wrong?</p>