1. 20 Aug, 2009 4 commits
  2. 26 Jul, 2009 1 commit
  3. 25 Jul, 2009 1 commit
    • Guido Trotter's avatar
      Collapse daemon's main function · 04ccf5e9
      Guido Trotter authored
      With three ganeti daemons, and one or two more coming, the daemon's main
      function started becoming too much cut&pasted code. Collapsing most of
      it in a daemon.GenericMain function. Some more code could be collapsed
      between the two http-based daemons, but since the new daemons won't be
      http-based we won't do it right now.
      As a bonus a functionality for overriding the network port on the
      command line for all network based nodes is added.
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
  4. 20 Mar, 2009 1 commit
  5. 11 Nov, 2008 1 commit
  6. 10 Nov, 2008 1 commit
    • Michael Hanselmann's avatar
      ganeti.daemon: Make Mainloop more flexible · b14b975f
      Michael Hanselmann authored
      While working on the HTTP client class, I wanted to use Mainloop
      before deciding to use threads instead.
      - Add docstrings
      - Rename "quit" to "running", move it to a local variable
      - Support adding and removing I/O listeners while running
        (e.g. to add/remove listeners from OnIO(…) calls)
      - Allow user of the class to disable signal handlers
      - Flag to exit once all listeners are gone
      Reviewed-by: iustinp
  7. 23 Oct, 2008 1 commit
  8. 17 Oct, 2008 2 commits
    • Guido Trotter's avatar
      Mainloop: handle sigterm · a570e2a8
      Guido Trotter authored
      This fixes removals of the pid files and clean exit in the init script
      Reviewed-by: iustinp
    • Guido Trotter's avatar
      Mainloop: init sigchld_handler as None · 07fc5289
      Guido Trotter authored
      There is no point in initializing sigchld_handler as an empty dict, when
      it will be overwritten by an instance of utils.SignalHandler
      immediately after.
      Reviewed-by: iustinp
  9. 10 Oct, 2008 1 commit