~openstack-charmers-next/charms/wily/cinder-ceph/trunk

« back to all changes in this revision

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

  • Committer: Chris Holcombe
  • Date: 2016-04-14 15:20:40 UTC
  • Revision ID: xfactor973@gmail.com-20160414152040-tvcjqlzpu3ci4gbu
Charmhelpers Resync

The fix to bug
https://bugs.launchpad.net/charms/+source/glance/+bug/1565120
requires a resync of all charms that use the ceph charmhelpers code.

Change-Id: Ied9d10ef9ffaac049caf525dc431da4e8e0d6358

Show diffs side-by-side

added added

removed removed

Lines of Context:
221
221
                   self.name, str(self.pg_num)]
222
222
            try:
223
223
                check_call(cmd)
 
224
                # Set the pool replica size
 
225
                update_pool(client=self.service,
 
226
                            pool=self.name,
 
227
                            settings={'size': str(self.replicas)})
224
228
            except CalledProcessError:
225
229
                raise
226
230