How to configure docker endpoint?
I installed docker as a plugin on devstack following this: https://github.com/openstack/heat/tre... . I had to make some changes though, instead of: ln -sf $(cd heat/contrib/docker-plugin/plugin; pwd) /usr/lib/heat/docker
, I did this: ln -sf $(cd docker/resources; pwd) /usr/lib/heat/docker
and then I manually added this: /opt/stack/heat/contrib/docker/docker/resources
into etc/heat/heat.conf
.
After that I'm trying to deploy this template https://github.com/mackeyzheng/heat-t...
Then I get the following error.
| stack_status_reason | Resource CREATE failed: ConnectionError:
| | HTTPConnectionPool(host='10.0.0.2', port=80): Max
| | retries exceeded with url: /v1.12/containers/create
| | (Caused by <class 'socket.error'>: [Errno 113]
| | EHOSTUNREACH)
I think the error is about the "docker_endpoint". Thus I delete this item from the template. Then I get the following error.
| stack_status_reason | Resource CREATE failed: ConnectionError:
| | UnixHTTPConnectionPool(host='localhost', port=None):
| | Max retries exceeded with url:
| | /run/docker.sock/v1.12/containers/create (Caused by
| | <class 'socket.error'>: [Errno 13] EACCES)
Dose anyone have any idea about how to configure "docker_endpoint"?