Script ganeti_confd
[hide private]
[frames] | no frames]

Script ganeti_confd

Ganeti configuration daemon

Ganeti-confd is a daemon to query master candidates for configuration values. It uses UDP+HMAC for authentication with a global cluster key.

Classes [hide private]
  ConfdAsyncUDPServer
The confd udp server, suitable for use with asyncore.
  ConfdConfigurationReloader
Logic to control when to reload the ganeti configuration
Functions [hide private]
 
CheckConfd(_, args)
Initial checks whether to run exit with a failure.
 
ExecConfd(options, _)
Main confd function, executed with PID file held
 
main()
Main function for the confd daemon.

Imports: os, sys, logging, time, pyinotify, OptionParser, asyncnotifier, confd, confd_server, constants, errors, daemon, netutils