This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Ganeti core".
The branch, devel-2.1 has been updated
via 016308cbcbd81ffab58e50ef9af78c5cb581f041 (commit)
via 310fbb6467d31df5f40e216d4fdddebaeb76025f (commit)
from 313b2dd43c1a958abdab798558a85b3d3bc8aa2e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 016308cbcbd81ffab58e50ef9af78c5cb581f041
Author: Iustin Pop <[email protected]>
Date: Tue Dec 1 10:17:46 2009 +0100
Simplify utils.ReadFile
The documentation for file objects' read method states that if the size
is "negative or ommitted", all data is read; thus we can simplify it to
have size=-1 by default and not have the if test.
Signed-off-by: Iustin Pop <[email protected]>
Reviewed-by: Michael Hanselmann <[email protected]>
commit 310fbb6467d31df5f40e216d4fdddebaeb76025f
Author: Iustin Pop <[email protected]>
Date: Fri Nov 27 15:25:00 2009 +0100
DRBD: ignore unreadable meta devices
The DRBD driver can ignore dead disks but not dead meta devices (for
which it refuses to configure the minor). To handle this case, we check
that the meta device is readable and if not we ignore it (the same as
when backend._RecursiveAssembleBD didn't find it).
A needed change is the move of some checks and initialisers before this
test (which is before the super().__init__ call), but that should be
fine.
Signed-off-by: Iustin Pop <[email protected]>
Reviewed-by: Michael Hanselmann <[email protected]>
Reviewed-by: Guido Trotter <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
lib/bdev.py | 36 +++++++++++++++++++++++++++++-------
lib/utils.py | 11 ++++-------
2 files changed, 33 insertions(+), 14 deletions(-)
hooks/post-receive
--
Ganeti core