| Branch: | Tag: | Revision:

root / test @ c0a146a1

Name Size
  data 11.4 kB
check-cert-expired_unittest.bash 1.9 kB
daemon-util_unittest.bash 2.2 kB 6.8 kB
ganeti-cleaner_unittest.bash 4.1 kB 6.4 kB 3.3 kB 8.9 kB 3.6 kB 31.2 kB 5.2 kB 4.7 kB 7 kB 3.3 kB 7.1 kB 8.7 kB 4.5 kB 24 kB 2.5 kB 17 kB 8.8 kB 14.4 kB 1.6 kB 1.3 kB 2.7 kB 1.4 kB 1.5 kB 1.7 kB 8.5 kB 74.2 kB 76.1 kB 8.9 kB 5.6 kB 2.1 kB 14.3 kB 9.6 kB 11 kB 7.6 kB 63.2 kB 3.3 kB 50.8 kB 2.3 kB 18 kB 10 kB 5 kB 3.5 kB 1.7 kB 5.1 kB 3.8 kB 8.9 kB 4.3 kB 4.4 kB 25.1 kB 6.2 kB 1.5 kB 3.9 kB 22.8 kB 4.5 kB 17.6 kB 3.8 kB 9 kB 10 kB 12 kB
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB 2.6 kB 3.1 kB 5.5 kB

Latest revisions

# Date Author Comment
c0a146a1 07/21/2011 04:25 pm Michael Hanselmann

Implement instance failover via RAPI

No idea why this was missed before.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

44b4eddc 07/21/2011 02:55 pm Michael Hanselmann

Make lock monitor more versatile

With this change it'll be possible to register other lock information
providers. One usecase for this are job dependencies, which can be shown
in the output of “gnt-debug locks”, too.

The lock monitor is changed to accept more than one return value from...

fcb21ad7 07/21/2011 02:55 pm Michael Hanselmann

Export job dependencies through lock monitor

This makes them visible to the user. Example:

$ gnt-debug locks -o name,pending
Name Pending
job/890 job:891,892
job/892 job:894

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

47099cd1 07/21/2011 02:20 pm Michael Hanselmann


This patch renames the {JOB,OP}_STATUS_WAITLOCK constants to {JOB,OP}_STATUS_WAITING, as per design document for chained jobs.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

75d81fc8 07/21/2011 11:58 am Michael Hanselmann

Fix locking issue with job dependencies

When jobs waiting for a dependency are notified, they're re-added to the
queue. This would require owning the queue lock in exclusive mode, but
since the function doing so is called from within the job/opcode
processor, it only holds the lock in shared mode....

b247c6fc 07/21/2011 08:33 am Michael Hanselmann

jqueue: Implement submitting multiple jobs with dependencies

With this change users of the “SubmitManyJobs” interface can use
relative job dependencies. Relative job IDs in dependencies are resolved
before handing the job off to the workerpool.

Signed-off-by: Michael Hanselmann <>...

c0f6d0d8 07/20/2011 03:11 pm Michael Hanselmann

jqueue: Add “writable” flag to memory objects

Basically only one instance of the job, the one being processed,
should be serialized to disk and replicated to other nodes. With
this flag assertions can be added in various places.

Signed-off-by: Michael Hanselmann <>...

b95479a5 07/20/2011 03:11 pm Michael Hanselmann

Implement chained jobs

An overview is available in the design document for this change,

When a job enters the job processor, the current opcode's dependencies
are evaluated. If a referenced job has not yet reached the desired...

2f4c951e 07/15/2011 12:27 pm Stephen Shirley

Adding a wrapper around connecting to kvm console

The wrapper will connect to the console, and check in the background if
the instance is paused, unpausing it as necessary.

Signed-off-by: Stephen Shirley <>
Reviewed-by: Michael Hanselmann <>

05484a24 07/12/2011 06:23 pm Michael Hanselmann

cli.GetOnlineNodes: Support node group filter, use query2

This patc changes cli.GetOnlineNodes to use query2, which does the
filtering in the master daemon, and adds a new parameter to filter by
node group.

Unittests were added for the old implementation and then adopted to...

View revisions

Also available in: Atom