ceph-osd use --cluster in ceph-volume calls

Signed-off-by: Alfredo Deza <adeza@redhat.com>
pull/2100/head
Alfredo Deza 2017-10-24 17:47:29 -04:00
parent 628d98a92c
commit df05e63c10
1 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
--- ---
- name: use ceph-volume to create filestore osds with dedicated journals - 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 }}" command: "ceph-volume --cluster {{ cluster }} lvm create --filestore --data {{ item.data_vg }}/{{ item.data }} --journal {{ item.journal }}"
environment: environment:
CEPH_VOLUME_DEBUG: 1 CEPH_VOLUME_DEBUG: 1
with_items: "{{ lvm_volumes }}" with_items: "{{ lvm_volumes }}"
@ -9,7 +9,7 @@
- osd_objectstore == 'filestore' - osd_objectstore == 'filestore'
- name: use ceph-volume to create filestore osds with dedicated lv journals - 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 }}" command: "ceph-volume --cluster {{ cluster }} lvm create --filestore --data {{ item.data_vg }}/{{ item.data }} --journal {{item.journal_vg }}/{{ item.journal }}"
environment: environment:
CEPH_VOLUME_DEBUG: 1 CEPH_VOLUME_DEBUG: 1
with_items: "{{ lvm_volumes }}" with_items: "{{ lvm_volumes }}"
@ -18,7 +18,7 @@
- osd_objectstore == 'filestore' - osd_objectstore == 'filestore'
- name: use ceph-volume to create bluestore osds with db and wal - 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 }}" command: "ceph-volume --cluster {{ cluster }} lvm create --bluestore --data {{ item.data_vg }}/{{ item.data }} --block.wal {{ item.wal_vg }}/{{ item.wal }} --block.db {{ item.db_vg }}/{{ item.db }}"
environment: environment:
CEPH_VOLUME_DEBUG: 1 CEPH_VOLUME_DEBUG: 1
with_items: "{{ lvm_volumes }}" with_items: "{{ lvm_volumes }}"
@ -30,7 +30,7 @@
- item.db_vg is defined - item.db_vg is defined
- name: use ceph-volume to create bluestore osds with db only - 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 }}" command: "ceph-volume --cluster {{ cluster }} lvm create --bluestore --data {{ item.data_vg }}/{{ item.data }} --block.db {{ item.db_vg }}/{{ item.db }}"
environment: environment:
CEPH_VOLUME_DEBUG: 1 CEPH_VOLUME_DEBUG: 1
with_items: "{{ lvm_volumes }}" with_items: "{{ lvm_volumes }}"
@ -42,7 +42,7 @@
- item.db_vg is defined - item.db_vg is defined
- name: use ceph-volume to create bluestore osds with wal only - 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 }}" command: "ceph-volume --cluster {{ cluster }} lvm create --bluestore --data {{ item.data_vg }}/{{ item.data }} --block.wal {{ item.wal_vg }}/{{ item.wal }}"
environment: environment:
CEPH_VOLUME_DEBUG: 1 CEPH_VOLUME_DEBUG: 1
with_items: "{{ lvm_volumes }}" with_items: "{{ lvm_volumes }}"
@ -54,7 +54,7 @@
- item.db_vg is not defined - item.db_vg is not defined
- name: use ceph-volume to create bluestore osds with just a data device - 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 }}" command: "ceph-volume --cluster {{ cluster }} lvm create --bluestore --data {{ item.data_vg }}/{{ item.data }}"
environment: environment:
CEPH_VOLUME_DEBUG: 1 CEPH_VOLUME_DEBUG: 1
with_items: "{{ lvm_volumes }}" with_items: "{{ lvm_volumes }}"