Skip to content
Snippets Groups Projects
  1. Aug 28, 2009
  2. Aug 13, 2009
    • Iustin Pop's avatar
      Improve the example startup script · 82cd7760
      Iustin Pop authored
      
      Currently, the supplised script has two issues:
        - it doesn't use start-stop-daemon --start correctly, leading to
          messages like "ganeti.errors.GenericError:
          /var/run/ganeti/ganeti-rapi.pid contains a live process" in the logs
        - it doesn't allow start/stop/restart of a single daemon, which leads
          to manual launch, which is bad because we don't reuse the settings
          from the defaults file
      
      For the first one, we change from ‘--exec …’ to ‘--startas …’, which is
      the actual option used for start, whereas exec is a test (that also
      supplies the default to startas). We also add ‘--oknodo’ as per recent
      Debian policy changes.
      
      For the second, we do a bigger change; we basically remove the full-path
      and pid variables, and construct these two from the daemon name. We then
      check if we are given a daemon name (in which case we only do that)
      otherwise we do the requested action on all daemons.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      82cd7760
    • Iustin Pop's avatar
      Fix insserv dependencies · a02b4427
      Iustin Pop authored
      
      (import of a Debian patch)
      
      This patch removes xend from the list of dependencies.
      
      Ganeti doesn't need xend running to startup, it will only need it later
      (and only if xen is used as virtualisation technology). It also removes
      'Xen' from the description in the init script.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      a02b4427
  3. Aug 12, 2009
  4. Aug 10, 2009
  5. Aug 06, 2009
  6. Aug 05, 2009
  7. Aug 04, 2009
  8. Jul 22, 2009
  9. Jul 17, 2009
  10. Jul 07, 2009
  11. May 09, 2009
  12. May 06, 2009
  13. Apr 15, 2009
    • Iustin Pop's avatar
      A bunch of doc and other small fixes · 949bdabe
      Iustin Pop authored
      This patch adds a couple of both externally and internally reported
      issues:
        - missing SGML tags (Issue 54), report and patch by superdupont
        - wrong variable used in the init.d script, report and patch by
          Karsten Keil <karsten-keil@t-online.de>
        - man page for gnt-instance reinstall needs clarification (Issue 56)
        - gnt-instance man page missing --disks documentation for
          replace-disks
        - gnt-node modify help output is unclear about the -C/-D/-O input
          format, and the man page doesn't document this command at all
        - “gnt-node modify -C yes” for offline or drained nodes had wrong
          error message
        - “gnt-instance reinstall --select-os” has wrong prompt, we only
          accept a number for the OS and not the template name
      
      Reviewed-by: ultrotter
      949bdabe
  14. Mar 12, 2009
    • Iustin Pop's avatar
      Add the 2.0-specific node flags to the design doc · e0eb13de
      Iustin Pop authored
      This patch adds the newly-introduced node flags to the design document,
      as they currently are missing from there.
      
      The patch also reduces the TOC depth to 3, as it was too big.
      
      Reviewed-by: ultrotter
      e0eb13de
  15. Mar 04, 2009
  16. Mar 02, 2009
    • Iustin Pop's avatar
      Export tags to cluster verify hooks · 35e994e9
      Iustin Pop authored
      This patch export the cluster and node tags to the cluster verify hook
      scripts. The tags are exported as a space-separated list, which allows
      easy parsing from the shell (e.g. “for tag in $GANETI_CLUSTER_TAGS; do
      ...”) and therefore requires the previous “Don't allow spaces in tag
      names” patch.
      
      The patch also fixes a minor line length style problem.
      
      Reviewed-by: ultrotter
      35e994e9
    • Iustin Pop's avatar
      Update the iallocator documentation · 77031881
      Iustin Pop authored
      This updates the iallocator documentation to 2.0, bumps up the
      iallocator version (and moves a constants to lib/constants.py), and
      fixes a style on install.rst.
      
      Reviewed-by: ultrotter
      77031881
    • Iustin Pop's avatar
      A doc update and a small indentation fix · b806661b
      Iustin Pop authored
      This adds a small paragraph about the “master” role of a node, and fixes
      a wrong indentation in the bash completion file.
      
      Reviewed-by: imsnah
      b806661b
  17. 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
  18. Feb 26, 2009
    • 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
  19. Feb 25, 2009
  20. 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
  21. Feb 20, 2009
  22. Feb 17, 2009
  23. Feb 13, 2009
  24. Feb 10, 2009
  25. Feb 05, 2009
  26. Jan 29, 2009
  27. Jan 23, 2009
    • Iustin Pop's avatar
      Fix batcher for 2.0-style disks and nics · 9939547b
      Iustin Pop authored
      This patch fixes the gnt-instance batch-create command, and in doing so
      also slightly changes two other functions:
        - we change utils.ParseUnit so that it accepts integer values also
          (both ParseUnit(5) and ParseUnit("5") return the same value)
        - a bridge 'None' in LUCreateInstance will be converted to the default
          bridge; currently only missing bridges will be accepted to mean the
          default one
      
      The main changes to batcher were the change to variable number of disks
      and NICs.
      
      The patch also adds a batcher-instances.json example file copied from
      the 1.2 branch and properly modified.
      
      Reviewed-by: imsnah, killerfoxi
      9939547b
    • Iustin Pop's avatar
      Make iallocator work with offline nodes · 1325da74
      Iustin Pop authored
      This patch changes the iallocator framework to work with and properly
      export to plugins offline nodes. It does this by only exporting the
      static configuration data for those nodes, and not attempting to parse
      the runtime data.
      
      The patch also fixes bugs in iallocator related to the RpcResult
      conversion, changes the should_run to admin_up attribute name (as per
      the internals change), and adds “-I” as a short option for
      “--iallocator” in gnt-instance, gnt-backup and burnin.
      
      Reviewed-by: ultrotter
      1325da74
  28. Nov 21, 2008
  29. Nov 17, 2008
    • Iustin Pop's avatar
      More updates to the documentation · 6c2d0b44
      Iustin Pop authored
      This patch removes the client-api.txt document (since it's obsoleted by
      the documentation inside the design-2.0.rst document) and adds many
      updates to the latter.
      
      Reviewed-by: imsnah
      6c2d0b44
  30. 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
Loading