1. 26 Oct, 2012 16 commits
  2. 25 Oct, 2012 20 commits
  3. 24 Oct, 2012 2 commits
  4. 23 Oct, 2012 2 commits
    • Iustin Pop's avatar
      Improve devel/upload command line handling · 68e2ed87
      Iustin Pop authored
      
      
      To people not used to it, it was completely non-obvious why
      "./devel/upload" didn't do anything.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      68e2ed87
    • Iustin Pop's avatar
      Improve logging of AssertionErrors · b183c4a8
      Iustin Pop authored
      
      
      Currently, when we have an assertion error raised from cmdlib, it looks like this:
      
        [cluster] root@node4:~# gnt-instance grow-disk instance1 0 1G
        Failure: command execution error:
      
      This is very very confusing. This patch adds a bit of traceback
      formatting to improve this as follows:
      
        [cluster] root@node4:~# gnt-instance grow-disk instance1 0 1G
        Failure: command execution error:
        Internal assertion error: please report this as a bug.
        Error message: ''; location:
          File "/usr/lib/python2.6/dist-packages/ganeti/cmdlib.py", line 11954, in CheckPrereq
            assert False
      
      This is not perfect, but at least it shows better what the problem is.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      b183c4a8