let's name all node the same way to avoid confusion.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
[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
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
[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']
- { name: fs.file-max, value: 26234859 }
# VM prefix name, need to match the hostname
-label_prefix: ceph
+# label_prefix: ceph
[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
\ No newline at end of file
+osd0
\ No newline at end of file
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
[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']
- { name: fs.file-max, value: 26234859 }
# VM prefix name, need to match the hostname
-label_prefix: ceph
+# label_prefix: ceph
[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
- { name: fs.file-max, value: 26234859 }
# VM prefix name, need to match the hostname
-label_prefix: ceph
+# label_prefix: ceph
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]