Skip to content
Snippets Groups Projects
Commit 89907375 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

doc/admin: Clarify archived jobs


Also mention that archived jobs can be viewed using “gnt-job info”.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 4f44e311
No related branches found
No related tags found
No related merge requests found
...@@ -1344,16 +1344,14 @@ But not one that has already started execution:: ...@@ -1344,16 +1344,14 @@ But not one that has already started execution::
There are two queues for jobs: the *current* and the *archive* There are two queues for jobs: the *current* and the *archive*
queue. Jobs are initially submitted to the current queue, and they stay queue. Jobs are initially submitted to the current queue, and they stay
in that queue until they have finished execution (either successfully or in that queue until they have finished execution (either successfully or
not). At that point, they can be moved into the archive queue, and the not). At that point, they can be moved into the archive queue using e.g.
ganeti-watcher script will do this automatically after 6 hours. The ``gnt-job autoarchive all``. The ``ganeti-watcher`` script will do this
ganeti-cleaner script will remove the jobs from the archive directory automatically 6 hours after a job is finished. The ``ganeti-cleaner``
script will then remove archived the jobs from the archive directory
after three weeks. after three weeks.
Note that only jobs in the current queue can be viewed via the list and Note that ``gnt-job list`` only shows jobs in the current queue.
info commands; Ganeti itself doesn't examine the archive directory. If Archived jobs can be viewed using ``gnt-job info <id>``.
you need to see an older job, either move the file manually in the
top-level queue directory, or look at its contents (it's a
JSON-formatted file).
Special Ganeti deployments Special Ganeti deployments
-------------------------- --------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment