Upgrade docker to 1.x on master

Registered by Matthew Mosesohn on 2014-09-09

Many newer features are available in Docker after 1.0 release, including host networking and several performance boosts.

Fuel upgrade needs to be redesigned to meet the following changes:
1. back up container data prior to host changes
2. perform docker upgrade process first, preferrably without the entire Puppet run because it is quite fragile.
3. continue upgrade process as before

Fuel ugrade script should perform the docker upgrade task as follows:
1. add the repo with new docker
2. shutdown daemons under the supervisor
3. make sure that all of the containers are stopped
4. shutdown docker
5. install new rpm package
6. start supervisor (and it should start all of the containers)
7. verify that system works and required services (postgresql, cobbler, astute) work as expected

Blueprint information

Status:
Complete
Approver:
Vladimir Kuklin
Priority:
Essential
Drafter:
Matthew Mosesohn
Direction:
Approved
Assignee:
Ihor Kalnytskyi
Definition:
Approved
Series goal:
Accepted for 6.1.x
Implementation:
Implemented
Milestone target:
milestone icon 6.1
Started by
Matthew Mosesohn on 2014-10-15
Completed by
Vladimir Kuklin on 2015-03-10

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/fuel-master-docker-host-networking,n,z

Addressed by: https://review.openstack.org/146885
    Use --net=host for containers, remove cobbler hack

Gerrit topic: https://review.openstack.org/#q,topic:bp/fuel-master-docker-upgrade,n,z

Addressed by: https://review.openstack.org/149264
    Remove nsenter docker image

Addressed by: https://review.openstack.org/121559
    Run docker containers with host networking

Addressed by: https://review.openstack.org/157312
    Remove nsenter docker image

Addressed by: https://review.openstack.org/167200
    Set docker package to latest

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.