1. 04 Jan, 2010 1 commit
  2. 03 Nov, 2009 1 commit
  3. 12 Oct, 2009 1 commit
  4. 24 Sep, 2009 1 commit
  5. 16 Sep, 2009 2 commits
  6. 21 Aug, 2009 1 commit
  7. 20 Aug, 2009 5 commits
  8. 26 Jul, 2009 1 commit
  9. 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>
      04ccf5e9
  10. 20 Mar, 2009 1 commit
  11. 11 Nov, 2008 1 commit
  12. 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
      b14b975f
  13. 23 Oct, 2008 1 commit
  14. 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
      a570e2a8
    • 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
      07fc5289
  15. 10 Oct, 2008 1 commit