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.

  • Not all services are registered in Consul with Registrator
  • Connecting to SQL Server Express from within Docker Container gives an error occurred evaluating the password
  • ERROR: Version in “./docker-compose.yml” is unsupported. You might be seeing this error because you're using the wrong Compose file version
  • Limit useable host resources in Docker compose without swarm
  • How can I reset a Dockerized Rails app for integration testing?
  • copy the file from host to docker container prior to run webserver in container
  • 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’’: No schema supplied. Perhaps you meant http:/ /

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

    Notes: 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

  • Docker - Jenkins Image
  • Docker - Restrictions regarding naming container
  • Keeping PostgreSQL data in docker and OSX
  • Docker Automated build downloading private jars from a Maven Sonatype Nexus repository
  • How to restart a docker service using Shell Script
  • Unable to build docker from root
  • 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.