Skip to content
Snippets Groups Projects
  1. Dec 06, 2012
  2. Dec 05, 2012
  3. Dec 04, 2012
  4. Dec 03, 2012
  5. Nov 21, 2012
  6. Nov 20, 2012
  7. Nov 16, 2012
  8. Nov 15, 2012
  9. Nov 14, 2012
  10. Nov 13, 2012
  11. Nov 01, 2012
  12. Oct 29, 2012
  13. Oct 26, 2012
  14. Oct 18, 2012
    • Iustin Pop's avatar
      Convert man page highlighting to standard RST · 29fbe62e
      Iustin Pop authored
      
      Instead of using the sphinx-specific highlight extension, which is not
      parsed by Pandoc, let's switch to the standard RST directive, which
      will be picked up and will result in slightly nicer man pages when
      converted to HTML (in man output it remains the same).
      
      Note that I've converted only some of the examples (the one that
      actually had shell scripts); the ones that show command lines
      (e.g. starting with '#') I didn't convert, as they don't look nice
      (and Pandoc/Kate highlighting doesn't have the equivalent of our
      shell-example lexer we use in sphinx).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
      29fbe62e
  15. Oct 17, 2012
  16. Oct 11, 2012
  17. Oct 08, 2012
    • Iustin Pop's avatar
      Merge ganeti-master-cleaner back into ganeti-cleaner · 46118ed2
      Iustin Pop authored
      
      As I wrote during/after the review on commit 2958c56e, “ganeti-cleaner:
      Separate queue cleaning code”, while I appreciated the permission
      separation, I didn't like too much the file-based approach:
      
      - it is a very simple script, and lots of the code is duplicated
        between the two; I wouldn't like to see "ganeti-vmcapable-cleaner",
        "ganeti-master-candidate-cleaner", etc. in the future
      - ganeti-master-cleaner "pollutes" the namespace, creating
        tab-completion conflicts with ganeti-masterd
      
      This patch simply merges the master-cleaner back into cleaner, while
      keeping the separate user permissions scheme, separate log files, etc.
      
      Additionally, it fixes two bugs in the unit-test (not run with set -u
      and wrong path in the master-cleaner log files test; yay for even
      worse safety than Python?).
      
      And finally, since we have now support for --help-completion, it adds
      bash completion support for this script :) (needs to be applied on top
      of my argument support patch series).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      46118ed2
    • Iustin Pop's avatar
      Improve the confd man page · 416eba57
      Iustin Pop authored
      
      This was a very very thin man page; this patch expands it a bit, but
      it could use more help still.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      416eba57
  18. Oct 05, 2012
  19. Sep 28, 2012
  20. Sep 27, 2012
  21. Sep 14, 2012
  22. Sep 11, 2012
  23. Jul 25, 2012
  24. Jul 24, 2012
    • Iustin Pop's avatar
      KVM: only pass boot flag once · 2b846304
      Iustin Pop authored
      
      This addresses issue 230: passing two methods of booting to KVM can,
      depending on the KVM version, confuse it.
      
      Note that commit 4304964a introduced a partial fix for this (but only
      for disks, and keyed on KVM versions). However, it didn't fix cdrom
      booting, which still fails with the same error, so let's fix it more
      generically; we still leave the per-disk check since that is about
      -boot c versus -drive …,boot=on rather than two boot methods.
      
      Patch is based on the one submitted by Vladimir Mencl, many thanks!
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      2b846304
  25. Jul 20, 2012
  26. Jul 19, 2012
    • Iustin Pop's avatar
      Add a new gnt-node command list-drbd · 7acbda7b
      Iustin Pop authored
      
      This uses confd to query the DRBD minors, which is very special; no
      other command currently does so.
      
      Since the backend is only implemented in the Haskell version of confd,
      we have checks that 1) confd is enable, and 2) hs confd is also
      enabled. If by mistake people do manage to query Python confd, the
      error message will be clean:
      
        Query gave non-ok status '2': not implemented
      
      So nothing breaks in an "ugly" way.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarAgata Murawska <agatamurawska@google.com>
      7acbda7b
  27. Jul 05, 2012
    • Iustin Pop's avatar
      Add --wait-for-sync in gnt-instance · f30d8165
      Iustin Pop authored
      
      Note that this needs (like for the opcode) a new option, with the
      default reverted (False instead of True).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      f30d8165
    • Iustin Pop's avatar
      hbal: return exit status 0 in case of early exit · 2a2e2610
      Iustin Pop authored
      
      This derives from an internal bug, but the story is consistent across
      both internal and external usage of hbal.
      
      Basically right now, hbal returns exit code 1 if requested to exit
      early, even if all jobs are successful. This is counter-intuitive due
      to two reasons:
      
      - hbal did what it was requested (exit early), so it shouldn't return error
      - there were no job failures, so there's nothing to "cleanup" or
        investigate on the Ganeti cluster, so again it shouldn't return
        error
      
      Therefore the new behaviour is as follows:
      
      - for cases where all jobs were successful, even if terminated early
        via SIGINT or via --limit, we exit with code 0
      - for cases where jobs have failed or there were other errors in
        running hbal, the exit code is 1
      - for cases were hbal is requested an immediate termination (SIGTERM),
        exit code is 2, denoting "unknown whether the Ganeti cluster is
        consistent or not"
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      2a2e2610
  28. Jun 29, 2012
  29. Jun 25, 2012
Loading