Skip to content
Snippets Groups Projects
  1. Mar 19, 2008
    • Iustin Pop's avatar
      Make ganeti-noded create BDEV_CACHE_DIR automatically · 0214b0c0
      Iustin Pop authored
      Currently in order to deal with tmpfs /var/run, we create the
      BDEV_CACHE_DIR in the init script. However, that does not cover all the
      cases, and it's not a proper place to deal with it: for example, dealing
      with not initialized clusters and the master node is more complicated.
      
      Therefore, this patch does:
        - make ganeti-noded create the directory automatically
        - make ganeti-noded error out if it can't create it or it's already
          there but not a directory
        - remove the creation from the init.d script
      
      Reviewed-by: ultrotter
      0214b0c0
  2. Feb 23, 2008
    • Guido Trotter's avatar
      Improve ganeti example cron file · 0d349b3a
      Guido Trotter authored
      The cron file in ganeti's example directory is now static, and executes
      ganeti-watcher in /usr/local/sbin no matter where it's really installed. With
      this patch we generate it at build time substituting the right value of
      @SBINDIR@ from ganeti.cron.in. We also make sure ganeti-watcher exists and is
      executable before running it.
      
      This is targeted at 1.2 as well.
      
      Reviewed-by: iustinp
      0d349b3a
  3. Feb 15, 2008
  4. Feb 06, 2008
  5. Jan 30, 2008
  6. Jan 20, 2008
    • Iustin Pop's avatar
      Fix the init.d script · e71d6323
      Iustin Pop authored
      The script (which is geared towards Debian) is actually not fully
      compliant, as lintian generates a warning on it - the S runlevel is not
      a valid one in the "Stop" stanza. This patch removes "S" from the stop
      list.
      
      Reviewed-by: imsnah
      e71d6323
  7. Jan 18, 2008
  8. Dec 21, 2007
  9. Dec 17, 2007
  10. Dec 04, 2007
  11. Nov 28, 2007
  12. Nov 27, 2007
    • Iustin Pop's avatar
      Update install.sgml with the name of the example OS · 5736852e
      Iustin Pop authored
      We want the name of the example OS to be nicer for packagers, so update
      the install documentation accordingly.
      
      Also, put in a notice about using the latest release OS version, so if
      we forget to update this doc, we are not completely wrong.
      
      Reviewed-by: schreiberal
      5736852e
  13. Nov 26, 2007
  14. Nov 22, 2007
    • Iustin Pop's avatar
      Create /var/run/ganeti before noded startup · b81ef751
      Iustin Pop authored
      The /var/run directory can be a tmpfs mount, so even if we make it at
      install time (or include it in the package) it can go away. Therefore,
      test for its existence and create it in the startup script.
      
      Reviewed-by: imsnah
      b81ef751
    • Iustin Pop's avatar
      Remove extra docdir variable from Makefile.am · d5a446f2
      Iustin Pop authored
      The docdir variable is defined by autoconf, so we don't need to define
      it ourselves. This way, the target documentation directory can
      be changed via ./configure instead of patching Makefile.am.
      
      In truth, we should install the pdf and html files using the pdf and
      html targets, since configure defines pdfdir=htmldir=docdir; but
      installing them in docdir is good enough.
      
      Reviewed-by: imsnah
      d5a446f2
  15. Nov 16, 2007
  16. Nov 15, 2007
  17. Nov 13, 2007
  18. Nov 12, 2007
    • Iustin Pop's avatar
      Update documentation for drbd8 and beta2 release · 6c4811dc
      Iustin Pop authored
      This patch does:
        - add drbd8 information to the docs (the new disk template, examples,
          etc.)
        - fixes a section header to make it more clear
        - update the NEWS file by changing format (format taken by looking at
          /usr/sharea/doc/*/NEWS.gz) and adding more information on changes
          since beta1
      
      Reviewed-by: ultrotter
      6c4811dc
  19. Nov 09, 2007
    • Iustin Pop's avatar
      Soften the requirements for hooks execution · 2395c322
      Iustin Pop authored
      Currently, an unreachable node (or one that return undetermined failure)
      in the hooks pre-phase will abort the curren operation. This is not
      good, as a down node could prevent many operation on the cluster.
      
      This patch changes a RPC-level failure (and not a hook execution
      failure) into a warning. It also modifies the related test cases.
      
      This fixes issue 11.
      
      Reviewed-by: ultrotter
      2395c322
    • Michael Hanselmann's avatar
      Fix usage of wrong variable in doc/examples/Makefile.am. · 084bf7b2
      Michael Hanselmann authored
      This makes “make distcheck” work again.
      
      Reviewed-by: schreiberal
      084bf7b2
  20. Nov 07, 2007
  21. Oct 24, 2007
    • Iustin Pop's avatar
      Add DRBD8 class for handling drbd version 8.x · a2cfdea2
      Iustin Pop authored
      This duplicates some code from the DRBDev class, but not very much, and
      it will be expanded with the new functionality available for the 8.x
      version. Currently the code is not accessible outside the module.
      
      This patch introduces a dependency on the pyparsing module.
      
      Reviewed-by: imsnah
      a2cfdea2
  22. Oct 16, 2007
    • Iustin Pop's avatar
      Allow force removal of instances · 1d67656e
      Iustin Pop authored
      This patch adds a new option to the instance removal command
      "--ignore-failures" that forces the removal of the instance from the
      configuration even if the removal process encounters errors.
      
      In order to be able to do this when the remote node(s) is(are) down, we
      need to restrict the execution of the instance removal hook to the
      master only. I think this is a reasonable trade-off (but I'm not sure).
      
      Reviewed-by: imsnah
      1d67656e
  23. Oct 10, 2007
    • Alexander Schreiber's avatar
      Remove fping as a dependency for Ganeti. · 16abfbc2
      Alexander Schreiber authored
      This patch completely  gets rid of fping
       - replace all fping invocations with TcpPing calls
       - update documentation accordingly.
       - associated cleanups (use constant for localhost IP, use more sensible
         defaults for TcpPing and _use_ those)
      
      Reviewed-by: iustinp
      
      16abfbc2
  24. Oct 09, 2007
  25. Oct 04, 2007
  26. Sep 25, 2007
  27. Sep 15, 2007
    • Iustin Pop's avatar
      Documentation fix for missing dependencies · 116b0c88
      Iustin Pop authored
      I was getting into trouble with gnt-backup and discovered reading the
      code of the debian-etch os image and the error logs that:
           1 - Debian os image shipped by ganeti depends on the availability
      of dump and restore.
      
      Based on that I had included in the section of "Installing the
      Operating System support packages" the dependency of dump/restore and
      the command to install dump/restore.
      
      Author: Leonardo Rodrigues de Mello <l@lmello.eu.org>
      Reviewed-by: iustinp
      116b0c88
  28. Sep 11, 2007
  29. Sep 04, 2007
  30. Sep 03, 2007
Loading