deb-ceilometer/devstack/upgrade/shutdown.sh
Chris Dent c71c5ddf43 Grenade plugin using devstack plugin for ceilometer
This is barebones for now, simply doing the upgrade and checking
services are still running. There is no checking of resources.
Being able to easily add those resources checks is part of the
reason for making this change.

The other reason is to explore and resolve conflicts when extracting
an existing integrated project from both devstack and grenade.

Note that grenade's ensure_services_started and _stopped struggles to
work with processes that contain spaces so distinguishing amongst
ceilometer-polling processes with different namespaces is hard, so
we'll just use the older agent names.

Change-Id: If7bb809743ab0c475a1844c79e552d8b6892a18f
2015-08-12 21:24:20 +00:00

22 lines
526 B
Bash
Executable File

#!/bin/bash
#
#
set -o errexit
source $GRENADE_DIR/grenaderc
source $GRENADE_DIR/functions
# We need base DevStack functions for this.
# TODO(chdent): This relies on the fact that for now base devstack is
# hosting ceilometer itself. Once M* starts this will need to be smarter.
source $BASE_DEVSTACK_DIR/functions
source $BASE_DEVSTACK_DIR/stackrc # needed for status directory
source $BASE_DEVSTACK_DIR/lib/tls
source $BASE_DEVSTACK_DIR/lib/apache
source $BASE_DEVSTACK_DIR/lib/ceilometer
set -o xtrace
stop_ceilometer