ceph-ansible: minimal containerized deployment (docker)
Posted on Wed 28 February 2018 in Ceph • 1 min read
tested with v3.0.26
group_vars/all.yml
monitor_interface: eth1
radosgw_interface: eth1
public_network: 10.20.30.0/24
cluster_network: 192.168.121.0/24
ceph_conf_overrides:
osd:
osd scrub during recovery: false
ceph_docker_image: "ceph/daemon"
ceph_docker_image_tag: latest
ceph_docker_registry: 10.20.30.1:5000
containerized_deployment: true
group_vars/osds.yml
crush_location: true
osd_crush_location: "\"root={{ ceph_crush_root }} rack={{ ceph_crush_rack }} host={{ ansible_hostname }}\""
osd_objectstore: bluestore
osd_scenario: non-collocated
devices:
- /dev/sdb
- /dev/sdc
- /dev/sdd
- /dev/sde
- /dev/sdf
- /dev/sdg
- /dev/sdh
dedicated_devices:
- /dev/nvme0n1
- /dev/nvme0n1
- /dev/nvme0n1
- /dev/nvme0n1
- /dev/nvme0n1
- /dev/nvme0n1
- /dev/nvme0n1
group_vars/mons.yml (optional)
openstack_config: true
openstack_glance_pool:
name: images
pg_num: "{{ osd_pool_default_pg_num }}"
rule_name: ""
openstack_pools:
- "{{ openstack_glance_pool }}"