Skip to content
Snippets Groups Projects
  1. Apr 07, 2010
  2. Mar 18, 2010
  3. Jan 28, 2010
    • Iustin Pop's avatar
      Add capability to use syslog for logging · 551b6283
      Iustin Pop authored
      
      This patch adds a configure-time parameter that will set the defaults
      used by all programs, and command-line parameters in the daemons that
      allow overriding it.
      
      Syslog 'yes' enables syslog in addition to file-based logging, 'only'
      enables syslog and disables file-based syslog.
      
      The log entries will be of the form:
      Jan 27 08:45:04 node2 ganeti-noded[14504]: INFO 172.24.227.5:50850 PUT
      /jobqueue_update HTTP/1.0 200
      Jan 27 08:45:05 node2 ganeti-noded[14505]: INFO 172.24.227.5:50853 PUT
      /lv_list HTTP/1.0 200
      
      and (for a multi-threaded program):
      Jan 27 08:51:48 node1 ganeti-masterd[15491]: (MainThread) INFO
      ganeti-masterd daemon startup
      Jan 27 08:51:49 node1 ganeti-masterd[15491]: (MainThread) INFO
      Inspecting job queue
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      551b6283
  4. Jan 04, 2010
  5. Nov 03, 2009
  6. Oct 12, 2009
  7. Sep 24, 2009
  8. Sep 16, 2009
  9. Aug 21, 2009
  10. Aug 20, 2009
  11. Jul 26, 2009
  12. Jul 25, 2009
    • 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
  13. Mar 20, 2009
  14. Nov 11, 2008
  15. Nov 10, 2008
    • 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
  16. Oct 23, 2008
  17. Oct 17, 2008
  18. Oct 10, 2008
Loading