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:
parent
e04e1d80e4
commit
0bf005b3c3
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user