Intergration of Docker with OpenStack via Docker Heat Plugin

I’m trying to integrate Docker with OpenStack (icehouse) via the Docker-Heat Pluigin and I’m facing a problem.

OpenStack is configured according to the tutorial by OpenStack for Ubuntu. I’m using a controller node and a compute node (just the 2 nodes) with the legacy nova-networking.

  • Docker mono dns issue
  • Vagrant docker shellinit?
  • Docker Ubuntu Build File Errors
  • Docker for Windows Swarm IIS Service with Win10 Insider running but unreachable
  • Unix protocol not supported - Docker Plugin Version - 0.16.2
  • Docker: Unable to commit a built docker image
  • Things to keep in mind:

    Controller Node: 1 network interface – management interface

    Compute Node : 2 network interfaces – management interface and the external interface (vm instance have ips of the same subnet of that external interface)

    With OpenStack everything works perfect except (which might be the problem I’m facing for dockers)

    1- You can’t reach (ping) the deployed vm instances from the controller node [makes sense, i think no problem in that one]

    2- You can’t reach (ping) the deployed vm instances from the compute node (ping: operation not permitted) [might be the issue] – but you can ping from a vm instance to the compute node

    3- The virtual machines themselves don’t see each others [but i think doesn’t have relation to the issue im facing]

    For Dockers, the plug-in is installed. I assume perfect since the syntax for Dockers DockerInc::Docker … is accepted but when I try to run the example posted in the Docker blog – making the adjustments required – the compute instance is created but the docker container is not. Im having this error:

    When i try it as a user with admin role
    MissingSchema: Invalid URL u’192.168.122.26/v1.9/containers/None/json’: No schema supplied. Perhaps you meant http:/ /192.168.122.26/v1.9/containers/None/json

    When i try it as a user with just a member role
    MissingSchema: Invalid URL u’192.168.122.26/v1.9/containers/create’: No schema supplied. Perhaps you meant http:/ /192.168.122.26/v1.9/containers/create

    Notes:
    192.168.122.26 is the ip of the created vm instance.
    I’ve tried not only with cirros but also coreos and ubunto-precise (same error)
    Docker itsself is installed on both Controller and Compute.
    Docker plugin and its requirements are only installed on the controller node

    Finally, both the controller and the compute nodes run as virtual machines themselves

    I would be really glad if you had an idea. Thanks for your time,

    Kindest Regards,
    M. El Sioufy

  • Can docker use the existing host system to run a command in isolation like lxc-execute
  • Passing parameter in docker build command with fish
  • port number not change for docker-compose
  • Hit a service running on localhost from inside a docker image
  • Rancher Performance (Docker in Docker?)
  • How to use t2.nano ec2 instances in an Amazon ec2 container cluster?
  • One Solution collect form web for “Intergration of Docker with OpenStack via Docker Heat Plugin”

    My guess is that you haven’t allowed communication to the VMs from the outside world (which the controller and/or the compute node will be from the VM’s point of view). By default, communications from VMs to the outside world are allowed, but not inbound to the VMs. Try adding an “allow all TCP” rule to the default security group of the tenant that the VMs live in. This may fix your HTTP timeout.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.