Make docker containers stateless

Registered by Matthew Mosesohn

As a first order of importance, persistent data should be located outside of application containers and located either on a host disk or in a designated storage container in Docker. Secondly, containers should operate without using Puppet. Last minute deployment parameters should come from environmental variables or be managed outside of the container and mounted (such as /etc/nailgun)

Blueprint information

Status:
Not started
Approver:
Vladimir Kuklin
Priority:
Undefined
Drafter:
Matthew Mosesohn
Direction:
Needs approval
Assignee:
Matthew Mosesohn
Definition:
Pending Approval
Series goal:
Accepted for 6.1.x
Implementation:
Unknown
Milestone target:
milestone icon 6.1

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/156227
    Remove puppet run for nailgun

Addressed by: https://review.openstack.org/156232
    Stateless nailgun container

Addressed by: https://review.openstack.org/157863
    Create persistent directories for container data

Addressed by: https://review.openstack.org/158767
    Reinstall postgres and cobbler on container start if needed

Addressed by: https://review.openstack.org/159133
    Add data dirs for postgres and cobbler

Gerrit topic: https://review.openstack.org/#q,topic:bug/1429040,n,z

Addressed by: https://review.openstack.org/162073
    Add /var/lib/fuel to SYSTEM_DIRS for backup

Gerrit topic: https://review.openstack.org/#q,topic:bp/master-stateful-only-backup,n,z

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

Implemented starting from 6.1. Not applicable for 9.x and higher since there are no more containers.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.