1. 28 Jan, 2010 1 commit
    • 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
  2. 25 Jan, 2010 1 commit
    • Iustin Pop's avatar
      Add a crude disable for DRBD barriers · 89b70f39
      Iustin Pop authored
      Ideally we want to/will have per-device DRBD controls of disk/metadata
      flushes. In the meantime, we want at least a disable of the barrier
      functionality for cases where one has battery-backed caches.
      
      Background: DRBD has four mechanism of handling ordered disk-writes.
      From the drbdsetup man-page, these are: barrier, flush, drain and none.
      DRBD prior to 8.2 only has drain and none. This patch makes all 8.x
      versions of DRBD disable all methods, and revert to none, in case one
      fully trusts batteries (either UPS for the whole system or battery for
      NVRAM).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      89b70f39
  3. 14 Jan, 2010 2 commits
  4. 13 Jan, 2010 1 commit
  5. 12 Jan, 2010 1 commit
  6. 05 Jan, 2010 1 commit
  7. 04 Jan, 2010 2 commits
  8. 05 Dec, 2009 1 commit
    • Iustin Pop's avatar
      Ship rapi.rst/rapi.html in the dist archive · 77220dd2
      Iustin Pop authored
      Patch 4352bf6d changed RAPI docs to RST from the previous SGML format
      (the last file to be converted to RST).
      
      However, it didn't add rapi.rst to the docrst Makefile variable, and as
      such rapi.html was neither build nor shipped in the archive. We fix this
      and we also distribute doc/rapi-resources.gen since otherwise “make
      distcheck” has issues (since this file is built and thus lives in _built
      whereas rapi.rst is shipped and lives in topsrcdir).
      
      Note: yes, this means that no 2.0 release until now had a rapi.html file
      (in the .tar.gz archive).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      77220dd2
  9. 25 Nov, 2009 1 commit
  10. 13 Nov, 2009 2 commits
  11. 11 Nov, 2009 2 commits
  12. 06 Nov, 2009 1 commit
  13. 05 Nov, 2009 2 commits
    • Michael Hanselmann's avatar
      Add new “daemon-util” script to start/stop Ganeti daemons · f154a7a3
      Michael Hanselmann authored
      Until now, Ganeti started and stopped its own daemons using custom functions.
      To start, the daemon was just executed and then sent the appropriate signals to
      stop it again. Init scripts would have to pay attention to the PID file and
      other things.
      
      With this patch, a new script is added (“daemon-util”, installed in
      $prefix/lib/ganeti/), centralizing the starting and stopping of daemons. The
      provided example init script is adjusted to use this new script. Ganeti's code
      no longer calls its own init script.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      f154a7a3
    • Guido Trotter's avatar
      configure: check for socat and its escape feature · 87c1d0c7
      Guido Trotter authored
      Currently we use a static value for the socat path, or we trust the
      user-provided one. With this patch we still trust any user provided
      value, but if none is passed we check for socat on the machine we're
      being configured on. This allows us also to check if we can or cannot
      use the escape= feature in socat.
      
      If the user has forced the path in, he can also pass --with-socat-escape
      in order to force the escape functionality to be used, even if a check
      is not done.
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      87c1d0c7
  14. 03 Nov, 2009 3 commits
  15. 28 Oct, 2009 2 commits
  16. 27 Oct, 2009 7 commits
  17. 26 Oct, 2009 1 commit
  18. 22 Oct, 2009 2 commits
  19. 12 Oct, 2009 1 commit
  20. 05 Oct, 2009 1 commit
    • Jun Futagawa's avatar
      Add support for using the bootloader in xen-pvm · 2f2dbb4b
      Jun Futagawa authored
      This patch adds three optional parameters:
        - 'use_bootloader', whether use or not the bootloader
        - 'bootloader_path', absolute path to the bootloader
        - 'bootloader_args', extra arguments to the bootloader
      
      Syntax:
        gnt-cluster modify --hypervisor-parameters \
          xen-pvm:bootloader_path=/usr/bin/pygrub,use_bootloader=False
        gnt-instance modify -H use_bootloader=True instance1.example.com
      
      If use_bootloader is True, each domU can boot with its own kernel
      instead of using the dom0 kernel.
      Signed-off-by: default avatarJun Futagawa <jfut@integ.jp>
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: ultortter
      2f2dbb4b
  21. 29 Sep, 2009 1 commit
  22. 25 Sep, 2009 1 commit
  23. 24 Sep, 2009 1 commit
  24. 21 Sep, 2009 1 commit
  25. 18 Sep, 2009 1 commit