Record details of each device that is successfully processed as
an OSD data device to ensure that they are not re-processed
during subsequent hook executions.
"successfully processed" in this case means that the call to
either ceph-disk or ceph-volume to prepare (and potentially
activate) the OSD completed without error.
This avoids potential data loss on reboot when osd-reformat is
set to True as the charm will only every process a block device
once.
Change-Id: I2c6e9d5670c8d1d70584ae19b34eaf16be5dea19
Helper functions for the ceph charms. This library has shared functionality that is used in the ceph-mon, ceph-osd and ceph
charms. Anything that needs to be shared across the ceph charms should live here.