Merge pull request #1945 from ceph/mgr-siteuh

[skip ci] Mgr siteuh
pull/1946/head
Sébastien Han 2017-09-22 18:50:12 +02:00 committed by GitHub
commit 595be95d08
19 changed files with 67 additions and 61 deletions

View File

@ -16,7 +16,7 @@ check_pgs() {
echo "Error while running 'ceph $CEPH_CLI -s', PGs were not reported as active+clean"
echo "It is possible that the cluster has less OSDs than the replica configuration"
echo "Will refuse to continue"
$docker_exec ceph "$CEPH_CLI" -s
$docker_exec ceph $CEPH_CLI -s
exit 1
}

View File

@ -33,6 +33,15 @@
- ceph-mon
serial: 1 # MUST be '1' WHEN DEPLOYING MONITORS ON DOCKER CONTAINERS
- hosts: mgrs
become: True
gather_facts: false
roles:
- { role: ceph-defaults, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- { role: ceph-docker-common, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- { role: ceph-config, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- { role: ceph-mgr, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- hosts: osds
become: True
gather_facts: false
@ -87,15 +96,6 @@
- ceph-config
- ceph-restapi
- hosts: mgrs
become: True
gather_facts: false
roles:
- { role: ceph-defaults, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- { role: ceph-docker-common, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- { role: ceph-config, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- { role: ceph-mgr, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- hosts: clients
become: True
gather_facts: false

View File

@ -61,6 +61,15 @@
- ceph-config
- ceph-mon
- hosts: mgrs
gather_facts: false
become: True
roles:
- { role: ceph-defaults, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- { role: ceph-common, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- { role: ceph-config, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- { role: ceph-mgr, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- hosts: agents
gather_facts: false
become: True
@ -133,15 +142,6 @@
- ceph-config
- ceph-client
- hosts: mgrs
gather_facts: false
become: True
roles:
- { role: ceph-defaults, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- { role: ceph-common, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- { role: ceph-config, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- { role: ceph-mgr, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
- hosts: iscsi_gws
gather_facts: false
become: True

View File

@ -3,6 +3,9 @@ mon0 monitor_address=192.168.1.10
mon1 monitor_interface=eth1
mon2 monitor_address=192.168.1.12
[mgrs]
mon0
[osds]
osd0
@ -14,6 +17,3 @@ rgw0
[clients]
client0
[mgrs]
mon0

View File

@ -1,8 +1,8 @@
[mons]
mon0
[mgrs]
mon0
[osds]
osd0
[mgrs]
mon0

View File

@ -1,8 +1,8 @@
[mons]
mon0
[mgrs]
mon0
[osds]
osd0
[mgrs]
mon0

View File

@ -1,8 +1,8 @@
[mons]
mon0
[mgrs]
mon0
[osds]
osd0
[mgrs]
mon0

View File

@ -1,8 +1,8 @@
[mons]
mon0 monitor_interface=eth1
[osds]
osd0
[mgrs]
mon0
[osds]
osd0

View File

@ -3,6 +3,9 @@ ceph-mon0 monitor_address=192.168.1.10
ceph-mon1 monitor_interface=eth1
ceph-mon2 monitor_address=192.168.1.12
[mgrs]
ceph-mgr0
[osds]
ceph-osd0
@ -15,9 +18,6 @@ ceph-rgw0
[clients]
ceph-client0
[mgrs]
ceph-mgr0
[nfss]
ceph-nfs0

View File

@ -1,8 +1,8 @@
[mons]
mon0
[mgrs]
mon0
[osds]
osd0
[mgrs]
mon0

View File

@ -1,8 +1,8 @@
[mons]
mon0
[mgrs]
mon0
[osds]
osd0
[mgrs]
mon0

View File

@ -1,8 +1,8 @@
[mons]
mon0
[mgrs]
mon0
[osds]
osd0
[mgrs]
mon0

View File

@ -1,8 +1,8 @@
[mons]
mon0
[mgrs]
mon0
[osds]
osd0
[mgrs]
mon0

View File

@ -3,6 +3,9 @@ mon0
mon1
mon2
[mgrs]
mgr0
[osds]
osd0
@ -12,9 +15,6 @@ mds0
[rgws]
rgw0
[mgrs]
mgr0
[nfss]
nfs0

View File

@ -1,5 +1,8 @@
[mons]
mon0
[mgrs]
mon0
[osds]
osd0

View File

@ -1,5 +1,8 @@
[mons]
mon0
[mgrs]
mon0
[osds]
osd0

View File

@ -1,8 +1,8 @@
[mons]
mon0
[mgrs]
mon0
[osds]
osd0
[mgrs]
mon0

View File

@ -1,8 +1,8 @@
[mons]
mon0
[mgrs]
mon0
[osds]
osd0
[mgrs]
mon0

View File

@ -3,6 +3,9 @@ mon0 monitor_address=192.168.5.10
mon1 monitor_address=192.168.5.11
mon2 monitor_address=192.168.5.12
[mgrs]
mgr0
[osds]
osd0
@ -15,8 +18,5 @@ rgw0
[clients]
client0
[mgrs]
mgr0
[nfss]
nfs0