Add drbd.service as a dependency to sm.service
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>
This commit is contained in:
parent
beda852ec8
commit
fca5d91299
@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Service Management Unit
|
||||
After=network-online.target syslog-ng.service config.service sm-watchdog.service systemd-udev-settle.service
|
||||
After=network-online.target syslog-ng.service config.service sm-watchdog.service systemd-udev-settle.service drbd.service
|
||||
Before=sm-shutdown.service sm-api.service pmon.service
|
||||
|
||||
[Service]
|
||||
|
Loading…
Reference in New Issue
Block a user