1. 06 Jan, 2011 1 commit
  2. 01 Nov, 2010 1 commit
  3. 28 Oct, 2010 2 commits
  4. 27 Oct, 2010 1 commit
  5. 26 Oct, 2010 2 commits
  6. 21 Oct, 2010 1 commit
  7. 20 Oct, 2010 1 commit
  8. 05 Oct, 2010 1 commit
  9. 30 Sep, 2010 1 commit
  10. 20 Sep, 2010 1 commit
    • Michael Hanselmann's avatar
      jqueue: Change model from per-job to per-opcode processing · be760ba8
      Michael Hanselmann authored
      
      
      In order to support priorities, the processing of jobs needs to be
      changed. Instead of processing jobs as a whole, the code is changed to
      process one opcode at a time and then return to the queue. See the
      Ganeti 2.3 design document for details.
      
      This patch does not yet use priorities for acquiring locks.
      
      The enclosed unittests increase the test coverage of jqueue.py from
      about 34% to 58%. Please note that they also test some parts not added
      by this patch, but testing them became only possible with some
      infrastructure added by this patch. For the first time, many
      implications and assumptions for the job queue are codified in these
      unittests.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      be760ba8
  11. 16 Sep, 2010 1 commit
  12. 14 Sep, 2010 1 commit
  13. 13 Sep, 2010 1 commit
  14. 02 Sep, 2010 1 commit
  15. 17 Aug, 2010 1 commit
  16. 28 Jul, 2010 1 commit
  17. 26 Jul, 2010 1 commit
  18. 23 Jul, 2010 1 commit
  19. 15 Jul, 2010 1 commit
  20. 08 Jul, 2010 1 commit
  21. 06 Jul, 2010 1 commit
  22. 01 Jul, 2010 1 commit
  23. 23 Jun, 2010 5 commits
  24. 18 May, 2010 3 commits
  25. 16 Apr, 2010 2 commits
  26. 12 Apr, 2010 1 commit
    • Iustin Pop's avatar
      Add a identify-defaults options for import · e588764d
      Iustin Pop authored
      
      
      When importing an instance, all the saved valued will be used as
      explicitly specified values, overriding the cluster defaults. This means
      export+import will change the status (from default to explicitly
      specified) of parameters.
      
      This patch adds a new option that changes the behaviour to identify
      parameter values which are equal to the current cluster defaults and
      mark them as such. It does this for hv, be and nic parameters.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      e588764d
  27. 08 Apr, 2010 1 commit
  28. 17 Mar, 2010 2 commits
  29. 15 Mar, 2010 1 commit
    • Iustin Pop's avatar
      Implement conversion from plain to drbd · e29e9550
      Iustin Pop authored
      
      
      This patch adds a new mode to instance modify, the changing of the disk
      template. For now only plain to drbd conversion is supported, and the
      new secondary node must be specified manually (no iallocator support).
      
      The procedure for conversion works as follows:
      
      - a completely new disk template is created, matching the count, size
        and mode of the instance's current disks
      - we create manually (not via _CreateDisks) all the missing volumes
      - we rename on the primary the LVs to the new name
      - we create manually the DRBD devices
      
      Failures during the creation of volumes will leave orphan volumes.
      Failure during the rename might leave some disks renamed and some not,
      leading to an inconsistent instance.
      
      Once the disks are renamed, we update the instance information and wait
      for resync. Any failures of the DRBD sync must be manually handled (like
      a normal failure, e.g. by running replace-disks, etc.).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      e29e9550
  30. 10 Mar, 2010 1 commit