1. 05 Dec, 2009 1 commit
    • Iustin Pop's avatar
      Ship rapi.rst/rapi.html in the dist archive · 77220dd2
      Iustin Pop authored
      Patch 4352bf6d changed RAPI docs to RST from the previous SGML format
      (the last file to be converted to RST).
      
      However, it didn't add rapi.rst to the docrst Makefile variable, and as
      such rapi.html was neither build nor shipped in the archive. We fix this
      and we also distribute doc/rapi-resources.gen since otherwise “make
      distcheck” has issues (since this file is built and thus lives in _built
      whereas rapi.rst is shipped and lives in topsrcdir).
      
      Note: yes, this means that no 2.0 release until now had a rapi.html file
      (in the .tar.gz archive).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      77220dd2
  2. 29 Sep, 2009 2 commits
  3. 25 Sep, 2009 9 commits
  4. 14 Sep, 2009 2 commits
  5. 11 Sep, 2009 1 commit
  6. 08 Sep, 2009 1 commit
  7. 07 Sep, 2009 3 commits
    • Guido Trotter's avatar
      scripts/gnt-node: fix a help string · 862b1b2b
      Guido Trotter authored
      gnt-node modify says it wants an "<instance>". Changing it to
      "<node_name>" as for the other commands.
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      862b1b2b
    • Iustin Pop's avatar
      Optimise multi-job submit · 009e73d0
      Iustin Pop authored
      Currently, on multi-job submits we simply iterate over the
      single-job-submit function. This means we grab a new serial, write and
      replicate (and wait for the remote nodes to ack) the serial file, and
      only then create the job file; this is repeated N times, once for each
      job.
      
      Since job identifiers are ‘cheap’, it's simpler to simply grab at the
      start a block of new IDs, write and replicate the serial count file a
      single time, and then proceed with the jobs as before. This is a cheap
      change that reduces I/O and reduces slightly the CPU consumption of the
      master daemon: submit time seems to be cut in half for big batches of
      jobs and the masterd cpu time by (I can't get consistent numbers)
      between 15%-50%.
      
      Note that this doesn't change anything for single-job submits and most
      probably for < 5 job submits either.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      009e73d0
    • Iustin Pop's avatar
      Extend gnt-debug with more debugging options · 9d95c3af
      Iustin Pop authored
      This patch extends gnt-debug to be able to submit multiple copies of the
      input jobs and job contents, in order to simplify testing. It also adds
      a timing mode, and splits the execution into separate submit and
      execution stages (for timing purposes).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      9d95c3af
  8. 31 Aug, 2009 1 commit
  9. 28 Aug, 2009 1 commit
  10. 25 Aug, 2009 1 commit
  11. 21 Aug, 2009 2 commits
  12. 20 Aug, 2009 1 commit
  13. 19 Aug, 2009 1 commit
  14. 17 Aug, 2009 1 commit
  15. 14 Aug, 2009 3 commits
  16. 13 Aug, 2009 3 commits
    • 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
    • Guido Trotter's avatar
      Fix a typo in InitCluster · bec0522b
      Guido Trotter authored
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      (cherry picked from commit 022c3a0b)
      bec0522b
  17. 12 Aug, 2009 1 commit
  18. 11 Aug, 2009 2 commits
  19. 10 Aug, 2009 4 commits