b071bb22c9
Because of the consideration of security and performance, ceph community recommend the use of two separate network public networks and cluster networks. refer: http://docs.ceph.com/docs/master/rados/configuration/network-config-ref/ DocImpact Closes-Bug: #1582095 Change-Id: I8cb0e14f86c859820fbbb8af8f94ac8155338e13
18 lines
682 B
Django/Jinja
18 lines
682 B
Django/Jinja
{
|
|
"command": "/usr/bin/ceph-osd -f -d --public-addr {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }} --cluster-addr {{ hostvars[inventory_hostname]['ansible_' + cluster_interface]['ipv4']['address'] }}",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.conf",
|
|
"dest": "/etc/ceph/ceph.conf",
|
|
"owner": "ceph",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.client.admin.keyring",
|
|
"dest": "/etc/ceph/ceph.client.admin.keyring",
|
|
"owner": "ceph",
|
|
"perm": "0600"
|
|
}
|
|
]
|
|
}
|