]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: do not use /dev/sda in the lvm scenario 1750/head
authorAndrew Schoen <aschoen@redhat.com>
Fri, 4 Aug 2017 20:57:56 +0000 (15:57 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 4 Aug 2017 20:57:56 +0000 (15:57 -0500)
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>
tests/functional/centos/7/lvm-osds/group_vars/all
tests/functional/lvm_setup.yml

index 36d6bbf7b53fd9670ba17edca041b36f1cbeb30f..8cb72ac0c86602ca4558acda58a797437cf9bf87 100644 (file)
@@ -9,9 +9,9 @@ journal_size: 100
 osd_objectstore: "filestore"
 osd_scenario: lvm
 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:
-  test_volume: /dev/sdb
+  test_volume: /dev/sdc
 os_tuning_params:
   - { name: kernel.pid_max, value: 4194303 }
   - { name: fs.file-max, value: 26234859 }
index 42e36d92018639c367c03933253c1a0cb3d95206..0a7c6d4eb28965f5ba40351f3a11d40bb8744a2d 100644 (file)
@@ -6,11 +6,11 @@
   tasks:
     
     - name: create physical volume
-      command: pvcreate /dev/sda
+      command: pvcreate /dev/sdb
       failed_when: false
 
     - name: create volume group
-      command: vgcreate test_group /dev/sda
+      command: vgcreate test_group /dev/sdb
       failed_when: false
 
     - name: create logical volume