| Branch: | Tag: | Revision:

root / lib @ cc706abc

Name Size
  watcher 820 Bytes 6 kB 112.8 kB 86.6 kB 33.2 kB 5.4 kB 115.5 kB 544.3 kB 3.9 kB 74.5 kB 54.9 kB 26.7 kB 10.6 kB 9.7 kB 73.4 kB 4.6 kB 55.6 kB 16 kB 23.1 kB 18.2 kB 57.8 kB 58.5 kB 63 kB 9.3 kB 71.8 kB 24.2 kB 21.2 kB 6.3 kB 4 kB 15.6 kB 8.6 kB 13.2 kB 11.8 kB 14.3 kB

Latest revisions

# Date Author Comment
cc706abc 07/05/2012 11:41 am Iustin Pop

Fix redistribution of files w.r.t. offline nodes

Currently, _RedistributeAncillaryFiles computes two lists: the list of
online nodes (for all files redistribution), and the list of
vm_capable nodes, for hypervisor-specific files. However, the
vm_capable list includes offline nodes too, leading to warning...

770461fe 07/05/2012 11:35 am René Nussbaumer

Fix cluster verify error on master-ip-setup script

This error does not show up until we exceed the pool of master
candidates and have nodes which are not master candidates.

The background is that we check for master-ip-setup script on master
candidates and expect them not to be on the other nodes. However, we...

f0d22861 06/29/2012 11:38 am Constantinos Venetsanopoulos

Allow param `modify' during gnt-instance modify

With the new gnt-instance modify syntax for addition and removal of
disks/NICs on arbitrary indexes, we hit an assertion if the user
passes `modify' as one of the disk's parameters. E.g::

gnt-instance modify --disk 2:modify,size=3G instance1...
b8291e00 06/28/2012 11:04 am René Nussbaumer

Annotate disk params on instance_os_add

We call _OpenRealBD during the process and this needs disk parameters to
work. This was reported by Constantinos.

The fix is very ugly though.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

55de1d68 06/27/2012 11:03 am René Nussbaumer

Annotate disks upon blockdev_shutdown

Signed-off-by: René Nussbaumer <>
Reviewed-by: Agata Murawska <>

4504bfcb 06/27/2012 11:03 am René Nussbaumer

Annotate disks on blockdev_remove

This annotates the disks for the blockdev_remove where it is
appropriate. It leaves out 2 cases were we can't reliably annotate disk
parameters due to lack of knowledge what we should annotate. Those cases
affects only lvs used for drbd, so it doesn't affect the bug reported by...

b5cbddd9 06/27/2012 11:02 am René Nussbaumer

Annotate disk params on blockdev_getmirrorstatus_multi

This is also related to the bug reported by Constantinos,
as we've only one getmirrorstatus_multi call in whole cmdlib, we just
annotate them while we are building the disk list.

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

70817cee 06/27/2012 11:02 am René Nussbaumer

Annotate disk parameters on blockdev_getmirrorstatus

Not annotating them works for DRBD but not for RBD as reported by

Signed-off-by: René Nussbaumer <>
Reviewed-by: Agata Murawska <>

80b898f9 06/20/2012 11:03 am Iustin Pop

Fix bug in instance net changes

_PrepareNicModification returns the invalid type, which triggers an
assert resulting in a mysterious error:

Failure: command execution error:

Without any explanation. We fix this by removing the return value from
_PrepareNicModification, and instead returning the expected type...

e0b57a5c 06/19/2012 02:02 pm Michael Hanselmann

bdev: Fix DRBD error reporting for syncer rate

The function is supposed to return a list, not a string. Without this
patch the error message ends up as “C, a, n, ', t, , c, h, a, n, g, e,

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

View revisions

Also available in: Atom