1. 05 Jan, 2010 1 commit
    • Iustin Pop's avatar
      Introduce a Luxi call for GetTags · 7699c3af
      Iustin Pop authored
      
      
      This changes from submitting jobs to get the tags (in cli scripts) to
      queries, which (since the tags query is a cheap one) should be much
      faster.
      
      The tags queries are already done without locks (in the generic query
      paths for instances/nodes/cluster), so this shouldn't break tags query
      via gnt-* list-tags.
      
      On a small cluster, the runtime of gnt-cluster/gnt-instance list tags
      more than halves; on a big cluster (with many MCs) I expect it to be
      more than 5 times faster. The speed of the tags get is not the main
      gain, it is eliminating a job when a simple query is enough.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      7699c3af
  2. 04 Jan, 2010 2 commits
  3. 28 Dec, 2009 1 commit
  4. 16 Dec, 2009 1 commit
  5. 25 Nov, 2009 1 commit
  6. 16 Nov, 2009 1 commit
  7. 05 Nov, 2009 1 commit
  8. 02 Nov, 2009 1 commit
    • Iustin Pop's avatar
      Introduce two-argument style for OpPrereqError · 5c983ee5
      Iustin Pop authored
      
      
      This patch introduces a two-argument style for OpPrereqError. Only the
      direct raise calls in cmdlib.py are converted, other users will follow.
      
      cli.py is modified to handle both two-argument style and the current
      format. RAPI doesn't need modification as the way we encode errors is
      already using a list for the error arguments, so RAPI users only need to
      start checking the list length and the second argument.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      5c983ee5
  9. 22 Oct, 2009 1 commit
  10. 13 Oct, 2009 2 commits
  11. 12 Oct, 2009 1 commit
  12. 09 Oct, 2009 1 commit
  13. 05 Oct, 2009 2 commits
  14. 02 Oct, 2009 1 commit
  15. 25 Sep, 2009 1 commit
  16. 18 Sep, 2009 22 commits