1. 16 May, 2011 1 commit
  2. 13 May, 2011 3 commits
  3. 12 May, 2011 4 commits
  4. 11 May, 2011 2 commits
    • Guido Trotter's avatar
      Remove references to acquired_locks · d9f99d88
      Guido Trotter authored
      
      
      These sneaked in from 2.4 during the merge, but this attribute is
      actually gone in the master branch.
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      d9f99d88
    • Guido Trotter's avatar
      Merge branch 'devel-2.4' · 93384b8c
      Guido Trotter authored
      
      
      * devel-2.4:
        Use floppy disk and a second CDROM on KVM
        Document the selection of instance kernels
        Make root_path an optional hypervisor parameter
        Some man page updates
        Add 2 new variables to the OS scripts environment
        Add --no-wait-for-sync when converting to drbd
        Recreate instance disks: allow changing nodes
        Rename instance: only show new name when different
        Fix race condition in LUGroupAssignNodes
        Re-wrap and fix formatting issues in gnt-instance.rst
        Documentation for the new parameters for KVM
        cmdlib: Fix typo, s/nick/NIC/
        A small optimisation in cluster verify
        A few docstring fixes
        luxi: do not handle KeyboardInterrupt
        Handle EPIPE errors while writing to the terminal
        Cluster verify: check for missing bridges
      
      Conflicts:
      	lib/cmdlib.py
                - manually merge the 2.4 fix
      	lib/opcodes.py
                - add new field from 2.4, but also describe it
      	man/gnt-cluster.rst
      	man/gnt-instance.rst
      	man/gnt-node.rst
                - merge new attributes with general 2.4 manpage fixes
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      93384b8c
  5. 10 May, 2011 16 commits
  6. 09 May, 2011 8 commits
  7. 06 May, 2011 3 commits
  8. 05 May, 2011 3 commits
    • Apollon Oikonomopoulos's avatar
      Fix DTS_EXT_MIRROR migration · 1c6e5787
      Apollon Oikonomopoulos authored
      Commit faaabe3c
      
       fixed failover behaviour for DTS_INT_MIRROR instances, however
      it broke migration for DTS_EXT_MIRROR instances, by moving iallocator and node
      checks from LUInstanceMigrate to TLMigrateInstance. This has the side-effect
      that the LU called the TL with None for both, node and iallocator when the
      default iallocator was being used.
      
      This patch maintains the iallocator checks in TLMigrateInstance and fixes the
      LU-TL integration.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      [iustin@google.com: rebased patch on current HEAD]
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      1c6e5787
    • Michael Hanselmann's avatar
      Use node group locking for replacing disks · 8b0273a5
      Michael Hanselmann authored
      
      
      This is one of the first opcodes to make use of node group locking. To
      get an instance's node groups, the instance's nodes need to be looked
      at. Due to a previous design decision nodes are locked after the group,
      hence there's no clean locking order. This patch works around that by
      first getting the instance's groups without locks, and then verifying
      them after actually getting all locks. Rough overview:
      
      - Lock instance
      - Get groups of instance's nodes
      - Lock groups
      - Lock all nodes in groups
      - Verify node groups
      - Run iallocator
      - Release group and unused nodes
      - Replace disks, etc.
      
      There are probably too many assertions in the code, but it's locking and
      we've been bitten in the past.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      8b0273a5
    • Michael Hanselmann's avatar
      config: Add function to determine instance's groups · 2674690b
      Michael Hanselmann authored
      
      
      This will be used for locking only the necessary node group(s)
      for per-instance operations.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      2674690b