Skip to content
Snippets Groups Projects
  1. Jul 14, 2011
  2. Jul 13, 2011
  3. Jul 12, 2011
  4. Jul 11, 2011
    • Michael Hanselmann's avatar
      Merge branch 'devel-2.4' · b795a775
      Michael Hanselmann authored
      
      * devel-2.4:
        ht: Add new check for numbers
        Fix off-by-one bug in job serial generation
        Shorten some unbreakable lines in man pages
        Correct some spelling mistakes
        Fix bug in recreate-disks for DRBD instances
        Fix a lint warning
        KVM: configure bridged NICs at migration start
        Fix RAPI documentation regarding master role
        Fix bug in drbd8 replace disks on current nodes
      
      Conflicts:
      	lib/cmdlib.py: Trivial
      	lib/opcodes.py: Trivial
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      b795a775
    • Michael Hanselmann's avatar
      ht: Add new check for numbers · 697f49d5
      Michael Hanselmann authored
      
      Places which receive floats can usually also deal with integers, e.g.
      OpTestDelay. Tests are added and the new check function is used for the
      aforementioned opcode and verifying query results.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      697f49d5
    • Michael Hanselmann's avatar
      Fix off-by-one bug in job serial generation · 3c88bf36
      Michael Hanselmann authored
      
      Commit 009e73d0 (September 2009) changed the job queue to generate
      multiple job serials at once. Ever since it would return one more than
      requested.
      
      The “serial” file in the job queue directory is defined to contain the
      “last job ID used” (design-2.0). With the change above, the serial file
      would always contain the next serial number. The first value returned by
      the generating function was the one contained in the file, so during the
      switch in 2009 one job may have been overwritten.
      
      This patch changes the code to always return the exact number of
      serials, to keep the last used serial on disk and adds an assertion.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      3c88bf36
Loading