Merge lp:~hopem/charms/precise/ceph/lp1259919 into lp:~charmers/charms/precise/ceph/trunk

Proposed by Edward Hope-Morley
Status: Merged
Merged at revision: 68
Proposed branch: lp:~hopem/charms/precise/ceph/lp1259919
Merge into: lp:~charmers/charms/precise/ceph/trunk
Diff against target: 53 lines (+15/-3)
4 files modified
config.yaml (+11/-0)
hooks/hooks.py (+2/-1)
revision (+1/-1)
templates/ceph.conf (+1/-1)
To merge this branch: bzr merge lp:~hopem/charms/precise/ceph/lp1259919
Reviewer Review Type Date Requested Status
James Page Approve
Review via email: mp+198705@code.launchpad.net
To post a comment you must log in.
Revision history for this message
James Page (james-page) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'config.yaml'
--- config.yaml 2013-08-27 10:44:50 +0000
+++ config.yaml 2013-12-12 11:18:46 +0000
@@ -49,6 +49,17 @@
49 no journal device will be used.49 no journal device will be used.
50 .50 .
51 Only supported with ceph >= 0.48.3.51 Only supported with ceph >= 0.48.3.
52 osd-journal-size:
53 type: int
54 default: 1024
55 description: |
56 Ceph osd journal size. The journal size should be at least twice the
57 product of the expected drive speed multiplied by filestore max sync
58 interval. However, the most common practice is to partition the journal
59 drive (often an SSD), and mount it such that Ceph uses the entire
60 partition for the journal.
61 .
62 Only supported with ceph >= 0.48.3.
52 osd-format:63 osd-format:
53 type: string64 type: string
54 default: xfs65 default: xfs
5566
=== modified file 'hooks/hooks.py'
--- hooks/hooks.py 2013-11-18 12:20:21 +0000
+++ hooks/hooks.py 2013-12-12 11:18:46 +0000
@@ -71,7 +71,8 @@
71 'auth_supported': config('auth-supported'),71 'auth_supported': config('auth-supported'),
72 'mon_hosts': ' '.join(get_mon_hosts()),72 'mon_hosts': ' '.join(get_mon_hosts()),
73 'fsid': config('fsid'),73 'fsid': config('fsid'),
74 'version': ceph.get_ceph_version()74 'version': ceph.get_ceph_version(),
75 'osd_journal_size': config('osd-journal-size')
75 }76 }
76 # Install ceph.conf as an alternative to support77 # Install ceph.conf as an alternative to support
77 # co-existence with other charms that write this file78 # co-existence with other charms that write this file
7879
=== modified file 'revision'
--- revision 2013-10-10 10:46:24 +0000
+++ revision 2013-12-12 11:18:46 +0000
@@ -1,1 +1,1 @@
11031104
22
=== modified file 'templates/ceph.conf'
--- templates/ceph.conf 2012-12-17 10:22:51 +0000
+++ templates/ceph.conf 2013-12-12 11:18:46 +0000
@@ -18,6 +18,6 @@
1818
19[osd]19[osd]
20 keyring = /var/lib/ceph/osd/$cluster-$id/keyring20 keyring = /var/lib/ceph/osd/$cluster-$id/keyring
21 osd journal size = 100021 osd journal size = {{ osd_journal_size }}
22 filestore xattr use omap = true22 filestore xattr use omap = true
2323

Subscribers

People subscribed via source and target branches