mirror of https://github.com/ceph/ceph-ansible.git
tests: do not use /dev/sda in the lvm scenario
When you udpate to the latest version of the centos/7 box it always puts the OS on /dev/sda, so do not use it as an OSD. Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/1750/head
parent
3b6d1bfc42
commit
7ab3711cf5
|
@ -9,9 +9,9 @@ journal_size: 100
|
||||||
osd_objectstore: "filestore"
|
osd_objectstore: "filestore"
|
||||||
osd_scenario: lvm
|
osd_scenario: lvm
|
||||||
copy_admin_key: true
|
copy_admin_key: true
|
||||||
# test-volume is created by tests/functional/lvm_setup.yml from /dev/sda
|
# test-volume is created by tests/functional/lvm_setup.yml from /dev/sdb
|
||||||
lvm_volumes:
|
lvm_volumes:
|
||||||
test_volume: /dev/sdb
|
test_volume: /dev/sdc
|
||||||
os_tuning_params:
|
os_tuning_params:
|
||||||
- { name: kernel.pid_max, value: 4194303 }
|
- { name: kernel.pid_max, value: 4194303 }
|
||||||
- { name: fs.file-max, value: 26234859 }
|
- { name: fs.file-max, value: 26234859 }
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: create physical volume
|
- name: create physical volume
|
||||||
command: pvcreate /dev/sda
|
command: pvcreate /dev/sdb
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
||||||
- name: create volume group
|
- name: create volume group
|
||||||
command: vgcreate test_group /dev/sda
|
command: vgcreate test_group /dev/sdb
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
||||||
- name: create logical volume
|
- name: create logical volume
|
||||||
|
|
Loading…
Reference in New Issue