Replace Docker by Podman for containers management

Registered by Emilien Macchi on 2018-08-14

Support Podman in TripleO to manage containers lifecycle.

Blueprint information

Status:
Complete
Approver:
Emilien Macchi
Priority:
Essential
Drafter:
Emilien Macchi
Direction:
Needs approval
Assignee:
Emilien Macchi
Definition:
Approved
Series goal:
Accepted for stein
Implementation:
Implemented
Milestone target:
milestone icon stein-3
Started by
Emilien Macchi on 2018-08-14
Completed by
Emilien Macchi on 2019-03-10

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/podman-support,n,z

Addressed by: https://review.openstack.org/595824
    mysql/client: create tripleo.cnf everytime

Addressed by: https://review.openstack.org/600499
    Introduce container_cli parameter for undercloud.conf

Gerrit topic: https://review.openstack.org/#q,topic:container/cli,n,z

Addressed by: https://review.openstack.org/600512
    Introduce undercloud_container_cli parameter

Addressed by: https://review.openstack.org/600517
    WIP - Switch fs027 to deploy with podman

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

Addressed by: https://review.openstack.org/601421
    WIP - podman: setup systemd dependencies

Addressed by: https://review.openstack.org/606077
    Switch Heat Launcher to use Podman instead of Docker when containerized

Addressed by: https://review.openstack.org/608451
    WIP - Switch standalone & undercloud to Podman by default

Addressed by: https://review.openstack.org/608452
    Switch the undercloud to deploy Podman by default starting from Stein

Addressed by: https://review.openstack.org/611597
    fs010: switch undercloud to podman

Addressed by: https://review.openstack.org/614023
    fs001/035/053: switch undercloud to podman

Addressed by: https://review.openstack.org/614364
    Revert "fs010: switch undercloud to podman"

Gerrit topic: https://review.openstack.org/#q,topic:ansible/tripleo-pcmk-tag2,n,z

Addressed by: https://review.openstack.org/614830
    Support HA container tagging with podman

Gerrit topic: https://review.openstack.org/#q,topic:podman/overcloud,n,z

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

Gerrit topic: https://review.openstack.org/#q,topic:upgrades/podman,n,z

Addressed by: https://review.openstack.org/620405
    WIP - upgrade2podman: prune everything in Docker

Addressed by: https://review.openstack.org/616018
    Implement python based uploader

Addressed by: https://review.openstack.org/622627
    Do not pass insecure and mirrors as arguments

Addressed by: https://review.openstack.org/616019
    WIP make python uploader the default

Addressed by: https://review.openstack.org/622628
    WIP Export images to be served by httpd

Addressed by: https://review.openstack.org/623973
    Prepare apache-image-serve image instead of crane

Addressed by: https://review.openstack.org/624557
    Add profile tripleo::profile::base::apache_image_serve

Gerrit topic: https://review.openstack.org/#q,topic:python-upload,n,z

Addressed by: https://review.openstack.org/629740
    Don't include port numbers in insecure registries

Addressed by: https://review.openstack.org/631765
    mistral-executor: bind-mount /var/lib/containers

Addressed by: https://review.openstack.org/631775
    mistral-executor: bind mount the docker socket only when needed

Addressed by: https://review.openstack.org/632214
    Do external deploy tasks via localhost ssh

Addressed by: https://review.openstack.org/632593
    Revert "mistral-executor: bind-mount /var/lib/containers"

Gerrit topic: https://review.openstack.org/#q,topic:deploy-tasks-ssh,n,z

Gerrit topic: https://review.openstack.org/#q,topic:deploy-tasks-ssha,n,z

Addressed by: https://review.openstack.org/624829
    Role to install apache to serve container images

Addressed by: https://review.openstack.org/624830
    Replace docker-distribution with apache image-serve

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

Addressed by: https://review.openstack.org/634317
    WIP - Support for Buildah in kolla_builder

Addressed by: https://review.openstack.org/636460
    Handle uncompressed layers on image export

Addressed by: https://review.openstack.org/636673
    env/docker: add ContainerCli

Addressed by: https://review.openstack.org/636813
    WIP run mistral_executor unprivileged

Addressed by: https://review.openstack.org/637859
    Switch scenario001-002-003 to use Podman

Addressed by: https://review.openstack.org/637861
    standalone: switch container registry to ImageServce

Addressed by: https://review.openstack.org/637915
    Deprecate Docker

Addressed by: https://review.openstack.org/638243
    Deprecate docker config options

Addressed by: https://review.openstack.org/639438
    Expunge the docker uploader

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.