| Branch: | Tag: | Revision:

root / lib @ 7a1ecaed

Name Size 994 Bytes 791 Bytes 45.1 kB 70.4 kB 17.5 kB 146.1 kB 20.4 kB 4.6 kB 4.3 kB 20.1 kB 3.1 kB 29 kB 5.8 kB 6.8 kB 10 kB 20.6 kB 10.9 kB 15.6 kB 5.1 kB 6.7 kB 28.5 kB

Latest revisions

# Date Author Comment
7a1ecaed 04/04/2008 03:44 pm Iustin Pop

Add a simple gnt-job script

This patch adds a very basic gnt-job script that allows job querying.
This goes on top of the previous master daemon patches.

Currently, because of the not-changed cmd lock, you can't query the jobs
as long as a job is running - you have to rm the cmd lock and then you...

8f765069 04/04/2008 03:02 pm Iustin Pop

Move the daemonize function to

Currently, in ganeti-noded we have the createDaemon function. Since
we'll need the same in other daemons, we move this function to

With the move, a few changes were also done:
- change the name to Daemonize()...

aa9d0c32 04/02/2008 09:32 pm Guido Trotter

Improve disk consistency error message again

This new version includes all the possible failure options.

Reviewed-by: iustinp

ad6d3f7d 04/02/2008 09:06 pm Guido Trotter

Fix misleading error message when checking disks

_CheckDiskConsistency outputs "Can't get any data from node NODE" when no drbd
is found on the target node. This causes a misleading error message to be
output for example on failover (when the primary node is down, or the instance...

a0aaa0d0 04/02/2008 09:05 pm Guido Trotter

Handle better failing over non-running instances

Right now if you try to failover an instance which is not marked as up the
operation will fail unless you pass the --ignore-consistency flag because the
disks won't be considered to be consistent. Allow them to be if we know the...

fb300fb7 04/02/2008 09:05 pm Guido Trotter

Improve export and fix export-on-norun bug

Currently gnt-backup export chains the ShutdownInstance and StartupInstance
opcodes to itself. This works but (a) it's suboptimal, because there's no need
to deactivate the instance's disks as we are about to restart it anyway, and...

2d3e73c4 04/02/2008 05:15 pm Michael Hanselmann

Forcibly convert export data to str object

ConfigParser.SafeConfigParser doesn't support unicode string objects.
Unicode string objects are returned by simplejson.

Reviewed-by: iustinp

12a0cfbe 04/02/2008 01:01 pm Guido Trotter

failover: only start instance if we should

gnt-instance failover on an instance marked as down will mistakenly bring it
up. The watcher will then shut it down again, but it's a lot better (and safer)
not to start it at all.

Reviewed-by: imsnah

c5cc3403 04/02/2008 12:53 pm Guido Trotter

Locking: fix one indentation error (codestyle)

Reviewed-by: imsnah

4e07ec8c 04/02/2008 12:52 pm Guido Trotter

Locking: fix superlong lines (codestyle)

Reviewed-by: imsnah

View revisions

Also available in: Atom