diff options
author | Justin chi <chigang@huawei.com> | 2017-08-15 08:59:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-15 08:59:08 +0000 |
commit | 5f2c78057f1a15ca90c5c25025f713a56a48dfc6 (patch) | |
tree | cd17d838ddfbeafe88a5fbb7ac9eab751e114559 /deploy/adapters/ansible/roles/config-osa/templates/user_variables_ceph.yml.j2 | |
parent | 7afdbb1351729dffa7d4bba7a2c505ef707d10c9 (diff) | |
parent | 3fc9da6b7dd0e3dc2d1afd7b2dfad4f4189232d4 (diff) |
Merge "Make the storage use ceph"
Diffstat (limited to 'deploy/adapters/ansible/roles/config-osa/templates/user_variables_ceph.yml.j2')
-rw-r--r-- | deploy/adapters/ansible/roles/config-osa/templates/user_variables_ceph.yml.j2 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/templates/user_variables_ceph.yml.j2 b/deploy/adapters/ansible/roles/config-osa/templates/user_variables_ceph.yml.j2 new file mode 100644 index 00000000..de3c0290 --- /dev/null +++ b/deploy/adapters/ansible/roles/config-osa/templates/user_variables_ceph.yml.j2 @@ -0,0 +1,31 @@ +--- +# Copyright 2017, Logan Vig <logan2211@gmail.com> +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +## ceph-ansible settings +devices: {{ hostvars[ceph_host]['fact_for_ceph'] }} +common_single_host_mode: true +monitor_interface: eth1 +public_network: "{{ mgmt_cidr }} " +cluster_network: "{{ storage_cidr }}" +journal_size: 100 +journal_collocation: true +pool_default_pg_num: 32 +openstack_config: true # Ceph ansible automatically creates pools & keys +cinder_ceph_client: cinder +cinder_default_volume_type: RBD +glance_ceph_client: glance +glance_default_store: rbd +glance_rbd_store_pool: images +nova_libvirt_images_rbd_pool: vms |