<div dir="ltr"><div><div><div><div>Hello Everyone,<br><br></div>We are trying to add some gate testing for Kuryr and hopefully convert these also to Rally<br></div>plugins.<br><br></div>What i am facing in the gate right now is this:<br></div>I configure the docker client:<br><br><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9pt"><span style="color:rgb(148,85,141)">self</span>.<span style="background-color:rgb(255,228,255)">docker_client</span> = docker.Client(<br>    <span style="color:rgb(102,0,153)">base_url</span>=<span style="color:rgb(0,128,0);font-weight:bold">'unix://var/run/docker.sock'</span>)<br><br></pre><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9pt">And call this:<br><span style="color:rgb(148,85,141)">self</span>.docker_client.create_network(<span style="color:rgb(102,0,153)">name</span>=<span style="color:rgb(0,128,0);font-weight:bold">'fakenet'</span>, <span style="color:rgb(102,0,153)">driver</span>=<span style="color:rgb(0,128,0);font-weight:bold">'kuryr'</span>)<br><br></pre><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9pt">This works locally, and i also tried to run this code with a different user<br></pre><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9pt">But on the gate this fails:<br><a href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/">http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/</a><br><br><span class=""><a name="_2015-12-17_05_22_16_900" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_900">2-17 05:22:16.900</a> | 2015-12-17 05:22:16.851 | 
</span><span class=""><a name="_2015-12-17_05_22_16_902" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_902">2015-12-17 05:22:16.902</a> | 2015-12-17 05:22:16.852 | {0} kuryr.tests.fullstack.test_network.NetworkTest.test_create_delete_network [0.093287s] ... FAILED
</span><span class=""><a name="_2015-12-17_05_22_16_934" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_934">2015-12-17 05:22:16.934</a> | 2015-12-17 05:22:16.854 | 
</span><span class=""><a name="_2015-12-17_05_22_16_935" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_935">2015-12-17 05:22:16.935</a> | 2015-12-17 05:22:16.855 | Captured traceback:
</span><span class=""><a name="_2015-12-17_05_22_16_935" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_935">2015-12-17 05:22:16.935</a> | 2015-12-17 05:22:16.856 | ~~~~~~~~~~~~~~~~~~~
</span><span class=""><a name="_2015-12-17_05_22_16_935" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_935">2015-12-17 05:22:16.935</a> | 2015-12-17 05:22:16.857 |     Traceback (most recent call last):
</span><span class=""><a name="_2015-12-17_05_22_16_935" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_935">2015-12-17 05:22:16.935</a> | 2015-12-17 05:22:16.859 |       File "kuryr/tests/fullstack/test_network.py", line 27, in test_create_delete_network
</span><span class=""><a name="_2015-12-17_05_22_16_936" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_936">2015-12-17 05:22:16.936</a> | 2015-12-17 05:22:16.860 |         self.docker_client.create_network(name='fakenet', driver='kuryr')
</span><span class=""><a name="_2015-12-17_05_22_16_936" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_936">2015-12-17 05:22:16.936</a> | 2015-12-17 05:22:16.861 |       File "/opt/stack/new/kuryr/.tox/fullstack/local/lib/python2.7/site-packages/docker/utils/decorators.py", line 35, in wrapper
</span><span class=""><a name="_2015-12-17_05_22_16_936" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_936">2015-12-17 05:22:16.936</a> | 2015-12-17 05:22:16.862 |         return f(self, *args, **kwargs)
</span><span class=""><a name="_2015-12-17_05_22_16_936" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_936">2015-12-17 05:22:16.936</a> | 2015-12-17 05:22:16.864 |       File "/opt/stack/new/kuryr/.tox/fullstack/local/lib/python2.7/site-packages/docker/api/network.py", line 28, in create_network
</span><span class=""><a name="_2015-12-17_05_22_16_936" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_936">2015-12-17 05:22:16.936</a> | 2015-12-17 05:22:16.865 |         res = self._post_json(url, data=data)
</span><span class=""><a name="_2015-12-17_05_22_16_937" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_937">2015-12-17 05:22:16.937</a> | 2015-12-17 05:22:16.866 |       File "/opt/stack/new/kuryr/.tox/fullstack/local/lib/python2.7/site-packages/docker/client.py", line 166, in _post_json
</span><span class=""><a name="_2015-12-17_05_22_16_937" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_937">2015-12-17 05:22:16.937</a> | 2015-12-17 05:22:16.867 |         return self._post(url, data=json.dumps(data2), **kwargs)
</span><span class=""><a name="_2015-12-17_05_22_16_937" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_937">2015-12-17 05:22:16.937</a> | 2015-12-17 05:22:16.870 |       File "/opt/stack/new/kuryr/.tox/fullstack/local/lib/python2.7/site-packages/docker/client.py", line 107, in _post
</span><span class=""><a name="_2015-12-17_05_22_16_937" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_937">2015-12-17 05:22:16.937</a> | 2015-12-17 05:22:16.871 |         return self.post(url, **self._set_request_timeout(kwargs))
</span><span class=""><a name="_2015-12-17_05_22_16_937" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_937">2015-12-17 05:22:16.937</a> | 2015-12-17 05:22:16.873 |       File "/opt/stack/new/kuryr/.tox/fullstack/local/lib/python2.7/site-packages/requests/sessions.py", line 511, in post
</span><span class=""><a name="_2015-12-17_05_22_16_937" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_937">2015-12-17 05:22:16.937</a> | 2015-12-17 05:22:16.874 |         return self.request('POST', url, data=data, json=json, **kwargs)
</span><span class=""><a name="_2015-12-17_05_22_16_938" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_938">2015-12-17 05:22:16.938</a> | 2015-12-17 05:22:16.876 |       File "/opt/stack/new/kuryr/.tox/fullstack/local/lib/python2.7/site-packages/requests/sessions.py", line 468, in request
</span><span class=""><a name="_2015-12-17_05_22_16_938" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_938">2015-12-17 05:22:16.938</a> | 2015-12-17 05:22:16.877 |         resp = self.send(prep, **send_kwargs)
</span><span class=""><a name="_2015-12-17_05_22_16_938" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_938">2015-12-17 05:22:16.938</a> | 2015-12-17 05:22:16.878 |       File "/opt/stack/new/kuryr/.tox/fullstack/local/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
</span><span class=""><a name="_2015-12-17_05_22_16_938" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_938">2015-12-17 05:22:16.938</a> | 2015-12-17 05:22:16.880 |         r = adapter.send(request, **kwargs)
</span><span class=""><a name="_2015-12-17_05_22_16_938" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_938">2015-12-17 05:22:16.938</a> | 2015-12-17 05:22:16.881 |       File "/opt/stack/new/kuryr/.tox/fullstack/local/lib/python2.7/site-packages/requests/adapters.py", line 426, in send
</span><span class=""><a name="_2015-12-17_05_22_16_938" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_938">2015-12-17 05:22:16.938</a> | 2015-12-17 05:22:16.882 |         raise ConnectionError(err, request=request)
</span><span class=""><a name="_2015-12-17_05_22_16_939" class="" href="http://logs.openstack.org/79/258379/5/check/gate-kuryr-dsvm-fullstack-nv/f46ebdb/console.html#_2015-12-17_05_22_16_939">2015-12-17 05:22:16.939</a> | 2015-12-17 05:22:16.883 |     requests.exceptions.ConnectionError: ('Connection aborted.', error(13, 'Permission denied'))<br><br></span></pre><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9pt"><span class="">Anyone might have any clue how to get this to work? :)<br><br></span></pre><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9pt"><span class="">Thanks<br></span></pre><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9pt"><span class="">Gal.<br></span></pre><br></div>