mirror of https://github.com/ceph/ceph-ansible.git
ceph-osd add the CEPH_VOLUME_DEBUG env var to all ceph-volume commands
Signed-off-by: Alfredo Deza <adeza@redhat.com>pull/2100/head
parent
f0364ba47f
commit
628d98a92c
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
- name: use ceph-volume to create filestore osds with dedicated journals
|
||||
command: "ceph-volume lvm create --filestore --data {{ item.data_vg }}/{{ item.data }} --journal {{ item.journal }}"
|
||||
environment:
|
||||
CEPH_VOLUME_DEBUG: 1
|
||||
with_items: "{{ lvm_volumes }}"
|
||||
when:
|
||||
- item.journal_vg is not defined
|
||||
|
@ -8,6 +10,8 @@
|
|||
|
||||
- name: use ceph-volume to create filestore osds with dedicated lv journals
|
||||
command: "ceph-volume lvm create --filestore --data {{ item.data_vg }}/{{ item.data }} --journal {{item.journal_vg }}/{{ item.journal }}"
|
||||
environment:
|
||||
CEPH_VOLUME_DEBUG: 1
|
||||
with_items: "{{ lvm_volumes }}"
|
||||
when:
|
||||
- item.journal_vg is defined
|
||||
|
@ -15,6 +19,8 @@
|
|||
|
||||
- name: use ceph-volume to create bluestore osds with db and wal
|
||||
command: "ceph-volume lvm create --bluestore --data {{ item.data_vg }}/{{ item.data }} --block.wal {{ item.wal_vg }}/{{ item.wal }} --block.db {{ item.block_vg }}/{{ item.block }}"
|
||||
environment:
|
||||
CEPH_VOLUME_DEBUG: 1
|
||||
with_items: "{{ lvm_volumes }}"
|
||||
when:
|
||||
- osd_objectstore == 'bluestore'
|
||||
|
@ -25,6 +31,8 @@
|
|||
|
||||
- name: use ceph-volume to create bluestore osds with db only
|
||||
command: "ceph-volume lvm create --bluestore --data {{ item.data_vg }}/{{ item.data }} --block.db {{ item.block_vg }}/{{ item.block }}"
|
||||
environment:
|
||||
CEPH_VOLUME_DEBUG: 1
|
||||
with_items: "{{ lvm_volumes }}"
|
||||
when:
|
||||
- osd_objectstore == 'bluestore'
|
||||
|
@ -35,6 +43,8 @@
|
|||
|
||||
- name: use ceph-volume to create bluestore osds with wal only
|
||||
command: "ceph-volume lvm create --bluestore --data {{ item.data_vg }}/{{ item.data }} --block.wal {{ item.wal_vg }}/{{ item.wal }}"
|
||||
environment:
|
||||
CEPH_VOLUME_DEBUG: 1
|
||||
with_items: "{{ lvm_volumes }}"
|
||||
when:
|
||||
- osd_objectstore == 'bluestore'
|
||||
|
@ -45,6 +55,8 @@
|
|||
|
||||
- name: use ceph-volume to create bluestore osds with just a data device
|
||||
command: "ceph-volume lvm create --bluestore --data {{ item.data_vg }}/{{ item.data }}"
|
||||
environment:
|
||||
CEPH_VOLUME_DEBUG: 1
|
||||
with_items: "{{ lvm_volumes }}"
|
||||
when:
|
||||
- osd_objectstore == 'bluestore'
|
||||
|
|
Loading…
Reference in New Issue