From 1a6e14f7f5e5dfbdddcd0894b79a01b3e77b4aa5 Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Wed, 15 Dec 2021 14:34:25 -0700 Subject: [PATCH] test: only create replicated pools in ci Creating an EC pool is causing the CI to hang when the EC pool is initialized since there aren't enough OSDs to satisfy the EC parameters. Signed-off-by: Travis Nielsen (cherry picked from commit 60cc67fed46b8087eb21c1a99006863a894bedfc) --- .github/workflows/canary-integration-test.yml | 5 ----- tests/scripts/github-action-helper.sh | 1 - 2 files changed, 6 deletions(-) diff --git a/.github/workflows/canary-integration-test.yml b/.github/workflows/canary-integration-test.yml index a90d05f59179..a72f31b84ffb 100644 --- a/.github/workflows/canary-integration-test.yml +++ b/.github/workflows/canary-integration-test.yml @@ -59,11 +59,6 @@ jobs: kubectl -n rook-ceph cp deploy/examples/create-external-cluster-resources.py $toolbox:/etc/ceph timeout 10 sh -c "until kubectl -n rook-ceph exec $toolbox -- python3 /etc/ceph/create-external-cluster-resources.py --rbd-data-pool-name replicapool; do echo 'waiting for script to succeed' && sleep 1; done" - - name: test external script for erasure coded rbd pool - run: | - toolbox=$(kubectl get pod -l app=rook-ceph-tools -n rook-ceph -o jsonpath='{.items[*].metadata.name}') - timeout 10 sh -c "until kubectl -n rook-ceph exec $toolbox -- python3 /etc/ceph/create-external-cluster-resources.py --rbd-data-pool-name=ec-pool --rbd-metadata-ec-pool-name=replicapool; do echo 'waiting for script to succeed' && sleep 1; done" - - name: run external script create-external-cluster-resources.py unit tests run: | kubectl -n rook-ceph exec $(kubectl get pod -l app=rook-ceph-tools -n rook-ceph -o jsonpath='{.items[0].metadata.name}') -- python3 -m unittest /etc/ceph/create-external-cluster-resources.py diff --git a/tests/scripts/github-action-helper.sh b/tests/scripts/github-action-helper.sh index 2e5c50750d1c..25e8ede57fab 100755 --- a/tests/scripts/github-action-helper.sh +++ b/tests/scripts/github-action-helper.sh @@ -212,7 +212,6 @@ function deploy_cluster() { kubectl create -f cluster-test.yaml kubectl create -f object-test.yaml kubectl create -f pool-test.yaml - kubectl create -f pool-ec.yaml kubectl create -f filesystem-test.yaml kubectl create -f rbdmirror.yaml kubectl create -f filesystem-mirror.yaml