2018-11-08 17:02:37 +08:00
|
|
|
---
|
2018-12-14 19:01:16 +08:00
|
|
|
ceph_origin: repository
|
|
|
|
ceph_repository: community
|
|
|
|
public_network: "192.168.1.0/24"
|
|
|
|
cluster_network: "192.168.2.0/24"
|
2019-02-22 17:13:53 +08:00
|
|
|
radosgw_interface: "{{ 'eth1' if ansible_distribution == 'CentOS' else 'ens6' }}"
|
2018-11-08 17:02:37 +08:00
|
|
|
ceph_conf_overrides:
|
|
|
|
global:
|
2020-03-11 08:50:55 +08:00
|
|
|
mon_allow_pool_size_one: true
|
2019-11-27 03:09:48 +08:00
|
|
|
mon_warn_on_pool_no_redundancy: false
|
2018-11-08 17:02:37 +08:00
|
|
|
osd_pool_default_size: 1
|
|
|
|
openstack_config: True
|
|
|
|
openstack_glance_pool:
|
|
|
|
name: "images"
|
2018-11-28 18:30:25 +08:00
|
|
|
pg_num: "{{ osd_pool_default_pg_num }}"
|
|
|
|
pgp_num: "{{ osd_pool_default_pg_num }}"
|
2020-03-03 00:05:18 +08:00
|
|
|
type: 3
|
2018-11-28 18:30:25 +08:00
|
|
|
size: 1
|
2019-06-12 04:03:59 +08:00
|
|
|
application: rbd
|
2020-02-29 01:38:38 +08:00
|
|
|
pg_autoscale_mode: True
|
|
|
|
target_size_ratio: 0.2
|
2018-11-08 17:02:37 +08:00
|
|
|
openstack_cinder_pool:
|
|
|
|
name: "volumes"
|
2018-11-28 18:30:25 +08:00
|
|
|
pg_num: "{{ osd_pool_default_pg_num }}"
|
|
|
|
pgp_num: "{{ osd_pool_default_pg_num }}"
|
2018-11-08 17:02:37 +08:00
|
|
|
rule_name: "HDD"
|
|
|
|
type: 1
|
2018-11-28 18:30:25 +08:00
|
|
|
size: 1
|
2019-06-12 04:03:59 +08:00
|
|
|
application: rbd
|
2018-11-08 17:02:37 +08:00
|
|
|
openstack_pools:
|
|
|
|
- "{{ openstack_glance_pool }}"
|
2018-04-10 17:32:58 +08:00
|
|
|
- "{{ openstack_cinder_pool }}"
|
2019-10-08 22:43:07 +08:00
|
|
|
handler_health_mon_check_delay: 10
|
|
|
|
handler_health_osd_check_delay: 10
|
2019-12-05 01:12:05 +08:00
|
|
|
mds_max_mds: 2
|
2020-01-28 21:04:45 +08:00
|
|
|
dashboard_admin_password: $sX!cD$rYU6qR^B!
|
|
|
|
grafana_admin_password: +xFRe+RES@7vg24n
|