1. 22 Jan, 2010 5 commits
  2. 21 Jan, 2010 1 commit
  3. 20 Jan, 2010 2 commits
  4. 19 Jan, 2010 1 commit
    • Michael Hanselmann's avatar
      daemon-util: Fix quoting issue · 03956d39
      Michael Hanselmann authored
      
      
      This patch fixes a quoting issue in daemon-util:
      
      $ EXTRA_MASTERD_ARGS=--no-voting /etc/init.d/ganeti restart
      […]
      * ganeti-masterd...
      /…/ganeti/daemon-util: line 65: local: `--no-voting': not a valid identifier
      
      The reason was that the generated variables were not quoted properly and
      the troublesome line expanded to
      “local args=$MASTERD_ARGS $EXTRA_MASTERD_ARGS” instead of the correct
      “local args="$MASTERD_ARGS $EXTRA_MASTERD_ARGS"”.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      03956d39
  5. 15 Jan, 2010 4 commits
    • Michael Hanselmann's avatar
      0175fd8c
    • Iustin Pop's avatar
      Merge branch 'stable-2.1' into devel-2.1 · f9d0783b
      Iustin Pop authored
      * stable-2.1: (22 commits)
        Fix long-standing race condition bug in locking unittest
        confd client: copy the peers in UpdatePeerList
        testutils: Print name of test program before running it
        Don't use hardcoded name for pylint
        Partially revert "Makefile.am: Run pylint on all Python code"
        build-bash-completion: Take care of pylint warnings
        Makefile.am: Run pylint on all Python code
        Small improvements for release script
        check-python-code: Use “set -e” to abort on errors
        build-bash-completion: Fix a few pylint warnings
        Generate hmac file with a newline at the end
        jqueue: Don't return negative number for unchecked jobs when archiving
        cli.GenerateTable: Don't write EOL spaces
        Improve logging for workerpool tasks by providing __repr__
        workerpool: Simplify log messages
        workerpool: Use worker name as thread name
        workerpool: Make worker ID alphanumeric
        locking: Fix race condition in LockSet
        mcpu: Log lock status with sorted names
        locking: Append to list outside error handling block
        ...
      f9d0783b
    • Iustin Pop's avatar
      Switch the SplitKeyVal function to accept escapes · 1b3a7656
      Iustin Pop authored
      
      
      This tiny patch switches the SplitKeyVal function (and thus the command
      line options like -H, -B, etc.) to UnescapeAndSplit, thus allowing one
      to use escaped commas in the values of parameters.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      1b3a7656
    • Michael Hanselmann's avatar
      Fix long-standing race condition bug in locking unittest · 51e3bb92
      Michael Hanselmann authored
      
      
      Every once in a while we saw failures in the locking unittest, but
      weren't able to determine the cause. This patch fixes it by using
      threading.Event instead of plain threading.Condition to notify another
      thread. In most cases, threading.Condition must be used with another
      variable to keep the actual state.  threading.Event does this for us.
      Otherwise it can happen that the waiter only gets the lock after
      condition was notified.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      51e3bb92
  6. 14 Jan, 2010 6 commits
  7. 13 Jan, 2010 15 commits
  8. 12 Jan, 2010 2 commits
  9. 11 Jan, 2010 1 commit
  10. 05 Jan, 2010 3 commits