Skip to content
Snippets Groups Projects
  1. Feb 10, 2010
  2. Feb 09, 2010
    • Iustin Pop's avatar
      Add an early release lock/storage for disk replace · 7ea7bcf6
      Iustin Pop authored
      
      This patch adds an early_release parameter in the OpReplaceDisks and
      OpEvacuateNode opcodes, allowing earlier release of storage and more
      importantly of internal Ganeti locks.
      
      The behaviour of the early release is that any locks and storage on all
      secondary nodes are released early. This is valid for change secondary
      (where we remove the storage on the old secondary, and release the locks
      on the old and new secondary) and replace on secondary (where we remove
      the old storage and release the lock on the secondary node.
      
      Using this, on a three node setup:
      
      - instance1 on nodes A:B
      - instance2 on nodes C:B
      
      It is possible to run in parallel a replace-disks -s (on secondary) for
      instances 1 and 2.
      
      Replace on primary will remove the storage, but not the locks, as we use
      the primary node later in the LU to check consistency.
      
      It is debatable whether to also remove the locks on the primary node,
      and thus making replace-disks keep zero locks during the sync. While
      this would allow greatly enhanced parallelism, let's first see how
      removal of secondary locks works.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      7ea7bcf6
  3. Feb 08, 2010
  4. Feb 03, 2010
  5. Feb 01, 2010
  6. Jan 29, 2010
  7. Jan 28, 2010
  8. Jan 27, 2010
  9. Jan 26, 2010
  10. Jan 25, 2010
  11. Jan 22, 2010
  12. Jan 21, 2010
  13. Jan 20, 2010
  14. Jan 19, 2010
    • Michael Hanselmann's avatar
      daemon-util: Fix quoting issue · 03956d39
      Michael Hanselmann authored
      
      This patch fixes a quoting issue in daemon-util:
      
      $ EXTRA_MASTERD_ARGS=--no-voting /etc/init.d/ganeti restart
      […]
      * ganeti-masterd...
      /…/ganeti/daemon-util: line 65: local: `--no-voting': not a valid identifier
      
      The reason was that the generated variables were not quoted properly and
      the troublesome line expanded to
      “local args=$MASTERD_ARGS $EXTRA_MASTERD_ARGS” instead of the correct
      “local args="$MASTERD_ARGS $EXTRA_MASTERD_ARGS"”.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      03956d39
Loading