1. 12 Jan, 2011 1 commit
    • Iustin Pop's avatar
      Run pylint over QA code too · 3582eef6
      Iustin Pop authored
      Right now, the QA code is not covered by pylint, and this shows at
      least one low-impact bug.
      This patch does the necessary changes to make QA pylint-clean, and the
      changes the makefile to run pylint for it.
      Notable changes:
      - qa_utils.GenericQueryTest: randfields was not used at all, and my
        belief is that it was indented to be used in order not to modify the
        input list; so I replaced randfields with fields, so we only shuffle
        the our local copy
      - qa_node.TestOutOfBand was using it's own copy of AcquireNode(), so I
        replaced it with the existing version
      - qa_os: was using 'dir' in a couple of places, replaced with dirname
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
  2. 11 Jan, 2011 6 commits
  3. 10 Jan, 2011 7 commits
  4. 07 Jan, 2011 2 commits
  5. 06 Jan, 2011 2 commits
  6. 05 Jan, 2011 2 commits
  7. 04 Jan, 2011 1 commit
  8. 30 Dec, 2010 1 commit
    • Michael Hanselmann's avatar
      Initial import of listrunner · da7e44ee
      Michael Hanselmann authored
      This tool was used and worked on internally for quite a long time. We
      decided to include it in Ganeti.
      Known issues:
      - Code doesn't match rest of Ganeti (e.g. using “print” all over the
        place, hardcoded calls to sys.exit deep in functions)
      - Code duplication from Ganeti library (e.g. PingByTcp/netutils.TcpPing,
      - Using ssh-agent doesn't work with more than one worker (Paramiko keeps
        the socket open and the file descriptor is used from different
        - No clear separation between parent and child process in code
      - Uses getopt instead of optparse
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
  9. 21 Dec, 2010 1 commit
    • Iustin Pop's avatar
      Allow customisation of the disk index separator · 3536c792
      Iustin Pop authored
      As per issue 124, some Xen versions (or packaging) don't deal nicely
      with the colon being part of a disk name. Therefore we add a
      configure-time option for customising this.
      Note: setting the separator to interesting values like / is not
      handled by the code. This being a configure-time option (e.g. to be
      set by distribution packagers), we assume the person building the code
      knows what they are doing.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
  10. 20 Dec, 2010 1 commit
  11. 10 Dec, 2010 1 commit
    • Miguel Di Ciurcio Filho's avatar
      Script to gracefully power off KVM instances · 5d9e167a
      Miguel Di Ciurcio Filho authored
      When a node is running KVM instances and that node is rebooted or
      shutdown, the gnt-noded daemon is finished and leaves the KVM instances
      running. Latter on in the shutdown process, all remaining processes
      receive SIGTERM as usual, meaning that the KVM instances are all
      terminated, without running a proper shutdown procedure inside the
      When using Xen, the xendomains script will take care of gracefully
      powering down the instances, but for KVM there is nothing like that.
      This patch adds an script that sends the "system_powerdown" command to
      all running instances, and it could be useful for people using KVM.
      This patch is a response for issue #126
      Signed-off-by: default avatarMiguel Di Ciurcio Filho <miguel.filho@gmail.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
  12. 01 Dec, 2010 2 commits
  13. 29 Nov, 2010 2 commits
  14. 27 Nov, 2010 2 commits
  15. 25 Nov, 2010 1 commit
  16. 24 Nov, 2010 1 commit
  17. 15 Nov, 2010 4 commits
  18. 12 Nov, 2010 1 commit
  19. 10 Nov, 2010 1 commit
  20. 09 Nov, 2010 1 commit