Update nodepool dsvm test to disable services

Rather than enabling a fixed set of services, let the default list of
services be what it is and disable ones we don't want. This way, if
projects add a new service, we won't skip it accidentally.

Change-Id: I5047272d221b17f91ba47f6d26adca2ba879d156
This commit is contained in:
Monty Taylor 2017-01-31 13:56:31 -06:00
parent 39cf700ab1
commit 0aadca611c
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 9 additions and 4 deletions

View File

@ -21,10 +21,15 @@
# The nodepool process needs sudo rights in order to
# perform dib image builds
export DEVSTACK_GATE_REMOVE_STACK_SUDO=0
# Override so we get a bare minimum set of base compute services
# required to have nodepool function.
OVERRIDE_ENABLED_SERVICES=dstat,g-api,g-reg,key,mysql,n-api,n-cond,n-cpu,n-crt,n-sch,q-agt,q-dhcp,q-l3,q-meta,q-metering,q-svc,rabbit,s-account,s-container,s-object,s-proxy
export OVERRIDE_ENABLED_SERVICES
# Disable services we do not need for nodepool
export DEVSTACK_LOCAL_CONFIG="disable_service horizon"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-acentral"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-acompute"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-alarm-evaluator"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-alarm-notifier"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-anotification"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-api"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-collector"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE