A docker plugin backend for the magnum-backend process

Registered by Steven Dake

Export the "container" object to the magnum backend.

Blueprint information

Status:
Complete
Approver:
Steven Dake
Priority:
Essential
Drafter:
Steven Dake
Direction:
Approved
Assignee:
Digambar
Definition:
Approved
Series goal:
Accepted for milestone-1
Implementation:
Implemented
Milestone target:
None
Started by
Digambar
Completed by
Adrian Otto

Related branches

Sprints

Whiteboard

Implement https://github.com/stackforge/magnum/blob/master/magnum/backend/handlers/docker.py

Lines 72-104 should be implemented. When the ReST API receives a request on a container, it will package it up and send it via magnum/backend/api.py to the magnum-backend process over AMQP. The magnum-backend process will run handlers/docker.py depending on the operation requested.

Will we be using Zaqar or AMQP ?
Because as per the meeting we have decided Zaqar implementation instead AMQP.

Ideally we would use neither but instead communicate with the bay's Docker service via the Docker ReST API that Docker exports to users. There is even a python binding already available. We really don't want dependencies on any agents IMO, so if we can avoid them (which we can) we should.

Gerrit topic: https://review.openstack.org/#q,topic:bp/magnum-backend-docker,n,z

Addressed by: https://review.openstack.org/141426
    Adding docker backend to the magnum.

Addressed by: https://review.openstack.org/141448
    Added docker backend to magnum in handler.

Addressed by: https://review.openstack.org/142857
    Implemented docker backend in the handler.

Addressed by: https://review.openstack.org/142865
    Docker has implemented in the conductor/handlers.

Addressed by: https://review.openstack.org/142866
    Docker implementation with import error fixed.

Addressed by: https://review.openstack.org/142871
    Grouped Import error has fixed. Implements: blueprint magnum-backend-docker

Addressed by: https://review.openstack.org/143145
    Implemented docker backend for magnum service.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.