Closed XiepengLi closed 8 years ago
blockade status
Unexpected error! This may be a Blockade bug.
Traceback (most recent call last): File "/home/lxp/.local/lib/python2.7/site-packages/blockade/cli.py", line 385, in main opts.func(opts) File "/home/lxp/.local/lib/python2.7/site-packages/blockade/cli.py", line 153, in cmd_status containers = b.status() File "/home/lxp/.local/lib/python2.7/site-packages/blockade/core.py", line 298, in status return self._get_all_containers() File "/home/lxp/.local/lib/python2.7/site-packages/blockade/core.py", line 288, in _get_all_containers ip_partitions = self.network.get_ip_partitions(self.state.blockade_id) File "/home/lxp/.local/lib/python2.7/site-packages/blockade/net.py", line 66, in get_ip_partitions return iptables_get_source_chains(blockade_id) File "/home/lxp/.local/lib/python2.7/site-packages/blockade/net.py", line 145, in iptables_get_source_chains lines = iptables_get_chain_rules("FORWARD") File "/home/lxp/.local/lib/python2.7/site-packages/blockade/net.py", line 124, in iptables_get_chain_rules lines = iptables_call_output("-L", chain) File "/home/lxp/.local/lib/python2.7/site-packages/blockade/net.py", line 112, in iptables_call_output output = docker_run(' '.join(cmd), image=IPTABLES_DOCKER_IMAGE) File "/home/lxp/.local/lib/python2.7/site-packages/blockade/utils.py", line 33, in docker_run container = docker_client.create_container(image=image, command=command) File "/home/lxp/.local/lib/python2.7/site-packages/docker/api/container.py", line 117, in create_container return self.create_container_from_config(config, name) File "/home/lxp/.local/lib/python2.7/site-packages/docker/api/container.py", line 127, in create_container_from_config res = self._post_json(u, data=config, params=params) File "/home/lxp/.local/lib/python2.7/site-packages/docker/client.py", line 166, in _post_json return self._post(url, data=json.dumps(data2), _kwargs) File "/home/lxp/.local/lib/python2.7/site-packages/docker/client.py", line 107, in _post return self.post(url, _self._set_request_timeout(kwargs)) File "/home/lxp/.local/lib/python2.7/site-packages/requests/sessions.py", line 522, in post return self.request('POST', url, data=data, json=json, _kwargs) File "/home/lxp/.local/lib/python2.7/site-packages/requests/sessions.py", line 475, in request resp = self.send(prep, _send_kwargs) File "/home/lxp/.local/lib/python2.7/site-packages/requests/sessions.py", line 596, in send r = adapter.send(request, **kwargs) File "/home/lxp/.local/lib/python2.7/site-packages/requests/adapters.py", line 473, in send raise ConnectionError(err, request=request) ConnectionError: ('Connection aborted.', error(13, 'Permission denied'))
when I use blockade up command , but nothing happen,none of the error info and the status of containers ,my system is ubuntu 16.04 and with docker-engine 1.12 installed.