From e8e8a4673ad364313a424100bf3149c59a809e39 Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Tue, 25 Jul 2023 12:47:30 +0530 Subject: [PATCH] test: fix upgrade suite for 1.27.x version the upgrade suite for version 1.27.x is failing due ``` debug 2023-07-24T19:11:20.264+0000 7f3395a82c80 -1 error: monitor data filesystem reached concerning levels of available storage space (available: 5% 4.4 GiB) you may adjust 'mon data avail crit' to a lower value to make this go away (default: 5%) ``` so adding mon setting to start on `compact` also adding other setting present in cluster-test.yaml. Signed-off-by: subhamkrai --- .../integration-test-upgrade-suite.yaml | 16 ++++++++++++++++ tests/framework/installer/ceph_installer.go | 5 +++++ 2 files changed, 21 insertions(+) diff --git a/.github/workflows/integration-test-upgrade-suite.yaml b/.github/workflows/integration-test-upgrade-suite.yaml index 4d4549b73..0669de4ec 100644 --- a/.github/workflows/integration-test-upgrade-suite.yaml +++ b/.github/workflows/integration-test-upgrade-suite.yaml @@ -37,6 +37,22 @@ jobs: with: use-tmate: ${{ secrets.USE_TMATE }} + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: true + + # all of these default to true, but feel free to set to + # "false" if necessary for your workflow + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true + - name: setup cluster resources uses: ./.github/workflows/integration-test-config-latest-k8s with: diff --git a/tests/framework/installer/ceph_installer.go b/tests/framework/installer/ceph_installer.go index a9010df61..0f535f18a 100644 --- a/tests/framework/installer/ceph_installer.go +++ b/tests/framework/installer/ceph_installer.go @@ -61,6 +61,11 @@ const ( [global] osd_pool_default_size = 1 bdev_flock_retry = 20 +mon_warn_on_pool_no_redundancy = false +bluefs_buffered_io = false +mon_data_avail_warn = 10 +[mon] +mon compact on start = true ` volumeReplicationVersion = "v0.5.0" )