[DNM][CI] Add CEPHADM_DEPLOY flag to py3 tests

Enable CEPHADM_DEPLOY in the py3 job. This would allow us
to run tests on Cinder, Nova, Glance and Swift with Ceph
deployed using the cephadm tool.

Please do not merge, this is testing only.

Depends-On: Id2a704b136b9e47b7b88ef586282cb5d0f754cf1
Depends-On: I799521f008123b8e42b2021c1c11d374b834bec3
Change-Id: I55b0bd5ebce949193849cbe38cd315f394984a3f
This commit is contained in:
Victoria Martinez de la Cruz 2022-04-12 21:39:55 +02:00 committed by Luigi Toscano
parent b0418e177f
commit e153515c7d
2 changed files with 26 additions and 0 deletions

View File

@ -23,11 +23,21 @@
TEMPEST_PLUGINS: '/opt/stack/cinder-tempest-plugin'
ENABLE_VOLUME_MULTIATTACH: false
TEMPEST_RUN_VALIDATION: false
CEPHADM_DEPLOY: true
CEPHADM_DEV_OSD: true
TARGET_DEV_OSD_DIR: /opt/stack
CEPH_LOOPBACK_DISK_SIZE: 30G
ENABLE_CEPH_RGW: true
devstack_plugins:
devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
devstack_services:
# Disable horizon (inherited from the parent, not needed by the tests executed here)
horizon: false
# Disable swift. use RGW
s-account: false
s-container: false
s-object: false
s-proxy: false
tox_envlist: all
tempest_test_regex: |
(^tempest\.(api|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance)|(^cinder_tempest_plugin))
@ -105,11 +115,23 @@
ENABLE_VOLUME_MULTIATTACH: true
TEMPEST_RUN_VALIDATION: false
CINDER_CEPH_UUID: d531d2d4-3937-429c-b0c2-658fe41e82aa
USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION: false
CEPH_RELEASE: "pacific"
CEPHADM_DEPLOY: true
CEPHADM_DEV_OSD: true
TARGET_DEV_OSD_DIR: /opt/stack
CEPH_LOOPBACK_DISK_SIZE: 30G
ENABLE_CEPH_RGW: true
devstack_plugins:
devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
devstack_services:
# Disable horizon (inherited from the parent, not needed by the tests executed here)
horizon: false
# Disable swift. use RGW
s-account: false
s-container: false
s-object: false
s-proxy: false
tox_envlist: all
tempest_plugins:
- cinder-tempest-plugin

View File

@ -94,6 +94,10 @@ elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
fi
elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
if is_service_enabled tempest; then
if [[ "$ENABLE_CEPH_RGW" = "True" ]]; then
iniset $TEMPEST_CONFIG service_available swift True
fi
iniset $TEMPEST_CONFIG compute-feature-enabled swap_volume False
# Only enable shelve testing for branches which have the fix for