Do not start/stop ganeti-masterd
This daemon does not do anything anymore, so wecan as well get rid of it.
Signed-off-by: Klaus Aehlig <aehlig@google.com>Reviewed-by: Hrvoje Ribicic <riba@google.com>Signed-off-by: Klaus Aehlig <aehlig@google.com>
Make arbitrary compression tools work
We assume that the compression tools the user supplies use stdin andstdout for handling data, and that a switch is used to distinguishcompression from decompression. This patch introduces these constraintsby adding the invocation of these tools to the import-export daemon....
Add verification of compression tool existence
The addition of lzop as a compression option that does not necessarilyexist on a Ganeti-running machine requires checks that lzop exists.This patch applies a more general solution, and attempts to check for...
Disable protections against unknown compression types
Ganeti took care to restrict all possible compression invocations tothe few options that were available. This patch strips away all ofthose, but does not allow any interesting and dangerous commands...
daemon-util: do not restart failed systemd services
daemon-util's check-and-start function is only used by the watcher tostart failed services that should be running on the node. Systemdsupervises and restarts the services as needed; if a service is down, it...
daemon-util: use systemctl if applicable
daemon-util is used throughout the code for starting a daemon wheneverthis is needed (e.g. during cluster bootstrapping or master failover).
In order not to confuse systemd and its service supervision code,daemon-util needs to cooperate with it. Thus, we use systemctl for all...
daemon-util: support for daemons loaded on demand
We add a second category of daemons in daemon-util, those that arestarted on demand and should not be started by the start_all action, butshould be stopped during service shutdown. This category currently...
Update 'daemons/daemon-util' to stop 'ganeti-metad'
Note that 'ganeti-metad' is not automatically started together withall the other daemons. Instead, 'ganeti-metad' is only started when...
Include WConfd in the list of daemons started on a master
.. and make it the first one so that masterd can use it when it starts.
Signed-off-by: Petr Pudlak <pudlak@google.com>Reviewed-by: Klaus Aehlig <aehlig@google.com>
Add the WConfD daemon itself
The daemon exposes the declared functions in Ganeti.WConfd.Core to RPCclients (currently just 'echo').
View revisions
Also available in: Atom