Disable not needed services in grenade jobs

Things like swift, cinder and etcd aren't needed in neutron
grenade jobs so lets try to disable it to save some resources on test
node.

Change-Id: Id9dd91b50506670da8fb7485e2adbd5b9b6031b4
This commit is contained in:
Slawek Kaplonski 2019-12-17 16:36:15 +01:00
parent e04e1d80e4
commit 0bf005b3c3
2 changed files with 24 additions and 0 deletions

View File

@ -41,6 +41,18 @@
fi fi
export DEVSTACK_GATE_TOPOLOGY="multinode" export DEVSTACK_GATE_TOPOLOGY="multinode"
# Disable some services to use less memory
# Cinder-backup
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-bak"
# Etcd
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service etcd3"
# Swift
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-account"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container-sync"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-object"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-proxy"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
executable: /bin/bash executable: /bin/bash

View File

@ -41,6 +41,18 @@
fi fi
export DEVSTACK_GATE_TOPOLOGY="multinode" export DEVSTACK_GATE_TOPOLOGY="multinode"
# Disable some services to use less memory
# Cinder
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-bak"
# Etcd
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service etcd3"
# Swift
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-account"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container-sync"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-object"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-proxy"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
executable: /bin/bash executable: /bin/bash