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
Andrew Schoen 2017-08-04 15:57:56 -05:00
parent 3b6d1bfc42
commit 7ab3711cf5
2 changed files with 4 additions and 4 deletions

View File

@ -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 }

View File

@ -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