Skip to content
Snippets Groups Projects
  1. Apr 13, 2012
    • Michael Hanselmann's avatar
      gnt-job list: Add options for commonly used filters · f037e9d7
      Michael Hanselmann authored
      
      While “gnt-job list” would also accept filters on the command line (e.g.
      “'status == "error"'”, having shortcuts in the form of options comes in
      handy.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      f037e9d7
    • Michael Hanselmann's avatar
      Merge branch 'devel-2.5' · 5ad68a23
      Michael Hanselmann authored
      
      * devel-2.5: (29 commits)
        gnt-* {add,list,remove}-tags: Unify options
        Bump version for 2.5.0 final release
        configure.ac: Fix “too many arguments” error
        Fix extra whitespace
        Further fixes concerning drbd port release
        Fix a bug concerning TCP port release
        Fix extra whitespace
        Fix a bug concerning TCP port release
        ganeti.initd: Add “status” action
        Add whitelist for opcodes using BGL
        LUOobCommand: acquire BGL in shared mode
        Fix docstring bug
        LUNodeAdd: Verify version in Prereq
        LUNodeAdd: Verify version in Prereq
        Fix LV status parsing to accept newer LVM
        gnt-instance info: Show node group information
        cmdlib: Factorize checking acquired node group locks
        Bump version for 2.5.0~rc6 release
        cmdlib: Stop forking in LUClusterQuery
        locking: Notify only once on release
        ...
      
      Conflicts:
      	NEWS: Trivial
      	daemons/daemon-util.in: Copyright line
      	lib/client/gnt_group.py: Tag operations
      	lib/cmdlib.py: Not so trivial, hopefully correct
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      5ad68a23
  2. Apr 12, 2012
  3. Apr 11, 2012
  4. Mar 30, 2012
  5. Mar 29, 2012
    • Dimitris Aragiorgis's avatar
      Fix a bug concerning TCP port release · 3b3b1bca
      Dimitris Aragiorgis authored
      
      Commit f396ad8c returns the TCP port used by DRBD disk back to the
      TCP/UDP port pool using AddTcpUdpPort().
      
      However, AddTcpUdpPort() writes the config on every invocation,
      using _WriteConfig(). This causes two problems:
      
       * it causes critical errors logged by VerifyConfig(), after the DRBD
         disk removal, and until the actual instance removal.
       * if the code following AddTcpUdpPort() fails, the port is already
         returned back the pool, which causes the port to have duplicates
         (inconsistent config).
      
      AddTcpUdpPort() is invoked in three cases:
      
       * during InstanceRemove() through _RemoveDisks().
       * during InstanceSetParams() in case of disk removal.
       * during InstanceSetParams() through _ConvertDrbdToPlain().
      
      This commit fixes the problem by removing the _WriteConfig() call from
      AddTcpUdpPort(), delegate it to Update() via the
      TemporaryReservationManager and ensure AddTcpUdpPort() precedes
      Update().
      
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      [iustin@google.com: small comments adjustements]
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      3b3b1bca
  6. Mar 28, 2012
  7. Mar 27, 2012
  8. Mar 26, 2012
Loading