Skip to content
Snippets Groups Projects
  1. Nov 21, 2011
  2. Nov 18, 2011
    • Iustin Pop's avatar
      htools: adjust imports for newer compilers · 7345b69b
      Iustin Pop authored
      
      While testing with ghc 7.2, I saw that some imports we are using are
      very old (from ghc 6.8 time), even though current libraries are using
      different names.
      
      We fix this and bump minimum documented version to ghc 6.12, as I
      don't have 6.10 to test anymore (possibly still works with that
      version, but better safe - both Ubuntu Lucid and Debian Squeeze ship
      with 6.12 nowadays).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      7345b69b
    • Andrea Spadaccini's avatar
      Merge branch 'devel-2.5' · 0e82dcf9
      Andrea Spadaccini authored
      
      * devel-2.5: (24 commits)
        LUInstanceCreate: Release unused node locks
        htools: rework message display construction
        hbal: handle empty node groups
        Document OpNodeMigrate's result for RAPI
        Ensure unused ports return to the free port pool
        Re-wrap a paragraph to eliminate a sphinx warning
        Fix newer pylint's E0611 error in compat.py
        Fail if node/group evacuation can't evacuate instances
        Update init script description
        LUInstanceRename: Compare name with name
        LUClusterRepairDiskSizes: Acquire instance locks in exclusive mode
        Update synopsis for “gnt-cluster repair-disk-sizes”
        Move hooks PATH environment variable to constants
        Check the results of master IP RPCs
        Add documentation for the master IP hooks
        Add master IP turnup and turndown hooks
        Add RunLocalHooks decorator
        Generalize HooksMaster
        Update NEWS for 2.5.0~rc4
        Bump version to 2.5.0~rc4
        ...
      
      Conflicts:
      	NEWS
      	doc/hooks.rst
      	lib/backend.py
      	lib/cmdlib.py
      	lib/constants.py
      
      Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      0e82dcf9
    • Michael Hanselmann's avatar
      Merge branch 'stable-2.5' into devel-2.5 · 0c1441eb
      Michael Hanselmann authored
      
      * stable-2.5:
        htools: rework message display construction
        hbal: handle empty node groups
        Document OpNodeMigrate's result for RAPI
        Fail if node/group evacuation can't evacuate instances
        LUInstanceRename: Compare name with name
        LUClusterRepairDiskSizes: Acquire instance locks in exclusive mode
        Update NEWS for 2.5.0~rc4
        Bump version to 2.5.0~rc4
        jqueue: Allow zero jobs to be submitted at once
        hail: don't select the primary as new secondary
        hail: add an extra safety check in relocate
        Bump version to 2.5.0~rc3
      
      Conflicts:
      	configure.ac: Trivial
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      0c1441eb
    • Michael Hanselmann's avatar
      Merge branch 'devel-2.4' into devel-2.5 · 05c2e624
      Michael Hanselmann authored
      
      * devel-2.4:
        Ensure unused ports return to the free port pool
        Re-wrap a paragraph to eliminate a sphinx warning
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      05c2e624
  3. Nov 17, 2011
  4. Nov 16, 2011
    • Iustin Pop's avatar
      htools: rework message display construction · bdd8c739
      Iustin Pop authored
      
      While diagnosing some (unrelated) memory usage in htools, I've
      stumbled upon some very bad behaviour in checkData: mapAccum is
      non-strict, and the tuple we use also, so that results in the list of
      list of messages being very bad space-wise (hundreds of MB of memory
      for a simulated cluster with thousands of nodes, all with errors).
      
      The new, explicit reuse of the old message list has a linear memory
      behaviour. The only downside is that messages are listed in the
      reverse order (which I'll fix on master).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      bdd8c739
Loading