Skip to content

Commit

Permalink
Increase ceph pod resources for tempest
Browse files Browse the repository at this point in the history
This patch increases the tempest resources required for Ceph and fixes
the allow and skip list endpoints for tempest.

Signed-off-by: Francesco Pantano <[email protected]>
  • Loading branch information
fmount committed Feb 28, 2024
1 parent 6781c16 commit 3052d8c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ OPENSTACK_OPERATOR="openstack-operator"
BASE_DIR=${HOME:-"/alabama"}
NS_SERVICES=${NS_SERVICES:-"openstack"}
export CEPH_HOSTNETWORK=${CEPH_HOSTNETWORK:-"true"}
export CEPH_DATASIZE=${CEPH_DATASIZE:="2Gi"}
export CEPH_DATASIZE=${CEPH_DATASIZE:="8Gi"}
export CEPH_TIMEOUT=${CEPH_TIMEOUT:="90"}

# We don't want to use OpenShift-CI build cluster namespace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ref:
default: "true"
documentation: When enabled, allow to bind the pod to the hostnetwork of the worker node.
- name: CEPH_DATASIZE
default: "2Gi"
default: "8Gi"
documentation: Ceph volumes data size.
- name: CEPH_TIMEOUT
default: "90"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ META_OPERATOR="openstack-operator"
ORG="openstack-k8s-operators"
# Export Ceph options for tests that call 'make ceph'
export CEPH_HOSTNETWORK=${CEPH_HOSTNETWORK:-"true"}
export CEPH_DATASIZE=${CEPH_DATASIZE:="2Gi"}
export CEPH_DATASIZE=${CEPH_DATASIZE:="8Gi"}
export CEPH_TIMEOUT=${CEPH_TIMEOUT:="90"}

# We don't want to use OpenShift-CI build cluster namespace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ref:
default: "true"
documentation: When enabled, allow to bind the pod to the hostnetwork of the worker node.
- name: CEPH_DATASIZE
default: "2Gi"
default: "8Gi"
documentation: Ceph volumes data size.
- name: CEPH_TIMEOUT
default: "90"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ fi
if [ "$TEMPEST_REGEX" ]; then
tempest run --regex $TEMPEST_REGEX "${TEMPEST_ARGS[@]}"
else
curl -O https://opendev.org/openstack/openstack-tempest-skiplist/raw/branch/master/openstack-operators/tempest_allow.yml
curl -O https://opendev.org/openstack/openstack-tempest-skiplist/raw/branch/master/openstack-operators/tempest_skip.yml
curl -O https://raw.githubusercontent.com/openstack-k8s-operators/ci-framework/main/roles/tempest/files/list_allowed.yml
curl -O https://raw.githubusercontent.com/openstack-k8s-operators/ci-framework/main/roles/tempest/files/list_skipped.yml

tempest-skip list-allowed --file tempest_allow.yml --group ${BASE_OP} --job ${BASE_OP} -f value > allow.txt
tempest-skip list-skipped --file tempest_skip.yml --job ${BASE_OP} -f value > skip.txt
tempest-skip list-allowed --file list_allowed.yml --group ${BASE_OP} --job ${BASE_OP} -f value > allow.txt
tempest-skip list-skipped --file list_skipped.yml --job ${BASE_OP} -f value > skip.txt
if [ -f allow.txt ] && [ -f skip.txt ]; then
TEMPEST_ARGS+=( --exclude-list skip.txt --include-list allow.txt)
cp allow.txt skip.txt ${ARTIFACT_DIR}
Expand Down

0 comments on commit 3052d8c

Please sign in to comment.