integ/ceph/ceph
Robert Church 46d8d8fdf1 Add conditions to when RBD devices are unmounted
ceph-preshutdown.sh is called as a post operation when docker is
stopped/restarted. Based on current service dependencies, when docker is
restarted this will also trigger a restart of containerd.

Puppet manifests will restart containerd and docker for various
operations both on system boot and during runtime operations when their
configuration has changed.

This update adds conditions to ensure that the RBD devices are only
unmounted when the system is shutting down. This avoids the RBD backed
persistent volumes from being forcibly removed from running pods and
being remounted read-only during these restart scenarios.

Change-Id: I7adfddf135debcc8bcaa1f93866e1a276b554c88
Closes-Bug: #1901449
Signed-off-by: Robert Church <robert.church@windriver.com>
2020-12-14 19:04:31 -05:00
..
centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
files Add conditions to when RBD devices are unmounted 2020-12-14 19:04:31 -05:00