Skip to content
Snippets Groups Projects
  1. Aug 08, 2008
  2. Aug 07, 2008
  3. Aug 06, 2008
  4. Aug 05, 2008
  5. Aug 04, 2008
  6. Jul 31, 2008
    • Michael Hanselmann's avatar
      jqueue: Move assert into decorator · db37da70
      Michael Hanselmann authored
      This reduces code duplication. A later patch will modify the job queue
      a bit more and will need a change of this assert. The assertion is
      also removed from all class-internal functions.
      
      Reviewed-by: iustinp
      db37da70
    • Iustin Pop's avatar
      Split cli.SubmitOpCode in two parts · 0a1e74d9
      Iustin Pop authored
      The current SubmitOpCode function is not flexible enough to be used for
      submitters that don't want to wait for the job finish.
      
      The patch splits this in two, a SendJob function and a PollJob one, and
      the old SubmitOpCode becomes a wrapper. Note that the new SendJob takes
      a list of opcodes (and not a single opcode anymore).
      
      Reviewed-by: imsnah
      0a1e74d9
    • Michael Hanselmann's avatar
      Allow job queue files to be uploaded through ganeti-noded · afee8008
      Michael Hanselmann authored
      This is needed for job queue replication.
      
      Reviewed-by: iustinp
      afee8008
    • Michael Hanselmann's avatar
      Add FileLock utility class · a87b4824
      Michael Hanselmann authored
      This class is a wrapper around fcntl.flock and abstracts opening and
      closing the lockfile. It'll used for the job queue.
      
      (The patch also removes a duplicate import of tempfile into the unittest)
      
      Reviewed-by: iustinp
      a87b4824
    • Michael Hanselmann's avatar
      jqueue: Store context in job queue instead of worker pool · 5bdce580
      Michael Hanselmann authored
      The job queue will need to access to configuration, which is provided
      through the context object, to get a list of nodes.
      
      Reviewed-by: iustinp
      5bdce580
Loading