diff options
authorDon Penney <>2019-02-07 11:06:53 -0500
committerDon Penney <>2019-02-07 11:19:43 -0500
commitfca5d9129941b1e80b0c95aede659fcfe8d83207 (patch)
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 <>
Notes (review): Code-Review+1: Scott Little <> Code-Review+2: John Kung <> Code-Review+2: Bin Qian <> Workflow+1: Bin Qian <> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 08 Feb 2019 13:35:04 +0000 Reviewed-on: Project: openstack/stx-ha Branch: refs/heads/master
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 syslog-ng.service config.service sm-watchdog.service systemd-udev-settle.service 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]