summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Penney <don.penney@windriver.com>2019-02-07 11:06:53 -0500
committerDon Penney <don.penney@windriver.com>2019-02-07 11:19:43 -0500
commitfca5d9129941b1e80b0c95aede659fcfe8d83207 (patch)
treedd686bf9b4fc046d3d452b189048b3a0db04b6f0
parentbeda852ec8dd87da4a401095a19f8ba7d744a13e (diff)
Add drbd.service as a dependency to sm.serviceHEADmaster
During initial controller configuration, the puppet manifest starts the DRBD service in order to perform necessary config steps before SM is launched. During shutdown, systemd tries to stop the DRBD service ahead of SM, but because it is still in use, there are a number of DRBD state change failures reported on the console. This update adds After=drbd.service to the sm.service config file to ensure SM is shutdown first, avoiding these failures. Change-Id: I0af0bba59f722d268bd6a5bc3f68e8defae9d191 Story: 2004520 Task: 29397 Signed-off-by: Don Penney <don.penney@windriver.com>
Notes
Notes (review): Code-Review+1: Scott Little <scott.little@windriver.com> Code-Review+2: John Kung <john.kung@windriver.com> Code-Review+2: Bin Qian <bin.qian@windriver.com> Workflow+1: Bin Qian <bin.qian@windriver.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 08 Feb 2019 13:35:04 +0000 Reviewed-on: https://review.openstack.org/635563 Project: openstack/stx-ha Branch: refs/heads/master
-rw-r--r--service-mgmt/sm-1.0.0/scripts/sm.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/service-mgmt/sm-1.0.0/scripts/sm.service b/service-mgmt/sm-1.0.0/scripts/sm.service
index 18be2c0..94513de 100644
--- a/service-mgmt/sm-1.0.0/scripts/sm.service
+++ b/service-mgmt/sm-1.0.0/scripts/sm.service
@@ -1,6 +1,6 @@
1[Unit] 1[Unit]
2Description=Service Management Unit 2Description=Service Management Unit
3After=network-online.target syslog-ng.service config.service sm-watchdog.service systemd-udev-settle.service 3After=network-online.target syslog-ng.service config.service sm-watchdog.service systemd-udev-settle.service drbd.service
4Before=sm-shutdown.service sm-api.service pmon.service 4Before=sm-shutdown.service sm-api.service pmon.service
5 5
6[Service] 6[Service]