1. 08 Aug, 2008 17 commits
  2. 07 Aug, 2008 2 commits
  3. 06 Aug, 2008 11 commits
  4. 05 Aug, 2008 1 commit
  5. 04 Aug, 2008 5 commits
  6. 31 Jul, 2008 4 commits
    • 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
    • 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
    • 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
    • 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