1. 23 Feb, 2011 1 commit
  2. 09 Feb, 2011 1 commit
    • Iustin Pop's avatar
      Fix html docs builds · a2d917f3
      Iustin Pop authored
      This fixes the doc builds broken by commit b292b986
      , but is only an
      ugly workaround due to our dependency chain.
      opcodes.py imports (both directly and indirectly) constants.py, which
      imports _autoconf.py. Hence one could say that all .py files have a
      logical dependency on _autoconf.py, since you can't "import opcodes"
      before _autoconf.py is built. So the sphinx rule should depend on
      _autoconf.py as a prerequisite.
      But we can't use a normal prerequisite, since that would cause the
      html docs to be rebuilt whenever _autoconf.py gets rebuilt, i.e. even
      on end-users machines after ./configure; this is bad, and it also
      breaks distcheck (as the html files are not removed in distclean,
      since we do want them distributed).
      So we only add an order-only prerequisite, which does the right thing
      (although our dependency chain is still ugly).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarAdeodato Simo <dato@google.com>
  3. 04 Feb, 2011 2 commits
  4. 31 Jan, 2011 1 commit
  5. 27 Jan, 2011 2 commits
  6. 26 Jan, 2011 1 commit
  7. 18 Jan, 2011 4 commits
  8. 12 Jan, 2011 2 commits
    • Michael Hanselmann's avatar
      Add Ganeti 2.4 design document · 78b40c5e
      Michael Hanselmann authored
      It contains links to the two implemented designs. The detailed documents
      are removed from the visible table of contents to not show up on their
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
    • 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>
  9. 11 Jan, 2011 6 commits
  10. 10 Jan, 2011 7 commits
  11. 07 Jan, 2011 2 commits
  12. 06 Jan, 2011 2 commits
  13. 05 Jan, 2011 2 commits
  14. 04 Jan, 2011 1 commit
  15. 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>
  16. 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>
  17. 20 Dec, 2010 1 commit
  18. 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>
  19. 01 Dec, 2010 2 commits