1. 24 Feb, 2009 1 commit
    • Iustin Pop's avatar
      Convert the admin guide to restructured text · ffa6869f
      Iustin Pop authored
      The RST format holds a little bit less information, as all the <file
      class="directory"> and <userinput> tags are gone, however we're not
      really losing important context here. And it's way easier to read and
      update.
      
      Reviewed-by: imsnah
      ffa6869f
  2. 20 Feb, 2009 1 commit
  3. 12 Feb, 2009 3 commits
  4. 29 Jan, 2009 1 commit
  5. 21 Jan, 2009 1 commit
    • Guido Trotter's avatar
      KVM: instance migration · 30e42c4e
      Guido Trotter authored
      The tcp port used for migrating KVM instances is selectable at
      ./configure time. We use a single port as nodes are locked anyway during
      a migration, so no two migrations can happen at the same time to the
      same node.
      
      Reviewed-by: iustinp
      30e42c4e
  6. 19 Dec, 2008 1 commit
  7. 16 Dec, 2008 1 commit
    • Guido Trotter's avatar
      KVM: improve socat interface · 14aa53cb
      Guido Trotter authored
      Call socat with a full path specified at configure time, rather than
      just by its name, and check for the binary to exist at hypervisor
      verify.
      
      Reviewed-by: iustinp
      14aa53cb
  8. 14 Dec, 2008 1 commit
    • Iustin Pop's avatar
      Improve _autoconf.py comments · 67047322
      Iustin Pop authored
      This adds a docstring to the _autoconf.py file detailing how it's
      generated (the other comment it's not visible in pydoc/epydoc).
      
      Reviewed-by: amishchenko
      67047322
  9. 11 Dec, 2008 1 commit
    • Iustin Pop's avatar
      Fix epydoc format warnings · c41eea6e
      Iustin Pop authored
      This patch should fix all outstanding epydoc parsing errors; as such, we
      switch epydoc into verbose mode so that any new errors will be visible.
      
      Reviewed-by: imsnah
      c41eea6e
  10. 04 Dec, 2008 2 commits
    • Michael Hanselmann's avatar
      ganeti.http: Split HTTP server and client into separate files · 02cab3e7
      Michael Hanselmann authored
      This includes a large rewrite of the HTTP server code. The handling of
      OpenSSL errors had some problems that were hard to fix with its
      structure. When preparing all of this, I realized that actually HTTP
      is a message protocol and that the same code can be used on both the
      server and client side to parse requests/responses, with only a few
      differences. There are still a few TODOs in the code, but none should
      be a show stopper. Many pylint warnings have been fixed, too.
      
      The old code will be removed once all users have been migrated.
      
      Reviewed-by: amishchenko
      02cab3e7
    • Michael Hanselmann's avatar
      Move HTTP code to subpackage · ff9efc03
      Michael Hanselmann authored
      This is a preparation step for splitting the HTTP client and server code
      into two separate modules.
      
      Reviewed-by: amishchenko
      ff9efc03
  11. 23 Nov, 2008 1 commit
    • Iustin Pop's avatar
      Slight change to the apidoc build · 975e07c6
      Iustin Pop authored
      Currently the temporary directory used for modules is under the current
      directory; this patch changes it so a temp directory is used; so we
      could build the apidocs with a R/O filesystem.
      
      Reviewed-by: ultrotter
      975e07c6
  12. 18 Nov, 2008 1 commit
    • Iustin Pop's avatar
      Add a FieldSet class for variable parameter sets · 6de7c41d
      Iustin Pop authored
      This patch adds a _FieldSet class that can be used for the new variable
      parameter sets: e.g. the sda_size will change to disk/0.size (or
      similar) and we need to both check validity and extract the index of the
      parameter easily.
      
      The patch also sorts the unittest list in Makefile.am.
      
      Reviewed-by: ultrotter
      6de7c41d
  13. 17 Nov, 2008 1 commit
  14. 16 Nov, 2008 2 commits
    • Iustin Pop's avatar
      Add a cluster architecture diagram · f86e82ef
      Iustin Pop authored
      This adds a simple diagram for the cluster architecture and also adds a
      dependency on graphviz (both doc and in configure).
      
      Reviewed-by: imsnah
      f86e82ef
    • Iustin Pop's avatar
      Combine the 2.0 design documents into one · 5c0c1eeb
      Iustin Pop authored
      This patch combines all the design documents for 2.0 except the
      security one into a single document, in order to ease reading and reduce
      duplication of information.
      
      Future patches will start removing wrong pointers to old document names
      and some better integration between the sections.
      
      Reviewed-by: imsnah
      5c0c1eeb
  15. 11 Nov, 2008 1 commit
  16. 20 Oct, 2008 1 commit
    • Iustin Pop's avatar
      Remove the logger.py module · 82d9caef
      Iustin Pop authored
      Since now we use only one function from the logger module
      (SetupLogging), we move it to utils.py (which is already imported by all
      users of this function), and we remove the module.
      
      Reviewed-by: imsnah
      82d9caef
  17. 14 Oct, 2008 1 commit
  18. 10 Oct, 2008 1 commit
  19. 07 Oct, 2008 2 commits
  20. 06 Oct, 2008 2 commits
    • Iustin Pop's avatar
      Add a simple timespec parsing function · 2241e2b9
      Iustin Pop authored
      This function will be used for auto-archiving jobs via the command line.
      The function is pretty simple, we only support up to weeks since months
      and higher are not 'precise' entities, and dealing with them would
      require us to start using calendar functions.
      
      Reviewed-by: imsnah
      2241e2b9
    • Oleksiy Mishchenko's avatar
      RAPI Desing Doc · a72b3711
      Oleksiy Mishchenko authored
      Reviewed-by: iustinp
      a72b3711
  21. 02 Oct, 2008 1 commit
  22. 30 Sep, 2008 1 commit
  23. 29 Aug, 2008 1 commit
  24. 25 Aug, 2008 1 commit
  25. 18 Aug, 2008 1 commit
  26. 15 Aug, 2008 1 commit
  27. 13 Aug, 2008 2 commits
    • Guido Trotter's avatar
      Add KVM hypervisor code · eb58f9b1
      Guido Trotter authored
      ht_kvm.py contains the code for ganeti to work under kvm.
      This patch also modifies Makefile.am to ship that file, and
      lib/hypervisor/__init__.py to import it, and add kvm to the
      hypervisors map.
      
      Reviewed-by: imsnah
      eb58f9b1
    • Guido Trotter's avatar
      Add --with-kvm-path configure option · 7e2c5b9e
      Guido Trotter authored
      This allows to configure a different path to the kvm binary. By default
      /usr/bin/kvm is used, which is the one found in debian and ubuntu.
      
      Reviewed-by: imsnah
      7e2c5b9e
  28. 08 Aug, 2008 1 commit
  29. 04 Aug, 2008 1 commit
  30. 30 Jul, 2008 1 commit
    • Iustin Pop's avatar
      Rework master startup/shutdown/failover · b1b6ea87
      Iustin Pop authored
      This (big) patch reworks the master startup/shutdown and the fixes the
      master failover.
      
      What does the patch do?
      
      For master start/stop:
        - remove the old ganeti-master script and its associated man page
        - moves the ip start/stop directly into the backend.(Start|Stop)Master
        - adds start/stop of the master/rapi daemon into these functions,
          selectively based on the start/stop arguments
        - makes the master call via rpc StartMaster(start_daemons=False) to
          the local node so that the master IP is started
        - and finally changes the example init.d script to directly start and
          stop all three daemons, since they do the right thing (depending on
          master/not master role)
      
      For master failover:
        - moves the code from LUMasterFailover into bootstrap.MasterFailover,
          since we need to start/stop the master during this operation and
          thus it can't be executed from the master
        - removes the LUMasterFailover and its associated opcode
      
      Notes: ubuntu's /etc/lsb-base-logging.sh is dumb, so the messages 'not
      master' are not seen during startup on non-master nodes.
      
      Reviewed-by: ultrotter
      b1b6ea87
  31. 28 Jul, 2008 1 commit
    • Michael Hanselmann's avatar
      Move ganeti-rapi core code to daemon · 3cd62121
      Michael Hanselmann authored
      All other daemons have their main code in themselves and not in a module.
      This patch does the same to ganeti-rapi by moving the code from
      lib/rapi/RESTHTTPServer.py to daemons/ganeti-rapi.
      
      Reviewed-by: iustinp
      3cd62121
  32. 24 Jul, 2008 1 commit
  33. 22 Jul, 2008 1 commit