1. 11 Oct, 2007 4 commits
  2. 10 Oct, 2007 10 commits
    • Alexander Schreiber's avatar
      Remove fping as a dependency for Ganeti. · 16abfbc2
      Alexander Schreiber authored
      This patch completely  gets rid of fping
       - replace all fping invocations with TcpPing calls
       - update documentation accordingly.
       - associated cleanups (use constant for localhost IP, use more sensible
         defaults for TcpPing and _use_ those)
      Reviewed-by: iustinp
    • Michael Hanselmann's avatar
      Colours and warnings. · 23269c5b
      Michael Hanselmann authored
      - Implement colours in qa_utils.
      - Print warning for cron script.
      Reviewed-by: iustinp
    • Iustin Pop's avatar
      Some small fixes to utils.GenerateTable · 01ca31ae
      Iustin Pop authored
      This adds:
        - fix the case when a dumb caller didn't stringify its values
        - explicitly raise a ProgrammerError in case a field is missing from
          the headers dictionary
      Reviewed-by: imsnah
    • Iustin Pop's avatar
      Fix AskUser to not die on extra input · 3023170f
      Iustin Pop authored
      Currently, AskUser dies with -ESPIPE if the user gives more than one
      character plus newline. This is because the python library, while
      returning only two chars from the readline(2) call, will cache the rest
      of the input, and when we do a write, it will try to seek back to just
      after the last returned char. This fails on /dev/tty, so an exception is
      raised. However, then opening the file descriptor in O_APPEND mode,
      python will not issue such seeks, thereby fixing this problem.
      The other alternative, opening in unbuffered mode, is not as good, since
      then python will issue one-byte reads at a time, but the tty will read
      the entire line, so at the next readline call, whatever remained in the
      descriptor buffer is returned from the kernel to python, and the user
      doesn't get a chance to enter something at all.
      Reviewed-by: imsnah
    • Michael Hanselmann's avatar
      Exit ganeti-watcher cleanly when there's no configuration. · 781b2b2b
      Michael Hanselmann authored
      Reviewed-by: iustinp
    • Iustin Pop's avatar
      Implement gnt-node evacuate · a5bc662a
      Iustin Pop authored
      This patch adds a new 'evacuate' subcommand to gnt-node. The command
      will do a replace disks for all instances having that node as secondary
      with the new target being the new node given.
      The syntax is:
        gnt-node evacuate src_node target_node
      The command by itself doesn't do any resource checks, and instead relies
      on the LUFailoverInstance code to do that.
      Reviewed-by: imsnah
    • Michael Hanselmann's avatar
      Make Xen DomU kernel and initrd configurable at build time. · f00b46bc
      Michael Hanselmann authored
      Reviewed-by: iustinp
    • Michael Hanselmann's avatar
      Add preliminary developer notes. · 832aef24
      Michael Hanselmann authored
      Reviewed-by: iustinp
    • Iustin Pop's avatar
      Remove the shebang from modules · 2f31098c
      Iustin Pop authored
      Since modules are not directly executables, remove the shebang from
      them. This helps with lintian warnings.
      Also make the autogenerated _autoconf.py contain two comment lines at
      the beginning, like the other modules.
      Reviewed-by: ultrotter
    • Michael Hanselmann's avatar
      Detect node restarts and reactivate disks. · 5a3103e9
      Michael Hanselmann authored
      - Change format of watcher state file to JSON.
      - Move log path for watcher script to constants.py.
      Reviewed-by: iustinp
  3. 09 Oct, 2007 7 commits
  4. 08 Oct, 2007 14 commits
  5. 04 Oct, 2007 5 commits