On Thu, 27 Jun 2019 at 21:52, <gaetan.trellu@incloudus.com> wrote:
Hi,
I'm integrating Masakari into Kolla and Kolla Ansible projects but I'm facing an issue related to masakari-hostmonitor.
Based on masakari-monitors code[1], "systemctl status" command is used to check if pacemaker, pacemaker-remote and corosync are running.
Having systemd running into Docker container is not the best solution. Does any of you has been able to run masakari-monitor into Docker container ?
I would not recommend running the systemd daemon in a container, but you could potentially use the client to access a daemon running on the host. E.g., for debian: https://stackoverflow.com/questions/54079586/make-systemctl-work-from-inside.... No doubt there will be various gotchas with this. Are you planning to run pacemaker and corosync on the host? Mark
Thanks for your help.
Gaƫtan
- [1] https://github.com/openstack/masakari-monitors/blob/26d558333d9731ca06da09b2...