Skip to content
Snippets Groups Projects
  1. Feb 24, 2009
    • Iustin Pop's avatar
      Convert iallocator.sgml to restructured text · 876860a3
      Iustin Pop authored
      This is a no-contents change, this doc will need update to conform to
      2.0 message contents (and also the code will need increase to version 2
      of the iallocator protocol).
      
      Reviewed-by: imsnah
      876860a3
    • 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. Feb 20, 2009
  3. Feb 12, 2009
  4. Jan 29, 2009
  5. Jan 21, 2009
    • 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. Dec 19, 2008
  7. Dec 16, 2008
    • 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. Dec 14, 2008
    • 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. Dec 11, 2008
    • 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. Dec 04, 2008
    • 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. Nov 23, 2008
    • 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. Nov 18, 2008
    • 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. Nov 17, 2008
  14. Nov 16, 2008
    • 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. Nov 11, 2008
  16. Oct 20, 2008
    • 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. Oct 14, 2008
  18. Oct 10, 2008
  19. Oct 07, 2008
  20. Oct 06, 2008
    • 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. Oct 02, 2008
  22. Sep 30, 2008
  23. Aug 29, 2008
  24. Aug 25, 2008
  25. Aug 18, 2008
  26. Aug 15, 2008
  27. Aug 13, 2008
    • 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. Aug 08, 2008
  29. Aug 04, 2008
  30. Jul 30, 2008
    • 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. Jul 28, 2008
    • 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. Jul 24, 2008
Loading