Skip to content

Commit

Permalink
Merge "Fixes: R3.1.1.x build2 - liberty HA setup, setup_all fails whi…
Browse files Browse the repository at this point in the history
…le provisioning ceilometer"
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Feb 10, 2017
2 parents 49b4590 + 27a6c32 commit d9b791a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrail_provisioning/openstack/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ def fixup_config_files(self):
local("sudo sed -i 's/admin_password = /;admin_password = /' /etc/cinder/api-paste.ini")

def run_services(self):
with settings(warn_only=True):
# Stop the openstack services if they are running
# before running the setup
for service in self.openstack_services:
local("service %s stop" % service)
local("sudo keystone-server-setup.sh")
local("sudo glance-server-setup.sh")
local("sudo cinder-server-setup.sh")
Expand Down

0 comments on commit d9b791a

Please sign in to comment.