| Branch: | Tag: | Revision:

root / test @ fab9573b

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.3 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
fab9573b 08/02/2011 12:08 pm Michael Hanselmann

Add primary/second nodes' group as query fields

These will be very useful for ganeti-watcher as it needs to retrieve
instances by group.

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

1ce03fb1 07/26/2011 02:19 pm Michael Hanselmann

Add ht-based result checks to opcodes

This adds the infrastructure necessary to check opcode results using
ht-based functions. Checks are added for two opcodes.

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

0fa044e7 07/25/2011 04:06 pm Michael Hanselmann

Merge branch 'devel-2.4'

  • devel-2.4:
    Reopen daemon's stdio on SIGHUP
    Reopen log file only once after SIGHUP
    Don't leak file descriptors when setting up daemon output
    Fix aliases in bash completion

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

ad88650c 07/25/2011 04:01 pm Michael Hanselmann

Reopen log file only once after SIGHUP

Commit b6fa9a44 added a re-openable log handler. The log file is
reopened when a daemon is sent a HUP signal. Due to a bug in the code,
fixed by this patch, the log file would be reopened for every single log
message thereafter....

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 <>

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 <>

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...

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 <>...

View revisions

Also available in: Atom