| Branch: | Tag: | Revision:

root / lib @ dd94e9f6

Name Size
  watcher 820 Bytes 6 kB 101 kB 66.7 kB 27.3 kB 93.1 kB 399.2 kB 3.7 kB 59.2 kB 32 kB 23.1 kB 9.6 kB 3.7 kB 58.2 kB 3.7 kB 47.8 kB 15.5 kB 18.8 kB 13.6 kB 41.5 kB 24 kB 2.6 kB 28 kB 46.1 kB 3.3 kB 4.5 kB 14.9 kB 8.6 kB 12.5 kB 11.8 kB 110.4 kB 13.3 kB

Latest revisions

# Date Author Comment
dd94e9f6 12/17/2010 06:51 pm René Nussbaumer

gnt-node modify: Adding --node-powered=yes|no

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

0ecef64c 12/17/2010 06:50 pm René Nussbaumer

LUSetNodeParams: Add support for powered state

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

78758f1e 12/17/2010 06:50 pm René Nussbaumer

LUSetNodeParams/LUOobCommand respect offline/powered

This patch makes sure we cross verify the state the node is
in with our view:

power off -> Node has to be set offline
modify -O no -> Node has to be powered

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

d363797e 12/17/2010 06:50 pm René Nussbaumer

gnt-node power: Mark also offline when powering off

Signed-off-by: René Nussbaumer <>
Reviewed-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

1ef6e776 12/17/2010 06:42 pm Michael Hanselmann

Merge branch 'devel-2.3'

  • devel-2.3:
    QA: Run cluster-verify as part of all instance tests
    QA: Fix typo and add “not”
    ensure-dirs: Speed up when using big queues
    Fix gnt-cluster verify with diskless instances

lib/ Trivial
qa/ Trivial...

153533f3 12/17/2010 05:51 pm Michael Hanselmann

utils.NiceSort: Use sorted(), add keyfunc, unittests

This patch changes utils.NiceSort to use the built-in “sorted()” and
gets rid of the intermediate list. Instead of wrapping the items
ourselves, a key function is used. The caller can specify another key...

7c2e922e 12/17/2010 05:36 pm Iustin Pop

ShutdownInstanceDisks: accept offline secondaries

For secondary node that is offline, we should not consider that the
disk shutdown has failed, as it can never succeed under this cluster
state and (by virtue of the fact that the secondary node is offline)...

2c0f74f2 12/17/2010 03:00 pm Iustin Pop

RpcResult: simplify some asserts

data ≫ code, eom.

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

4c3ac53a 12/16/2010 03:59 pm René Nussbaumer

LUAddNode: default ndparams to empty dict when not provided

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

4f5c2533 12/15/2010 08:18 pm Adeodato Simo

Fix gnt-cluster verify with diskless instances

`gnt-cluster verify` was failing with KeyError if there was any
diskless instance in the cluster. This was because _CollectDiskInfo()
was not including these instances in the returned dictionary, but they
were expected to be present in LUVerifyCluster.Exec()....

View revisions

Also available in: Atom