[masakari] Run masakari-hostmonitor into Docker container

Mark Goddard mark at stackhpc.com
Fri Jun 28 08:10:42 UTC 2019

On Thu, 27 Jun 2019 at 21:52, <gaetan.trellu at 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:
No doubt there will be various gotchas with this.

Are you planning to run pacemaker and corosync on the host?


> Thanks for your help.
> Gaƫtan
> - [1]
> https://github.com/openstack/masakari-monitors/blob/26d558333d9731ca06da09b26fe6592c49c0ac8a/masakarimonitors/hostmonitor/host_handler/handle_host.py#L48

More information about the openstack-discuss mailing list