1. 10 Aug, 2010 6 commits
  2. 09 Aug, 2010 1 commit
  3. 05 Aug, 2010 1 commit
  4. 30 Jul, 2010 9 commits
  5. 29 Jul, 2010 19 commits
  6. 28 Jul, 2010 4 commits
    • Iustin Pop's avatar
      Rename masterfailover to master-failover · c28502b1
      Iustin Pop authored
      
      
      Most (all?) of our commands use dash-separator: replace-disks,
      verify-disks, add-tags, etc. “gnt-cluster masterfailover” is an old
      exception to this rule.
      
      The patch replaces it with master-failover, add a compatiblity alias,
      and updates the documentation for this change.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      c28502b1
    • Iustin Pop's avatar
      RAPI: Add os params to instance creation v1 · 130f0966
      Iustin Pop authored
      
      
      Since the RAPI QA suite doesn't seem to offer easy testing of failed
      creations, I didn't add this to the QA. Pointers on how to do it are
      welcome.
      
      The patch also changes the 'os' argument to be required, since that is
      how the LU expects it, and without it we just fail later instead of
      directly at submission time.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      130f0966
    • Iustin Pop's avatar
      makefile: fix TAGS building · 74fa8200
      Iustin Pop authored
      
      
      “find .” requires that “-path” arguments start with a dot, otherwise
      they are not matches. Additionally, we also include the QA files in the
      tags, for easier search while modifying the QA suite.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      74fa8200
    • Iustin Pop's avatar
      Improve handling of lost jobs · 91c622a8
      Iustin Pop authored
      
      
      Currently, if the cli.JobExecutor class is being used, and one of the
      jobs is being archived before it can check its result, it will raise a
      stracktrace as _ChooseJob is not prepared to handle this case.
      
      This case makes JobExecutor work better with lost jobs (it still reports
      them as 'failed', but it doesn't break and returns a proper error
      message), and modifies the generic FormatError to report the JobLost
      exception properly, instead of as "Unhandled Ganeti Exception".
      
      Since JobExecutor is hard to test properly, I only tested this manually,
      via a fake invocation.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      91c622a8