Hi again,
On 14:43 Thu 24 Apr , Apollon Oikonomopoulos wrote:
> Hi,
>
> The following set of patches uses daemon-util to start the auxiliary daemons,
> namely metad and kvmd.
>
> Regards,
> Apollon
>
> Apollon Oikonomopoulos (3):
> daemon-util: support for daemons loaded on demand
> KVM: start kvmd via daemon-util
> noded: start metad via daemon-util
>
Before merging these, note that there is an issue we need to decide on:
the initscript will now stop both, kvmd and metad during service
shutdown, but will not start them automatically on startup. There are a
couple different ways around this:
a) Completely remove these daemons from the stop list. This means that
they will either run forever (regardless if they were started from a
previous ganeti version), or have to be manually stopped and started
again for package updates.
b) Have the node daemon start them up on noded startup, if needed;
currently noded starts kvmd and metad on instance operations.
Additionally, it could perform a check on startup and - if running
instances are found - start kvmd and metad if appropriate.
The best solution is not clear to me, because these are the first
daemons that interact with the guest OS in a way and so they affect
instance users rather than cluster admins and thus must have limited
downtime.
Comments?
Regards,
Apollon