Merge pull request #1750 from ceph/lvm-test-update

tests: do not use /dev/sda in the lvm scenario
pull/1560/head
Guillaume Abrioux 2017-08-08 19:42:00 +02:00 committed by GitHub
commit 4c38cd0844
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