mirror of https://github.com/ceph/ceph-ansible.git
tests: rename all node
let's name all node the same way to avoid confusion. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/3535/head
parent
f8d7019993
commit
d177711f6e
|
@ -1,30 +1,30 @@
|
|||
[mons]
|
||||
ceph-mon0 monitor_address=192.168.1.10
|
||||
ceph-mon1 monitor_interface=eth1
|
||||
ceph-mon2 monitor_address=192.168.1.12
|
||||
mon0 monitor_address=192.168.1.10
|
||||
mon1 monitor_interface=eth1
|
||||
mon2 monitor_address=192.168.1.12
|
||||
|
||||
[osds]
|
||||
ceph-osd0 osd_crush_location="{ 'root': 'HDD', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'ceph-osd0' }"
|
||||
ceph-osd1 osd_crush_location="{ 'root': 'default', 'host': 'ceph-osd1' }"
|
||||
osd0 osd_crush_location="{ 'root': 'HDD', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'osd0' }"
|
||||
osd1 osd_crush_location="{ 'root': 'default', 'host': 'osd1' }"
|
||||
|
||||
[mdss]
|
||||
ceph-mds0
|
||||
mds0
|
||||
|
||||
[rgws]
|
||||
ceph-rgw0
|
||||
rgw0
|
||||
|
||||
[clients]
|
||||
ceph-client0
|
||||
ceph-client1
|
||||
client0
|
||||
client1
|
||||
|
||||
#[nfss]
|
||||
#ceph-nfs0
|
||||
#nfs0
|
||||
|
||||
[rbdmirrors]
|
||||
ceph-rbd-mirror0
|
||||
rbd-mirror0
|
||||
|
||||
[iscsigws]
|
||||
ceph-iscsi-gw0 ceph_repository="dev"
|
||||
iscsi-gw0 ceph_repository="dev"
|
||||
|
||||
[all:vars]
|
||||
nfs_ganesha_stable=True
|
||||
|
|
|
@ -2,18 +2,18 @@
|
|||
docker=True
|
||||
|
||||
[mons]
|
||||
ceph-mon0 monitor_address=192.168.1.10
|
||||
ceph-mon1 monitor_interface=eth1
|
||||
ceph-mon2 monitor_address=192.168.1.12
|
||||
mon0 monitor_address=192.168.1.10
|
||||
mon1 monitor_interface=eth1
|
||||
mon2 monitor_address=192.168.1.12
|
||||
|
||||
[osds]
|
||||
ceph-osd0
|
||||
osd0
|
||||
|
||||
[mdss]
|
||||
ceph-mds0
|
||||
mds0
|
||||
|
||||
[rgws]
|
||||
ceph-rgw0
|
||||
rgw0
|
||||
|
||||
[clients]
|
||||
ceph-client0
|
||||
client0
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
[mons]
|
||||
ceph-mon0 monitor_address=192.168.1.10
|
||||
ceph-mon1 monitor_interface=eth1
|
||||
ceph-mon2 monitor_address=192.168.1.12
|
||||
mon0 monitor_address=192.168.1.10
|
||||
mon1 monitor_interface=eth1
|
||||
mon2 monitor_address=192.168.1.12
|
||||
|
||||
[osds]
|
||||
ceph-osd0 osd_crush_location="{ 'root': 'HDD', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'ceph-osd0' }"
|
||||
ceph-osd1 osd_crush_location="{ 'root': 'default', 'host': 'ceph-osd1' }"
|
||||
osd0 osd_crush_location="{ 'root': 'HDD', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'osd0' }"
|
||||
osd1 osd_crush_location="{ 'root': 'default', 'host': 'osd1' }"
|
||||
|
||||
[mdss]
|
||||
ceph-mds0
|
||||
mds0
|
||||
|
||||
[rgws]
|
||||
ceph-rgw0
|
||||
rgw0
|
||||
|
||||
[clients]
|
||||
ceph-client0
|
||||
ceph-client1
|
||||
client0
|
||||
client1
|
||||
|
||||
#[nfss]
|
||||
#ceph-nfs0
|
||||
#nfs0
|
||||
|
||||
[rbdmirrors]
|
||||
ceph-rbd-mirror0
|
||||
rbd-mirror0
|
||||
|
||||
[iscsigws]
|
||||
ceph-iscsi-gw0 ceph_repository="dev"
|
||||
iscsi-gw0 ceph_repository="dev"
|
||||
|
||||
[all:vars]
|
||||
debian_ceph_packages=['ceph', 'ceph-common', 'ceph-fuse']
|
||||
|
|
|
@ -70,4 +70,4 @@ os_tuning_params:
|
|||
- { name: fs.file-max, value: 26234859 }
|
||||
|
||||
# VM prefix name, need to match the hostname
|
||||
label_prefix: ceph
|
||||
# label_prefix: ceph
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[mons]
|
||||
ceph-mon0 monitor_address=192.168.1.10
|
||||
ceph-mon1 monitor_interface=eth1
|
||||
ceph-mon2 monitor_address=192.168.1.12
|
||||
mon0 monitor_address=192.168.1.10
|
||||
mon1 monitor_interface=eth1
|
||||
mon2 monitor_address=192.168.1.12
|
||||
|
||||
[osds]
|
||||
ceph-osd0
|
||||
osd0
|
|
@ -2,18 +2,18 @@
|
|||
docker=True
|
||||
|
||||
[mons]
|
||||
ceph-mon0 monitor_address=192.168.1.10
|
||||
ceph-mon1 monitor_interface=eth1
|
||||
ceph-mon2 monitor_address=192.168.1.12
|
||||
mon0 monitor_address=192.168.1.10
|
||||
mon1 monitor_interface=eth1
|
||||
mon2 monitor_address=192.168.1.12
|
||||
|
||||
[osds]
|
||||
ceph-osd0
|
||||
osd0
|
||||
|
||||
[mdss]
|
||||
ceph-mds0
|
||||
mds0
|
||||
|
||||
[rgws]
|
||||
ceph-rgw0
|
||||
rgw0
|
||||
|
||||
[clients]
|
||||
ceph-client0
|
||||
client0
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
[mons]
|
||||
ceph-mon0 monitor_address=192.168.1.10
|
||||
ceph-mon1 monitor_interface=eth1
|
||||
ceph-mon2 monitor_address=192.168.1.12
|
||||
mon0 monitor_address=192.168.1.10
|
||||
mon1 monitor_interface=eth1
|
||||
mon2 monitor_address=192.168.1.12
|
||||
|
||||
[osds]
|
||||
ceph-osd0 osd_crush_location="{ 'root': 'HDD', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'ceph-osd0' }"
|
||||
ceph-osd1 osd_crush_location="{ 'root': 'default', 'host': 'ceph-osd1' }"
|
||||
osd0
|
||||
osd1
|
||||
|
||||
[mdss]
|
||||
ceph-mds0
|
||||
mds0
|
||||
|
||||
[rgws]
|
||||
ceph-rgw0
|
||||
rgw0
|
||||
|
||||
[clients]
|
||||
ceph-client0
|
||||
ceph-client1
|
||||
client0
|
||||
client1
|
||||
|
||||
#[nfss]
|
||||
#ceph-nfs0
|
||||
#nfs0
|
||||
|
||||
[rbdmirrors]
|
||||
ceph-rbd-mirror0
|
||||
rbd-mirror0
|
||||
|
||||
[iscsigws]
|
||||
ceph-iscsi-gw0 ceph_repository="dev"
|
||||
iscsi-gw0 ceph_repository="dev"
|
||||
|
||||
[all:vars]
|
||||
debian_ceph_packages=['ceph', 'ceph-common', 'ceph-fuse']
|
||||
|
|
|
@ -70,4 +70,4 @@ os_tuning_params:
|
|||
- { name: fs.file-max, value: 26234859 }
|
||||
|
||||
# VM prefix name, need to match the hostname
|
||||
label_prefix: ceph
|
||||
# label_prefix: ceph
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[mons]
|
||||
ceph-mon0 monitor_address=192.168.71.10
|
||||
mon0 monitor_address=192.168.71.10
|
||||
|
||||
[osds]
|
||||
ceph-osd0
|
||||
ceph-osd1
|
||||
ceph-osd2
|
||||
osd0
|
||||
osd1
|
||||
osd2
|
||||
|
|
|
@ -70,4 +70,4 @@ os_tuning_params:
|
|||
- { name: fs.file-max, value: 26234859 }
|
||||
|
||||
# VM prefix name, need to match the hostname
|
||||
label_prefix: ceph
|
||||
# label_prefix: ceph
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -123,7 +123,7 @@ commands=
|
|||
cp {toxinidir}/infrastructure-playbooks/shrink-mon.yml {toxinidir}/shrink-mon.yml
|
||||
ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/shrink-mon.yml --extra-vars "\
|
||||
ireallymeanit=yes \
|
||||
mon_to_kill={env:MON_TO_KILL:ceph-mon2} \
|
||||
mon_to_kill={env:MON_TO_KILL:mon2} \
|
||||
ceph_docker_image_tag={env:CEPH_DOCKER_IMAGE_TAG:latest-master} \
|
||||
"
|
||||
[shrink-osd]
|
||||
|
|
Loading…
Reference in New Issue