Skip to content
Snippets Groups Projects
  1. Apr 14, 2009
  2. Apr 07, 2009
    • Iustin Pop's avatar
      Distribute built documentation · 2ab2b9f5
      Iustin Pop authored
      This patch changes the way documentation is built in order to distribute
      the generated output in the 'dist' archive, and thus no longer
      requiring the presence of the docbook/rst toolchains during build time.
      This will lower the requirements for installation and also makes the
      build time insignificant.
      
      First, we remove the docbook2pdf rules and variables, since we no longer
      build this kind of docs. Furthermore, the rst source files are not
      (today) processed via replace_vars_sed, so the whole .in rules for doc/
      go away.
      
      Next, we change the ".sgml|.rst -> replace_vars_sed -> .in -> processor
      -> final file" processing to ".sgml|.rst -> generator -> .in ->
      replace_vars_sed -> final file"; this means we first process the file
      using the formatter, with the @VARIABLE@ entries in it, and save the
      output as .in; this output we distribute, and on the user side, the
      replace_vars_sed will use the new configure flags to transform the
      (almost final .in form) to the final form, without needing the
      toolchain.
      
      In configure.ac we also change from ERROR to WARN for the documentation
      generators, and extra tests in Makefile.am check that the programs have
      been found.
      
      This was tested with distcheck and works as expected.
      
      Reviewed-by: ultrotter
      2ab2b9f5
  3. Feb 27, 2009
    • Iustin Pop's avatar
      Convert the RAPI document to restructured text · 4352bf6d
      Iustin Pop authored
      This patch changes the RAPI document, and the RAPI resources
      autogenerated-documentation to restructured text. This meant changing
      the autogen tool.
      
      The new fragment can be included via RST directives, and doesn't need
      passing through replace-sed-vars. This was also the last sgml document
      in doc/, so we remove old makefile rules about it.
      
      Reviewed-by: imsnah
      4352bf6d
    • Iustin Pop's avatar
      Convert the install document to restructured text. · 28e15341
      Iustin Pop authored
      This switches back to the hardcoding of the version number, as we don't
      yet have a wrapper for rst files that passes them through
      replace-sed-vars.
      
      Reviewed-by: imsnah
      28e15341
  4. Feb 26, 2009
    • Iustin Pop's avatar
      Fix the Makefile after the bash_completion patch · f72f8622
      Iustin Pop authored
      I've somehow left these two out. Sorry!
      
      Reviewed-by: imsnah
      f72f8622
    • Iustin Pop's avatar
      Add bash-completion rules · e2a2a2eb
      Iustin Pop authored
      This is a not-complete bash completion file for ganeti commands (gnt-*)
      and the burnin tool. It is based on previous work by Minghua Ye
      <yeminghua@google.com> for Ganeti 1.1, which wasn't used because the
      lack of ssconf keys (which allow easy inspection by the shell of the
      existing nodes and instances) made it too slow.
      
      The file works as expected, however I realized that our custom (like
      comma-separated, or a=b:c,e:f) options are not very nice for
      auto-completion. There are a few FIXMEs in the source for that.
      
      The file is not installed at make install time, but it should be put in
      the correct place by packages.
      
      Reviewed-by: imsnah
      e2a2a2eb
  5. Feb 25, 2009
  6. 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
  7. Feb 20, 2009
  8. Feb 12, 2009
  9. Jan 29, 2009
  10. 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
  11. Dec 19, 2008
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. Nov 17, 2008
  19. 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
  20. Nov 11, 2008
  21. 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
  22. Oct 14, 2008
  23. Oct 10, 2008
  24. Oct 07, 2008
  25. 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
  26. Oct 02, 2008
  27. Sep 30, 2008
  28. Aug 29, 2008
  29. Aug 25, 2008
  30. Aug 18, 2008
  31. Aug 15, 2008
Loading