charm-ceph-osd/lib/ceph
James Page 488f7dffef Use provided device paths
Ensure that device paths provided by end users are used for OSD's,
rather than the link target device as this may change between
reboots. The specific use case is bcache, where:

   /dev/bcacheX:
        changes between reboots
   /dev/disk/by-dname/bcacheX:
        udev managed and consistent

This change also ensures that any unit data is updated to switch
back to using the provided block device path, rather than the
actual target which may have been used in prior charm revisions.

Change-Id: If5e88d93b9323052ea762d3a4b66f2442d4a19be
Depends-On: If0e1fbc62bfe7d0f9e21db9bfdeee761060de846
Closes-Bug: 1782439
2018-07-27 13:51:55 +01:00
..
__init__.py Sync charms.ceph to get code cleanup changes 2017-08-14 14:46:38 +01:00
broker.py ignore devices that have already been processed 2018-07-17 14:30:51 +03:00
crush_utils.py Bring ceph-osd to Python 3 2017-11-17 12:13:54 +00:00
utils.py Use provided device paths 2018-07-27 13:51:55 +01:00