Skip to content
Snippets Groups Projects
  1. Jun 12, 2012
    • Iustin Pop's avatar
      Merge branch 'stable-2.6' · 3a44fd5f
      Iustin Pop authored
      
      * stable-2.6: (26 commits)
        Bump version for beta 2 release
        Fix epydoc raises L{...} usage
        Fix race condition in test for *FileID functions
        Move KVM keymap from GenerateRuntime to ExecuteRuntime
        Add the keymap directory to the list of runtime KVM dirs
        Fix make -n use
        Enable hlint in lint and reorganise this target
        Improve error message for auto-promote/node modify
        Fix QA import of existing instances
        Remove one obsolete hlint override
        Fix prefix bug in Haskell ssconf implementation
        Move the ssconf file prefix constant to constants.py
        QA: Add configuration options for static MAC address
        QA: Ignore tags using regular expression
        Fix parallel build failures
        QA: Add default setting for tests
        QA: add toggle for fewer common instance tests
        QA: stop logging SSH arguments for each invocation
        Switch QA to tty-less mode
        Fix a type issue and bad logic in cluster verification
        ...
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      3a44fd5f
    • Iustin Pop's avatar
      Bump version for beta 2 release · 1ad80d57
      Iustin Pop authored
      
      I've added the changes under beta1, not beta2, since it's easier to
      keep it separate.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      v2.6.0beta2
      1ad80d57
    • Iustin Pop's avatar
      Fix epydoc raises L{...} usage · 5c3d5dfd
      Iustin Pop authored
      
      For epydoc raise statement, it already expects an exception which will
      be hyperlinked; if passing an L{…} construct, it will instead break
      the formatting (the @raise will not be recognised, but merged into the
      previous paragraph).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      5c3d5dfd
  2. Jun 11, 2012
  3. Jun 08, 2012
  4. Jun 07, 2012
  5. Jun 06, 2012
  6. Jun 05, 2012
    • Michael Hanselmann's avatar
      QA: Add default setting for tests · 69a15dd7
      Michael Hanselmann authored
      
      Commit 1010ec70 enabled all tests by default. In some scenarios where
      the configuration is static one may not want newly added tests to be
      run.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      (cherry picked from commit 59a8fe48)
      69a15dd7
    • Iustin Pop's avatar
      QA: add toggle for fewer common instance tests · b498540e
      Iustin Pop authored
      
      Currently, the "common" instance tests (shutdown, rapi stopped
      console, stopped modify, startup, rapi shutdown, rapi startup, list,
      info, modify, rapi modify , console, rapi console, reinstall, rename,
      rapi rename, rename and back, rapi rename and back, grow disk, reboot,
      tags, cluster verify, rapi test instance, node list, job list) are run
      4 times:
      
      - one time for plain instance created via RAPI, using client
      - one time for plain instance created via RAPI, without client
      - one time for plain instance created via gnt-instance
      - one time for DRBD instance created via gnt-instance
      
      This makes the QA long, and is over-doing it (for non-full QAs): an
      instance created via RAPI (either client) and via gnt-instance should
      have the same parameters, but our duplicate tests do not ensure that,
      just that instances behave OK.
      
      This patch adds a toggle so that we can skip the common tests for
      RAPI-created instances; the creation/deletion is still performed, but
      all the other operations are not. This reduces the time of a "quick"
      QA by ~20% (1h:15m → 1h).
      
      The common tests will still be run (unconditionally) for
      gnt-instance-created instances.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      b498540e
    • Iustin Pop's avatar
      QA: stop logging SSH arguments for each invocation · 710bc88c
      Iustin Pop authored
      
      Currently, this is how the QA log looks like:
      
      Command: ssh -oEscapeChar=none -oBatchMode=yes -l root -t -oStrictHostKeyChecking=yes -oClearAllForwardings=yes -oForwardAgent=yes -oControlPath=/tmp/ganeti-qa-multiplexer.DMzkuH -oControlMaster=no node14 exit
      Command: ssh -oEscapeChar=none -oBatchMode=yes -l root -t -oStrictHostKeyChecking=yes -oClearAllForwardings=yes -oForwardAgent=yes node8 exit
      Command: ssh -oEscapeChar=none -oBatchMode=yes -l root -t -oStrictHostKeyChecking=yes -oClearAllForwardings=yes -oForwardAgent=yes node18 exit
      
      And these arguments are repeated over and over. This patch proposes to
      log once the arguments, at the beginning of the QA (so that the SSH
      commands can be reproduced, if needed) and then drop them from the
      log. The new output looks like:
      
      SSH command for primary node: ssh -oEscapeChar=none -oBatchMode=yes -lroot -oStrictHostKeyChecking=yes -oClearAllForwardings=yes -oForwardAgent=yes -oControlPath=/tmp/ganeti-qa-multiplexer.24lgrK -oControlMaster=no node14
      SSH command for other nodes: ssh -oEscapeChar=none -oBatchMode=yes -lroot -oStrictHostKeyChecking=yes -oClearAllForwardings=yes -oForwardAgent=yes NODE
      (the above are the informational messages about parameters, then)
      Command: ssh node14 exit
      Command: ssh node8 exit
      Command: ssh node18 exit
      
      This makes the QA log much more readable, by dropping unneeded clutter
      (look how long the original lines were), and hopefully also a bit
      smaller (current QA log is > 100MB of text output).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarBernardo Dal Seno <bdalseno@google.com>
      710bc88c
    • Iustin Pop's avatar
      Switch QA to tty-less mode · f14a8b15
      Iustin Pop authored
      
      This makes ssh generate much less noise when QA is run itself without
      a tty, as otherwise we get thousands of lines of:
      
        Pseudo-terminal will not be allocated because stdin is not a terminal.
      
      in the QA logs (which are already big enough).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      f14a8b15
  7. Jun 01, 2012
  8. May 31, 2012
  9. May 30, 2012
  10. May 29, 2012
  11. May 24, 2012
  12. May 23, 2012
    • Iustin Pop's avatar
      Merge branch 'stable-2.6' · 43c16a8a
      Iustin Pop authored
      
      * stable-2.6:
        Version bump for 2.6.0~beta1
        Adjust cfgupgrade for new minor version
        Add support to daemon-util for distributions without start-stop-daemon
        Improve the check-news script
        Fix NEWS file
        _MaybeParseUnit: The elements are dicts not arrays
        Make it possible to reset vcpu/spindle ratio to default
        Add man page documentation for cpu_mask hv parameter
        Add checks from wrong hard-coded paths in manpages
        Fix hardcoded paths in gnt-cluster.rst man page
        First round of NEWS file updates for 2.6
        gnt-group: Adding vcpu/spindle ratio to ipolicy flags
        gnt-cluster modify: Add ipolicy for spindle ratio opt
        cli: Add ipolicy_spindle_ratio to CreateIPolicyFromOpts
        gnt-instance info: Rework beparams listings
        Fix a tiny typo
        constants: Add FIXME regarding CPU pinning bitfield
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      43c16a8a
Loading