Skip to content
Snippets Groups Projects
  1. Feb 22, 2010
  2. Feb 11, 2010
  3. Jan 04, 2010
  4. Oct 27, 2009
  5. Sep 18, 2009
  6. Sep 17, 2009
  7. Sep 07, 2009
  8. Sep 03, 2009
  9. Aug 28, 2009
  10. Aug 24, 2009
  11. Jul 19, 2009
  12. May 04, 2009
    • Iustin Pop's avatar
      Allow gnt-debug submit-job to take multiple args · 99036060
      Iustin Pop authored
      
      Currently “gnt-debug submit-job” takes a single argument and has
      non-trivial startup-costs; in order to exercise the job system, it is
      better to be able to submit multiple jobs with a single invocation of
      the script.
      
      This patch extends it to take multiple argument, de-serialize the
      opcodes and then submit all of them as fast as possible, in order to
      increase pressure on the master daemon.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarAlexander Schreiber <als@google.com>
      99036060
  13. Jan 23, 2009
    • Iustin Pop's avatar
      A couple of small fixes to iallocator · 8901997e
      Iustin Pop authored
      This removes some constraints:
        - only two disks supported, this is no longer true as the underlying
          functions can now compute size for a variable number of disks
        - error when the hypervisor was not being passed
        - typo error
      
      Reviewed-by: imsnah
      8901997e
  14. Nov 27, 2008
    • Iustin Pop's avatar
      Fix gnt-job submit · 9d5ba39a
      Iustin Pop authored
      The submit function was using a very old API. This patch brings it up to
      date.
      
      Reviewed-by: imsnah
      9d5ba39a
  15. Oct 27, 2008
  16. Oct 20, 2008
    • Iustin Pop's avatar
      Fix some pylint-detected issues on the scripts · 2f79bd34
      Iustin Pop authored
      Some names were wrong, and similar stuff detected by pylint.
      gnt-debug.GenericOpCode is still broken.
      
      Reviewed-by: imsnah
      2f79bd34
    • Iustin Pop's avatar
      Convert the gnt scripts to ToStdout/err · 3a24c527
      Iustin Pop authored
      Currently the gnt-* scripts are using a mix of print, logger.ToStd* and
      sys.stderr.write. We convert them all to using cli.ToStdout/err. This
      way, we can easily change the implementation for all at once.
      
      Reviewed-by: imsnah
      3a24c527
  17. Jul 28, 2008
  18. May 13, 2008
    • Iustin Pop's avatar
      Small style fixes · 8d59409f
      Iustin Pop authored
      [Trunk version]
      
      Reviwed-by: imsnah
      8d59409f
    • Iustin Pop's avatar
      Revert "CLI: remove command opts/args in "gnt-X"" · 9a033156
      Iustin Pop authored
      This reverts commit 976.
      
      Reviewed-by: ultrotter
      9a033156
    • Iustin Pop's avatar
      CLI: remove command opts/args in "gnt-X" · 57d0151e
      Iustin Pop authored
      [Forward-port of the 1.2 branch patch]
      
      This patch removes all the parameters and options from the output
      "gnt-X" (i.e. the subcommand list for command). This is done in order to
      uniformize the output, currently only some parameters are shown and they
      are not always consistent (e.g. required versus important parameters).
      
      Reviewed-by: ultrotter
      57d0151e
  19. Apr 16, 2008
    • Iustin Pop's avatar
      Allocator framework, 1st part: allocator input generation · d61df03e
      Iustin Pop authored
      In preparation for the introduction of automatic instance allocator,
      this patch adds an allocator simulation opcode, that based on the input
      parameters, will return either the input message to the allocator
      (implemented) or the result of the allocator run (not yet implemented).
      
      This allows algorithm tests against simulated allocations and the
      current cluster state.
      
      The patch adds the following:
        - a function that generates the generic cluster information for the
          allocator
        - a function that generates the 'new instance' information
        - a function that generates the 'replace_secondary' information
      
      These three functions will be used by the allocator framework later to
      generate the actual information for the external algorithms. Currently
      we just return the json-serialized text.
      
      Reviewed-by: imsnah
      d61df03e
  20. Apr 10, 2008
    • Iustin Pop's avatar
      Add generic opcode submit functionality to gnt-debug · f1c66d13
      Iustin Pop authored
      This patch enhances gnt-debug to be able to submit any opcodes. The
      opcodes are input from a json file containing a list of opcodes.
      
      This allows enhanced testing of opcodes until the other gnt-* commands
      are converted to use the master daemon.
      
      Reviewed-by: ultrotter
      f1c66d13
  21. Apr 01, 2008
    • Iustin Pop's avatar
      Add a gnt-debug tool · fd3ee040
      Iustin Pop authored
      This patch adds a script which submits a job consisting of the
      OpTestDelay opcode. This can be helpful for debugging and can be
      extended to execute other 'debug'-like tasks.
      
      Reviewed-by: ultrotter
      fd3ee040
Loading