From 4b501dfc2ba8699625f8c0af5356f31453307a38 Mon Sep 17 00:00:00 2001 From: nitishkrishna Date: Wed, 24 Feb 2016 21:06:34 -0800 Subject: [PATCH] Closes-Bug: #1549612 - Reintroducing explicit stopping of openstack services before supervisor-openstack takes over This is necessary as supervisor-openstack is unable to take over running services. Previous change introduced override files in contrail-openstack package which have no effect on SM provisioning due to different install order Change-Id: Ic79e77261a3c92ddbc17dd066ea371ea0350d0a5 --- .../debian/contrail-openstack/debian/contrail-openstack.postinst | 1 + 1 file changed, 1 insertion(+) diff --git a/common/debian/contrail-openstack/debian/contrail-openstack.postinst b/common/debian/contrail-openstack/debian/contrail-openstack.postinst index 82c2b4590..f2e6144d4 100644 --- a/common/debian/contrail-openstack/debian/contrail-openstack.postinst +++ b/common/debian/contrail-openstack/debian/contrail-openstack.postinst @@ -3,6 +3,7 @@ for svc in keystone nova-api nova-scheduler nova-conductor nova-console\ nova-consoleauth nova-objectstore nova-novncproxy glance-api\ glance-registry cinder-api cinder-scheduler heat-engine heat-api heat-api-cfn ; do if [ -f /etc/init/$svc.conf ]; then + service $svc stop || true mv /etc/init/$svc.conf /etc/init/$svc.conf.backup fi if [ -f /etc/init.d/$svc ]; then