diff options
author | wutianwei <wutianwei1@huawei.com> | 2018-01-02 16:49:48 +0800 |
---|---|---|
committer | wutianwei <wutianwei1@huawei.com> | 2018-01-03 10:48:56 +0800 |
commit | b7c67c901075fc44a087f38e6b11fdac0b1d04d8 (patch) | |
tree | e2bd1e1e55241e7a9b009aaae421fa6046d69f82 /xci/nfvi/osa/files/ha/user_ceph.yml | |
parent | b6907b858e215f358a16216a5095c9c6ed3520c4 (diff) |
[XCI] move osa files into xci/nfvi/osa/files
we maybe introduce other NFVI in the future in XCI.
it is necessary to put the nfvi files to corresponding directory xci/nfvi/$NFVI/files,
otherwise the files directory will be confused.
Change-Id: Iea98167ff0bc8d338a94fe1c064ac0ab396c53d3
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'xci/nfvi/osa/files/ha/user_ceph.yml')
-rw-r--r-- | xci/nfvi/osa/files/ha/user_ceph.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/xci/nfvi/osa/files/ha/user_ceph.yml b/xci/nfvi/osa/files/ha/user_ceph.yml new file mode 100644 index 00000000..9d5f13a9 --- /dev/null +++ b/xci/nfvi/osa/files/ha/user_ceph.yml @@ -0,0 +1,16 @@ +--- +# The OSA ceph_client role does not support loading IPs from an inventory group, +# so we have to feed it a list of IPs +# yamllint disable rule:line-length +ceph_mons: "[ {% for host in groups[mon_group_name] %}'{{ hostvars[host]['ansible_host'] }}'{% if not loop.last %},{% endif %}{% endfor %} ]" +# yamllint enable rule:line-length +cinder_backends: + "RBD": + volume_driver: cinder.volume.drivers.rbd.RBDDriver + rbd_pool: volumes + rbd_ceph_conf: /etc/ceph/ceph.conf + rbd_store_chunk_size: 8 + volume_backend_name: rbddriver + rbd_user: cinder + rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}" + report_discard_supported: true |