]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume/tests: update setup_mixed_type playbook 43947/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 27 Oct 2021 06:37:07 +0000 (08:37 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 17 Nov 2021 17:21:54 +0000 (18:21 +0100)
we need to create a file with a larger size.
see https://github.com/ceph/ceph/pull/43300#issuecomment-951961243

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 8af00e25aa4ab60d0309e31f6c20edd6cd5be1ee)

src/ceph-volume/ceph_volume/tests/functional/Vagrantfile
src/ceph-volume/ceph_volume/tests/functional/batch/playbooks/setup_mixed_type.yml

index 8f8b31b7ecfcceb1fc15bff1d58e02c134bdba61..f5425165a8d66038256ec7f7635eb0263a3b954f 100644 (file)
@@ -390,7 +390,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
         # always make /dev/sd{a/b/c/d} so that CI can ensure that
         # virtualbox and libvirt will have the same devices to use for OSDs
         (0..3).each do |d|
-          lv.storage :file, :device => "sd#{driverletters[d]}", :size => '12G'
+          lv.storage :file, :device => "sd#{driverletters[d]}", :size => '100G'
         end
         lv.memory = MEMORY
         lv.random_hostname = true
index 8b155d97d8c3ff822396f041ad29b40d883e0218..5460fdd0db98c338c4d1d23bb6de6d618f45cc9d 100644 (file)
@@ -1,4 +1,4 @@
-
+---
 - hosts: osds
   become: yes
   tasks:
         - /opt/vdd/loop0_nvme0
         - /opt/vde/loop1_nvme1
 
-    - name: create 11GB sparse files for NVMe
-      command: "fallocate -l 11G {{ item }}"
+    - name: create 20GB sparse files for NVMe
+      command: "fallocate -l 20G {{ item }}"
       loop:
         - /opt/vdd/loop0_nvme0
         - /opt/vde/loop1_nvme1