Skip to content
Snippets Groups Projects
  1. Dec 28, 2009
  2. Dec 18, 2009
  3. Dec 16, 2009
  4. Dec 14, 2009
  5. Dec 05, 2009
    • 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
  6. Sep 29, 2009
  7. Sep 25, 2009
  8. Sep 14, 2009
  9. Sep 11, 2009
  10. Sep 08, 2009
  11. Sep 07, 2009
    • 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
  12. Aug 31, 2009
  13. Aug 28, 2009
  14. Aug 25, 2009
  15. Aug 21, 2009
  16. Aug 20, 2009
  17. Aug 19, 2009
  18. Aug 17, 2009
  19. Aug 14, 2009
  20. 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
Loading