Damien Ciabrini ae453229a8 Less agressive cleanup of docker containers in post_upgrade_tasks
"system prune -a -f" deletes unused container images, as well as
containers which are stopped. This removes useful HA containers
*_init_bundle and *_restart_bundle, which makes debugging more
complex. This also removes tags whose image id are used by
pacemaker HA container.

Reduce the effect of cleanup by keeping stopped containers, which
in effect ensures that we also keep the tags used by HA containers.

Note: keep the aggressive cleanup for upgrade_tasks, because
they are always followed by deployed tasks, which recreate the
missing containers.

Note2: This doesn't apply for podman containers, whose cleanup
looks similar but is not as aggressive.

Change-Id: I936fb965687b961602e677bcca72f403121cbb0d
Closes-Bug: #1846368
2019-10-17 15:40:18 +02:00
..
2019-05-30 19:38:40 +00:00
2019-03-13 08:21:35 -04:00
2019-05-30 14:40:41 +00:00

Deprecated services

This directory contains services that are deprecated and that will be removed in a future release.