From ab28f111dbabca647102ae3abf7504113566de89 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 27 Oct 2021 08:37:07 +0200 Subject: [PATCH] ceph-volume/tests: update setup_mixed_type playbook 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 (cherry picked from commit 8af00e25aa4ab60d0309e31f6c20edd6cd5be1ee) --- src/ceph-volume/ceph_volume/tests/functional/Vagrantfile | 2 +- .../tests/functional/batch/playbooks/setup_mixed_type.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ceph-volume/ceph_volume/tests/functional/Vagrantfile b/src/ceph-volume/ceph_volume/tests/functional/Vagrantfile index 8f8b31b7ecfcc..f5425165a8d66 100644 --- a/src/ceph-volume/ceph_volume/tests/functional/Vagrantfile +++ b/src/ceph-volume/ceph_volume/tests/functional/Vagrantfile @@ -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 diff --git a/src/ceph-volume/ceph_volume/tests/functional/batch/playbooks/setup_mixed_type.yml b/src/ceph-volume/ceph_volume/tests/functional/batch/playbooks/setup_mixed_type.yml index 8b155d97d8c3f..5460fdd0db98c 100644 --- a/src/ceph-volume/ceph_volume/tests/functional/batch/playbooks/setup_mixed_type.yml +++ b/src/ceph-volume/ceph_volume/tests/functional/batch/playbooks/setup_mixed_type.yml @@ -1,4 +1,4 @@ - +--- - hosts: osds become: yes tasks: @@ -119,8 +119,8 @@ - /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 -- 2.39.5