Enable worker and producer by default in devstack

In devstack settings we have pool-manager and zone-manager
enabled by default. This causes conflict if a user wants to run
designate plugin with worker and producer.

This change replaces pool-manager and zone-manager with worker
and producer in devstack settings.

Closes-Bug: #1733992

Change-Id: Id96f1430d1091f2485099523fae499bde377e7e6
This commit is contained in:
Ritesh Anand 2017-11-27 13:55:16 -08:00
parent 666a4dfcde
commit 0f8db9f754
2 changed files with 5 additions and 5 deletions

View File

@ -77,8 +77,8 @@ TEMPEST_SERVICES+=,designate
enable_service designate
enable_service designate-central
enable_service designate-api
enable_service designate-pool-manager
enable_service designate-zone-manager
enable_service designate-worker
enable_service designate-producer
enable_service designate-mdns
enable_service designate-agent
enable_service designate-sink

View File

@ -61,9 +61,9 @@
export DEVSTACK_LOCAL_CONFIG+=$'\n'"ENABLE_IDENTITY_V2=False"
fi
if [ "{{ worker_model }}" == "1" ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_service designate-worker designate-producer"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service designate-pool-manager designate-zone-manager"
if [ "{{ worker_model }}" == "0" ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service designate-worker designate-producer"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_service designate-pool-manager designate-zone-manager"
fi
export OVERRIDE_ENABLED_SERVICES=$services