seapath / ansible

This repo contains all the ansible playbooks used to deploy or manage a cluster, as well as inventories examples
https://lfenergy.org/projects/seapath/
Apache License 2.0
6 stars 16 forks source link

Solves VMs autostart on standalone #614

Closed insatomcat closed 1 month ago

insatomcat commented 1 month ago

On standalone, the VMs are not started/shutdown with pacemaker, so we need to use the autostart feature of libvirtd. It seems that this "virsh list" as ExecStartPost makes libvirtd choke on autostart. This "virsh list" was there to make sure libvirtd is properly started before we start pacemaker.

This commits moves this check as an ExecStartPre of pacemaker, so that it does not meddle with libvirtd startup.

This will solves #613.