Skip to content

Commit 577223b

Browse files
committed
Merge pull request #2724 from carmstrong/store-fix_hosts
fix(store): list all monitors in [global] section of config
2 parents 628a026 + 2358fcd commit 577223b

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

store/base/templates/ceph.conf

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[global]
22
fsid = {{ .deis_store_fsid }}
33
mon initial members = {{ .deis_store_monSetupLock }}
4+
mon host = {{ range $index, $mon := .deis_store_hosts }}{{ if $index }}, {{ end }}{{ Base $mon.Key }}{{ end }}
5+
mon addr = {{ range $index, $mon := .deis_store_hosts }}{{ if $index }}, {{ end }}{{ Base $mon.Key }}:6789{{ end }}
46
auth cluster required = cephx
57
auth service required = cephx
68
auth client required = cephx
@@ -11,14 +13,7 @@ osd pool default pgp_num = {{ .deis_store_pgNum }}
1113
osd recovery delay start = {{ .deis_store_delayStart }}
1214
log file = /dev/stdout
1315

14-
{{ range $mon := .deis_store_hosts }}
15-
[mon.{{ $mon.Value }}]
16-
host = {{ $mon.Value }}
17-
mon addr = {{ Base $mon.Key }}:6789
18-
{{ end }}
19-
2016
[client.radosgw.gateway]
2117
host = deis-store-gateway
2218
keyring = /etc/ceph/ceph.client.radosgw.keyring
2319
rgw socket path = /var/run/ceph/ceph.radosgw.gateway.fastcgi.sock
24-
log file = /dev/stdout

0 commit comments

Comments
 (0)