Try to optimize Mysql server mem usage on some CI jobs
Those settings in devstack were introduced by [1] and it seems to be working fine so far. Lets try to use it in the Neutron scenario, functional and fullstack jobs to save some memory. [1] https://review.opendev.org/c/openstack/devstack/+/873646 Change-Id: Idb1422acc7d23c6d8f9777ec5ebd9b040c99717a
This commit is contained in:
parent
09a6d126ac
commit
efab60c0bf
@ -24,6 +24,7 @@ MYSQL_USER=${MYSQL_USER:-root}
|
||||
DATABASE_USER=${DATABASE_USER:-openstack_citest}
|
||||
DATABASE_NAME=${DATABASE_NAME:-openstack_citest}
|
||||
MEMORY_TRACKER=${MEMORY_TRACKER:-False}
|
||||
MYSQL_REDUCE_MEMORY=${MYSQL_REDUCE_MEMORY:-True}
|
||||
|
||||
|
||||
if [[ "$IS_GATE" != "True" ]] && [[ "$#" -lt 1 ]]; then
|
||||
|
@ -77,6 +77,7 @@
|
||||
vars:
|
||||
tox_envlist: integrated-network
|
||||
devstack_localrc:
|
||||
MYSQL_REDUCE_MEMORY: true
|
||||
CIRROS_VERSION: 0.6.1
|
||||
DEFAULT_IMAGE_NAME: cirros-0.6.1-x86_64-uec
|
||||
DEFAULT_IMAGE_FILE_NAME: cirros-0.6.1-x86_64-uec.tar.gz
|
||||
@ -203,6 +204,7 @@
|
||||
vars:
|
||||
tox_envlist: integrated-network
|
||||
devstack_localrc:
|
||||
MYSQL_REDUCE_MEMORY: true
|
||||
CIRROS_VERSION: 0.6.1
|
||||
DEFAULT_IMAGE_NAME: cirros-0.6.1-x86_64-uec
|
||||
DEFAULT_IMAGE_FILE_NAME: cirros-0.6.1-x86_64-uec.tar.gz
|
||||
@ -291,6 +293,7 @@
|
||||
devstack_plugins:
|
||||
neutron: https://opendev.org/openstack/neutron.git
|
||||
devstack_localrc:
|
||||
MYSQL_REDUCE_MEMORY: true
|
||||
CIRROS_VERSION: 0.6.1
|
||||
DEFAULT_IMAGE_NAME: cirros-0.6.1-x86_64-uec
|
||||
DEFAULT_IMAGE_FILE_NAME: cirros-0.6.1-x86_64-uec.tar.gz
|
||||
@ -417,6 +420,7 @@
|
||||
ovn:
|
||||
enable_distributed_floating_ip: True
|
||||
devstack_localrc:
|
||||
MYSQL_REDUCE_MEMORY: true
|
||||
CIRROS_VERSION: 0.6.1
|
||||
DEFAULT_IMAGE_NAME: cirros-0.6.1-x86_64-uec
|
||||
DEFAULT_IMAGE_FILE_NAME: cirros-0.6.1-x86_64-uec.tar.gz
|
||||
|
@ -12,6 +12,7 @@
|
||||
tempest_concurrency: 4
|
||||
devstack_localrc:
|
||||
Q_ML2_TENANT_NETWORK_TYPE: vxlan
|
||||
MYSQL_REDUCE_MEMORY: true
|
||||
devstack_plugins:
|
||||
neutron: https://opendev.org/openstack/neutron.git
|
||||
devstack_services:
|
||||
@ -260,6 +261,7 @@
|
||||
vars:
|
||||
devstack_localrc:
|
||||
MYSQL_SERVICE_NAME: mariadb
|
||||
MYSQL_REDUCE_MEMORY: true
|
||||
devstack_plugins:
|
||||
neutron: https://opendev.org/openstack/neutron.git
|
||||
devstack_services:
|
||||
@ -411,6 +413,7 @@
|
||||
vars:
|
||||
devstack_localrc:
|
||||
NEUTRON_DEPLOY_MOD_WSGI: true
|
||||
MYSQL_REDUCE_MEMORY: true
|
||||
devstack_plugins:
|
||||
neutron: https://opendev.org/openstack/neutron.git
|
||||
devstack_services:
|
||||
@ -482,6 +485,7 @@
|
||||
DEFAULT:
|
||||
rpc_workers: 0
|
||||
devstack_localrc:
|
||||
MYSQL_REDUCE_MEMORY: true
|
||||
CIRROS_VERSION: 0.6.1
|
||||
DEFAULT_IMAGE_NAME: cirros-0.6.1-x86_64-uec
|
||||
DEFAULT_IMAGE_FILE_NAME: cirros-0.6.1-x86_64-uec.tar.gz
|
||||
@ -708,6 +712,7 @@
|
||||
vars:
|
||||
tox_envlist: integrated-network
|
||||
devstack_localrc:
|
||||
MYSQL_REDUCE_MEMORY: true
|
||||
CIRROS_VERSION: 0.6.1
|
||||
DEFAULT_IMAGE_NAME: cirros-0.6.1-x86_64-uec
|
||||
DEFAULT_IMAGE_FILE_NAME: cirros-0.6.1-x86_64-uec.tar.gz
|
||||
|
Loading…
x
Reference in New Issue
Block a user