Statistics
| Branch: | Tag: | Revision:

root / lib @ 099b2870

Name Size
  build
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
__init__.py 820 Bytes
asyncnotifier.py 5.1 kB
backend.py 98.8 kB
bdev.py 65 kB
bootstrap.py 26.3 kB
cli.py 80.3 kB
cmdlib.py 366.1 kB
compat.py 3.7 kB
config.py 53.8 kB
constants.py 29.1 kB
daemon.py 20.4 kB
errors.py 9.3 kB
jqueue.py 50.3 kB
jstore.py 3.7 kB
locking.py 48.4 kB
luxi.py 13.7 kB
mcpu.py 18.8 kB
netutils.py 13.6 kB
objects.py 36.9 kB
opcodes.py 21 kB
rpc.py 44.5 kB
runtime.py 3.3 kB
serializer.py 4.5 kB
ssconf.py 14.9 kB
ssh.py 8.6 kB
storage.py 12.5 kB
uidpool.py 11.8 kB
utils.py 102.3 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
099b2870 09/16/2010 01:25 pm Michael Hanselmann

jqueue: Move CancelJob logic to separate function

Moving the internals of this function will allow it to be used from
unittests in the future. Splitting this into a pure, side-effect free
function and an impure one makes the pure function easily testable....

42e32075 09/16/2010 10:25 am Iustin Pop

Merge branch 'devel-2.2'

  • devel-2.2:
    Fix case of MAC special-values
    Remove mcpu's ReportLocks callback
    Revert "jqueue: Resume jobs from “waitlock” status"

(no conflicts, took LGTM from original commit)

Signed-off-by: Iustin Pop <>...

31684f84 09/15/2010 03:58 pm René Nussbaumer

Stop all daemons precautiosly before trying to start ganeti-noded again

Please note that if the pid file is broken or missing we'll not catch
the process (if any is running) and it's up to the user to fix this state

Signed-off-by: René Nussbaumer <>...

ace16501 09/15/2010 03:42 pm Guido Trotter

Check for duplicate nodegroup names

Since the nodegroups dict is indexed by uuid duplicate names might
happen as a result of bugs. Add a check to prevent them.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

c60abd62 09/15/2010 02:08 pm Guido Trotter

Split a long docstring line in objects.py

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

88b92fe3 09/15/2010 02:08 pm Guido Trotter

InitConfig: create nodegroups as well

This patch also ensures that the initial configuration has all the
needed UUIDs and that they are unique, by using a
TemporaryReservationManager inside InitConfit to generate them.

Signed-off-by: Guido Trotter <>...

6f076453 09/14/2010 07:49 pm Guido Trotter

Export nodegroups list (names/uuids) via ssconf

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

36e247e1 09/14/2010 07:49 pm Guido Trotter

Add nodegroup bash autocomplation

We autocomplete both by nodegroup name and uuid.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

5fbbd028 09/14/2010 07:49 pm Guido Trotter

Add nodegroup option to AddNode

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

190e3cb6 09/14/2010 07:49 pm Guido Trotter

Add node's nodegroup field

If a node doesn't have a node group we'll upgrade the config making it
the cluster default. Also the node add and removal operations are
changed to set/clear the node group correctly. Finally we populate the
"members" list of nodegroups on config load with the value from the...

View revisions

Also available in: Atom