I'm trying to follow the directions in ceph-ansible for having it automatically set up
the crush map.
I've also looked at
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/4/html/i…
But.. my setup isnt working.
ansible complains about:
[WARNING]: While constructing a mapping from /etc/ansible/hosts.yml, line 5, column 9,
found a duplicate dict key (hostA2).
Using last defined value only.
Could anyone explain what I'm doing wrong, please?
Here's the relevant hosts.yml snippets
all:
children:
osds:
hosts:
hostA1:
osd_crush_location:
host: 'hostA1'
chassis: 'hostA'
root: 'default'
hostA2:
osd_crush_location:
host: 'hostA2'
chassis: 'hostA'
root: 'default'
--
Philip Brown| Sr. Linux System Administrator | Medata, Inc.
5 Peters Canyon Rd Suite 250
Irvine CA 92606
Office 714.918.1310| Fax 714.918.1325
pbrown(a)medata.com|
www.medata.com