Graham Hayes 51a6d617d3 Update CI Jobs
- Added 'manager_model' flag for old style
  pool-manager + zone-manager

- Added grenade testing for verify_noapi which
  shows we can do an upgrade without impacting the
  data plane

- Removed old keystone v3 test (v2 no longer exists, so
  we are already testing it

- Make py35 job voting

- Stop dsvm jobs on docs / releasenotes / api-ref changes

Change-Id: I0de8d8c3366bb0325a73dd19ce0e1f9a57553d0b
2017-12-05 21:38:44 +00:00

39 lines
1.0 KiB
Bash
Executable File

#!/bin/bash
# ``shutdown-designate``
set -o errexit
source $GRENADE_DIR/grenaderc
source $GRENADE_DIR/functions
# We need base DevStack functions for this
source $BASE_DEVSTACK_DIR/functions
source $BASE_DEVSTACK_DIR/stackrc # needed for status directory
source $BASE_DEVSTACK_DIR/lib/tls
source ${GITDIR[designate]}/devstack/plugin.sh
set -o xtrace
stop_process designate-central
stop_process designate-api
stop_process designate-mdns
stop_process designate-agent
stop_process designate-sink
if is_service_enabled designate-worker; then
stop_process designate-worker
stop_process designate-producer
else
stop_process designate-pool-manager
stop_process designate-zone-manager
fi
# sanity check that service is actually down
ensure_services_stopped designate-api designate-central designate-mdns designate-agent designate-sink
if is_service_enabled designate-worker; then
ensure_services_stopped designate-worker designate-producer
else
ensure_services_stopped designate-pool-manager designate-zone-manager
fi