Skip to content
Snippets Groups Projects
  1. Sep 11, 2009
  2. Sep 08, 2009
  3. 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
  4. Aug 31, 2009
  5. Aug 28, 2009
  6. Aug 25, 2009
  7. Aug 20, 2009
  8. Aug 17, 2009
  9. Aug 14, 2009
  10. 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
    • 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
  11. Aug 12, 2009
  12. Aug 11, 2009
  13. Aug 10, 2009
  14. Aug 07, 2009
    • Guido Trotter's avatar
      Merge branch 'master' into next · 8486ffc0
      Guido Trotter authored
      
      * master:
        Update NEWS and version for 2.0.3 release
        devel/upload: revert rsync -p
        export: add meaningful exit code
        Fix detecting of errors in export
        Implement gnt-cluster check-disk-sizes
        rpc: add rpc call for getting disk size
        bdev: Add function for reading actual disk size
        Implement --ignore-size in activate-disks
        Add ignore size support in _AssembleInstanceDisks
        Add a objects.Disk.UnsetSize() method
        bdev: allow ignoring of size in Assemble()
        Fix instance import net option
        Simplify the devel/upload script
        Add a Copy method to object.ConfigObject
        Extend call_node_start_master rpc with no_voting
      
      Conflicts:
      
        daemons/ganeti-masterd
          s/SimpleConfigReader/SimpleStore/ VS start-master no-voting
          (kept both)
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      8486ffc0
    • Iustin Pop's avatar
      v2.0.3
      9d725d41
  15. Aug 06, 2009
  16. Aug 05, 2009
  17. Aug 04, 2009
Loading