On Apr 14 15:23, Apollon Oikonomopoulos wrote:
> Hi Jose,
> 
> On 14:13 Mon 14 Apr     , Jose A. Lopes wrote:
> > Hi Apollon,
> > 
> > Should we add support for the metadata and KVM daemons (i.e., metad
> > and kvmd).  It is true that they are started automatically by Ganeti,
> > although currently they do not call 'daemon-util'.  But it should
> > possible to stop them in any case.
> 
> Hm, I missed metad (this job was mostly done before metad was merged to 
> master, my bad!). I'll resubmit for that.
> 
> Regarding kvmd, yes, we should handle this as well. However, kvmd is 
> currently handled in a different way than the rest of the daemons: it's 
> not started via daemon-util, but directly from the node daemon. This 
> means that we will have to either code systemd detection logic in the 
> node daemon just for that, or change the node daemon to start kvmd via 
> daemon-util. I'd prefer the latter, what do you think?

I agree, the latter sounds good.

But, aren't 'metad' and 'kvmd' in the same situation?  They are both
started directly from the node daemon.  So, we have to change both of
them to start through 'daemon-util', right?

Also, something that is currently missing, that we should also fix, is
that 'daemon-util' stops 'metad' but it does not stop 'kvmd'.  This
was forgotten and 'daemon-util' should also stop 'kvmd'.

What do you think?

If you need help with the patches to start 'kvmd' and 'metad' through
'daemon-util' just let me know.

Cheers,
Jose

> Regards,
> Apollon

-- 
Jose Antonio Lopes
Ganeti Engineering
Google Germany GmbH
Dienerstr. 12, 80331, München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores
Steuernummer: 48/725/00206
Umsatzsteueridentifikationsnummer: DE813741370

Reply via email to