Skip to content
Snippets Groups Projects
  1. Jan 31, 2012
  2. Nov 15, 2011
  3. Oct 19, 2011
  4. Aug 30, 2011
  5. Aug 25, 2011
  6. Aug 12, 2011
  7. Aug 11, 2011
  8. Aug 05, 2011
  9. Aug 04, 2011
  10. Aug 03, 2011
  11. Jul 26, 2011
  12. Jul 22, 2011
  13. Jul 21, 2011
  14. Jul 20, 2011
    • Michael Hanselmann's avatar
      Implement chained jobs · b95479a5
      Michael Hanselmann authored
      
      An overview is available in the design document for this change,
      doc/design-chained-jobs.rst.
      
      When a job enters the job processor, the current opcode's dependencies
      are evaluated. If a referenced job has not yet reached the desired
      status, the current job is registered as a dependant. The job processor
      will continue to work on other pending tasks. When a job finishes it
      notifies any pending dependants by re-adding them to the workerpool.
      
      A per-job processor lock is necessary for rare cases where the same job
      can be re-added twice.
      
      There is no way to view waiting jobs at the moment, but I plan to
      export this information to “gnt-debug locks”.
      
      A so-called dependency manager takes care of managing waiting jobs and
      keeping track of their status.
      
      Unittests are included.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      b95479a5
  15. Jul 14, 2011
  16. Jul 11, 2011
  17. Jul 08, 2011
  18. Jul 05, 2011
  19. Jun 15, 2011
  20. Jun 01, 2011
  21. May 31, 2011
  22. May 25, 2011
    • Michael Hanselmann's avatar
      Fix bug in LUNodeMigrate · f8fa4175
      Michael Hanselmann authored
      
      Commit aac4511a added CheckArguments to LUNodeMigrate with a call to
      _CheckIAllocatorOrNode. When no default iallocator is defined,
      evacuating a node would always fail:
      
      $ gnt-node migrate node123
      Migrate instance(s) '...'?
      y/[n]/?: y
      Failure: prerequisites not met for this operation:
      No iallocator or node given and no cluster-wide default iallocator
      found; please specify either an iallocator or a node, or set a
      cluster-wide default iallocator
      
      This patch adds a new parameter to specify a target node. This doesn't
      solve all issues, but will make the most important cases work again in
      the meantime. This opcode will receive more work for node group support.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      f8fa4175
  23. May 20, 2011
  24. May 16, 2011
  25. May 12, 2011
  26. May 09, 2011
Loading