[ovirt-devel] Help understanding the conflict with libvirt-guests.service - gerrit patch 78693

Michal Skrivanek michal.skrivanek at redhat.com
Fri Jun 30 15:59:26 UTC 2017


> On 30 Jun 2017, at 12:41, Petr Kotas <pkotas at redhat.com> wrote:
> 
> Hi,
> 
> I am kindly asking for help with understanding the origin of conflict within the libvirt-guests.service and vdsmd.service.
> 
> Explanation:
> 
> I am working on a graceful VM shutdown as described by the feature in a Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1334982.
> 
> One way (the simplest one as described in the Bugzilla) of achieving the required functionality is to utilize "libvirt-guests.service", which does exactly what is required.

as long as it is properly configured to ON_SHUTDOWN=shutdown

> The second option is to write a new service that does the shutdown and utilizes the vdsm. Since I am new, I do not know what is the best solution.

less new services == better solution:)

> 
> Staying with the fist one I have discovered an old conflict between "vdsmd.service" and "libvirt-guests.service" explained in bug https://bugzilla.redhat.com/show_bug.cgi?id=720359. I have tried to reproduce described scenario and found that it is no longer an issue. Therefore I have created a proposal draft patch to start a discussion, whether it is really needed or not.

it’s ancient, from the pre-systemd times when the libvirt-guest service was just…not good enough

> 
> Further, the research in git history showed this conflict precedes the git history, effectively blocking me in understanding details.

right….it’s time to test it again. It should work just fine these days

Thanks,
michal

> 
> Does somebody know about this issue? I am grateful for any information that can point me in the right direction.
> 
> Thank you in advance for any help.
> 
> Kind regards,
> Petr Kotas
> 
> 
> 
> 
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel



More information about the Devel mailing list