1. 20 May, 2011 8 commits
  2. 19 May, 2011 2 commits
  3. 17 May, 2011 1 commit
  4. 16 May, 2011 3 commits
  5. 13 May, 2011 2 commits
  6. 12 May, 2011 1 commit
  7. 11 May, 2011 2 commits
  8. 10 May, 2011 9 commits
  9. 09 May, 2011 2 commits
    • Iustin Pop's avatar
      Add --no-wait-for-sync when converting to drbd · 456798ab
      Iustin Pop authored
      Currently, when converting an instance from plain to DRBD, the
      instance is blocked during the entire resync period. This patch adds
      the --no-wait-for-sync so that the operation finishes as soon as the
      DRBD sync has started, without waiting for the entire sync. This makes
      the instance available much faster.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
    • Iustin Pop's avatar
      Recreate instance disks: allow changing nodes · c8a96ae7
      Iustin Pop authored
      This patch introduces the option of changing an instance's nodes when
      doing the disk recreation. The rationale is that currently if an
      instance lives on a node that has gone down and is marked offline,
      it's not possible to re-create the disks and reinstall the instance on
      a different node without hacking the config file.
      Additionally, the LU now locks the instance's nodes (which was not
      done before), as we most likely allocate new resources on them.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
  10. 06 May, 2011 3 commits
  11. 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>
    • 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>
    • Apollon Oikonomopoulos's avatar
      TLMigrateInstance: Fix live migration breakage · 54bd7d76
      Apollon Oikonomopoulos authored
      Commit 77fcff4a
       unintentionally incorporated code from
      TLMigrateInstance.CheckPrereq into TLMigrateInstance._RunAllocator, presumably
      during a rebase from earlier versions of the patch to the 2.5 codebase. As a
      result all migrations running without an iallocator were performed non-live :-(
      This patch moves the affected code back to CheckPrereq.
      Signed-off-by: default avatarApollon Oikonomopoulos <apollon@noc.grnet.gr>
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
  12. 04 May, 2011 1 commit
  13. 03 May, 2011 2 commits
  14. 02 May, 2011 1 commit