~corey.bryant/charms/trusty/quantum-gateway/use-stable

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/storage/linux/ceph.py

  • Committer: james.page at ubuntu
  • Date: 2014-07-28 11:32:22 UTC
  • mfrom: (53.1.3 quantum-gateway)
  • Revision ID: james.page@ubuntu.com-20140728113222-pi9nzrje388v69i0
[coreycb,r=james-page] Add amulet tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
303
303
                        blk_device, fstype, system_services=[]):
304
304
    """
305
305
    NOTE: This function must only be called from a single service unit for
306
 
          the same rbd_img otherwise data loss will occur.
 
306
    the same rbd_img otherwise data loss will occur.
307
307
 
308
308
    Ensures given pool and RBD image exists, is mapped to a block device,
309
309
    and the device is formatted and mounted at the given mount_point.