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/installation_guide/installing-red-hat-ceph-storage-using-ansible

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 
pbr...@medata.com| www.medata.com
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to