~ubuntu-branches/ubuntu/wily/heat/wily

« back to all changes in this revision

Viewing changes to devstack/upgrade/shutdown.sh

  • Committer: Package Import Robot
  • Author(s): Corey Bryant
  • Date: 2015-08-19 08:11:50 UTC
  • mfrom: (1.1.27)
  • Revision ID: package-import@ubuntu.com-20150819081150-m969fd35xn8bdmfu
Tags: 1:5.0.0~b2-0ubuntu1
* New upstream milestone for OpenStack Liberty.
* d/control: Align (build-)depends with upstream.
* d/p/fix-requirements.patch: Dropped. No longer needed.
* d/p/fixup-assert-regex.patch: Rebased.
* d/rules: Remove .eggs directory in override_dh_auto_clean.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
#
 
3
# Licensed under the Apache License, Version 2.0 (the "License"); you may
 
4
# not use this file except in compliance with the License. You may obtain
 
5
# a copy of the License at
 
6
#
 
7
#    http://www.apache.org/licenses/LICENSE-2.0
 
8
#
 
9
# Unless required by applicable law or agreed to in writing, software
 
10
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 
11
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 
12
# License for the specific language governing permissions and limitations
 
13
# under the License.
 
14
 
 
15
set -o errexit
 
16
 
 
17
source $GRENADE_DIR/grenaderc
 
18
source $GRENADE_DIR/functions
 
19
 
 
20
# We need base DevStack functions for this
 
21
source $BASE_DEVSTACK_DIR/functions
 
22
source $BASE_DEVSTACK_DIR/stackrc # needed for status directory
 
23
source $BASE_DEVSTACK_DIR/lib/tls
 
24
source $BASE_DEVSTACK_DIR/lib/heat
 
25
 
 
26
set -o xtrace
 
27
 
 
28
stop_heat
 
29
 
 
30
SERVICES_DOWN="heat-api heat-engine heat-api-cfn heat-api-cloudwatch"
 
31
 
 
32
# sanity check that services are actually down
 
33
ensure_services_stopped $SERVICES_DOWN