Revision history [back]

click to hide/show revision 1
initial version

ConnectionError: ('Connection aborted.', error(13, 'EACCES'))

Hello, I installed docker plugin for heat openstak Kilo. But when I try to create a stack encountered an error as follows:

  • Status Reason: Resource CREATE failed: ConnectionError: resources.server: ('Connection aborted.', error(13, 'EACCES'))

  • log /heat/heat-engine.log :

    2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource Traceback (most recent call last): 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 500, in _action_recorder 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource yield 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 570, in _do_action 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource yield self.action_handler_task(action, args=handler_args) 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/scheduler.py", line 296, in wrapper 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource step = next(subtask) 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 541, in action_handler_task 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource handler_data = handler(args) 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource File "/usr/lib/heat/docker-plugin/heat_docker/resources/docker_container.py", line 346, in handle_create 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource version = client.version()['ApiVersion'] 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 837, in version 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource return self._result(self._get(url), json=True) 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/docker/clientbase.py", line 86, in _get 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource return self.get(url, *self._set_request_timeout(kwargs)) 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 477, in get 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource return self.request('GET', url, *kwargs) 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 465, in request 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource resp = self.send(prep, *send_kwargs) 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource r = adapter.send(request, **kwargs) 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 415, in send 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource raise ConnectionError(err, request=request) 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource ConnectionError: ('Connection aborted.', error(13, 'EACCES')) 2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource

  • File yaml: http://paste.ubuntu.com/12315822/

How do I fix it??

Thank you!!!

ConnectionError: ('Connection aborted.', error(13, 'EACCES'))

Hello, I installed docker plugin for heat openstak Kilo. But when I try to create a stack encountered an error as follows:

  • Status Reason: Resource CREATE failed: ConnectionError: resources.server: ('Connection aborted.', error(13, 'EACCES'))

  • log /heat/heat-engine.log :


2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource Traceback (most recent call last):
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 500, in _action_recorder
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource     yield
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 570, in _do_action
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource     yield self.action_handler_task(action, args=handler_args)
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/scheduler.py", line 296, in wrapper
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource     step = next(subtask)
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 541, in action_handler_task
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource     handler_data = handler(args)
handler(*args)
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource   File "/usr/lib/heat/docker-plugin/heat_docker/resources/docker_container.py", line 346, in handle_create
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource     version = client.version()['ApiVersion']
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource   File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 837, in version
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource     return self._result(self._get(url), json=True)
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource   File "/usr/local/lib/python2.7/dist-packages/docker/clientbase.py", line 86, in _get
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource     return self.get(url, *self._set_request_timeout(kwargs))
**self._set_request_timeout(kwargs))
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 477, in get
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource     return self.request('GET', url, *kwargs)
**kwargs)
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 465, in request
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource     resp = self.send(prep, *send_kwargs)
**send_kwargs)
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource     r = adapter.send(request, **kwargs)
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource   File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 415, in send
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource     raise ConnectionError(err, request=request)
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource ConnectionError: ('Connection aborted.', error(13, 'EACCES'))
2015-09-09 01:27:41.424 4300 TRACE heat.engine.resource 


  • File yaml:
  • File yaml: http://paste.ubuntu.com/12315822/

heat_template_version: 2014-10-16
description: A simple server.

parameters:
  ImageID:
    type: string
    description: Image use to boot a server
resources:
  server:
    type: DockerInc::Docker::Container
    properties:
      image: { get_param: ImageID }

How do I fix it??

Thank you!!!