Fix nodemgr reporting process state info on 16.04 container
On 16.04 docker we are using systemd inside the docker
as an init system to launch the required processes. However
sd_notify call does not work in the docker and hence
nodemgr does not receive unit change notifications from
systemd system dbus. Fix is to instead do a poll of the
unit status when running inside the docker.
Reviewed: https:/ /review. opencontrail. org/33614 github. com/Juniper/ contrail- controller/ commit/ 6bdb195abf9eaa6 41085db56d6014b 9df2f93f04
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit 6bdb195abf9eaa6 41085db56d6014b 9df2f93f04
Author: Megh Bhatt <email address hidden>
Date: Thu Jul 13 15:04:50 2017 -0700
Fix nodemgr reporting process state info on 16.04 container
On 16.04 docker we are using systemd inside the docker
as an init system to launch the required processes. However
sd_notify call does not work in the docker and hence
nodemgr does not receive unit change notifications from
systemd system dbus. Fix is to instead do a poll of the
unit status when running inside the docker.
Change-Id: Ie5de608dff74de 5287bfa6b9f6e46 61f9c30250c
Closes-Bug: #1694617
Closes-Bug: #1694849