Ask Your Question

Heat can't connect to docker server on VM

asked 2014-07-10 08:01:07 -0600

HoangDo gravatar image

Hi guys,

I installed docker plugin for heat. Then I try create a HOT script to test: is simply a downloaded version of #include

The script is modified from this example, since the example is incorrect. Strangely, I got this error when heat creating container:

Resource Create Failed: Connectionerror: Httpconnectionpool(Host='', Port=80): Max Retries Exceeded With Url: /V1.9/Containers/Create (Caused By <Class 'Socket.Error'>: [Errno 113] Ehostunreach)

I checked on the VM, docker is successfully installed, but it run on local socket:


Heat can't connect to that socket. Did I misconfigured docker plugin?

edit retag flag offensive close merge delete


have you crossed this stage :

SGPJ gravatar imageSGPJ ( 2014-07-10 09:38:43 -0600 )edit

Thanks Shankar, I did check that post. The answer is removing end-point, that will make container run directly on compute node, and we can't use nova scheduler or neutron network.

I need to use endpoint, so it didn't work.

HoangDo gravatar imageHoangDo ( 2014-07-10 09:49:31 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-08-04 12:58:31 -0600

updated 2014-08-04 13:46:54 -0600

I suspect that Docker is not actually running on port 80, and that you will need to further modify the template to set the correct TCP port in the Docker endpoint URL.

In fact, the Docker documentation implies that Docker does not bind to a TCP port at all by default, so you may need to explicitly configure Docker to listen on a port, and open that port in the firewall, depending on how Docker is packaged for your distribution.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-07-10 08:01:07 -0600

Seen: 861 times

Last updated: Aug 04 '14