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, stable-2.13 has been updated
via 07ff3e2285bbe03bfd2ef103a30162a61fa63651 (commit)
from 4c2ca71174659737afea7669c9ff4435da4dbefc (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 07ff3e2285bbe03bfd2ef103a30162a61fa63651
Author: Dimitris Aragiorgis <[email protected]>
Date: Fri Oct 24 17:04:47 2014 +0300
Let drbd disks resync during cluster verify
Commit 9b0e86e issues an error during cluster verify if the status
of DRBD is degraded and if the local disk is not UpToDate.
Still in case of a newly created instance or a newly attached disk with
--no-wait-for-sync, if a cluster verify runs it will report errors
for the instance's disks that are syncing.
This patch does the following:
- Adds a new local disk state namely LDS_SYNC.
- Thinks of a drbd device that is syncing as degraded.
- During cluster verify, if the device is degraded, the local disk
status is checked and if it is ok or syncing it prints a warning
instead of an error.
- Updates the order of lds to: ok < syncing < unknown < faulty
Signed-off-by: Dimitris Aragiorgis <[email protected]>
Signed-off-by: Petr Pudlak <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
lib/cmdlib/cluster.py | 21 ++++++++++++---------
lib/storage/drbd.py | 2 ++
src/Ganeti/Constants.hs | 3 +++
src/Ganeti/Types.hs | 8 +++++---
test/py/cmdlib/cluster_unittest.py | 1 +
5 files changed, 23 insertions(+), 12 deletions(-)
hooks/post-receive
--
Ganeti core
--
---
You received this message because you are subscribed to the Google Groups
"ganeti-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.