New grenade job to upgrding cache driver

This job will verify that upgrading cache driver from sqlite to
centralized database will not have any impact.

Related blueprint  centralized-cache-db

Change-Id: Iafed7342753da73efee2c50079505d88fe8ac4d5
This commit is contained in:
Abhishek Kekane 2023-11-22 06:36:36 +00:00
parent 68c3a80291
commit c7cc706a15
1 changed files with 32 additions and 0 deletions

View File

@ -265,6 +265,35 @@
DEFAULT:
image_cache_driver: "centralized_db"
- job:
name: glance-grenade-centralized-cache
parent: grenade-multinode
description: |
Glance grenade multinode job where old glance will use
sqlite as cache driver and new glance will use centralized_db
as cache driver.
required-projects:
- opendev.org/openstack/grenade
- opendev.org/openstack/glance
vars:
# NOTE(abhishekk): We always want base devstack to install from
# stable/2023.2 where 'sqlite' is default cache driver, so that
# on upgrade we can verify that cache data is transferred from
# sqlite to central database. We will remove this job in 'E'
# cycle when 'sqlite' cache driver is removed from the glance.
grenade_from_branch: stable/2023.2
grenade_devstack_localrc:
shared:
GLANCE_STANDALONE: False
GLANCE_USE_IMPORT_WORKFLOW: True
devstack_local_conf:
test-config:
"$TEMPEST_CONFIG":
image:
image_caching_enabled: True
tox_envlist: all
tempest_test_regex: tempest.api.image.v2.admin.test_image_caching
- job:
name: glance-multistore-cinder-import
parent: tempest-integrated-storage-import
@ -395,6 +424,9 @@
- glance-centralized-cache:
voting: false
irrelevant-files: *tempest-irrelevant-files
- glance-grenade-centralized-cache:
voting: false
irrelevant-files: *tempest-irrelevant-files
- glance-secure-rbac-protection-functional
gate: