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, master has been updated
via bd87b4e43240b2b0a718bb2b6226841420ada3f4 (commit)
from 6f590a7266aa6c83abe258411d41bf0d612504bb (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 bd87b4e43240b2b0a718bb2b6226841420ada3f4
Author: Aaron Karper <[email protected]>
Date: Wed Nov 5 13:38:28 2014 +0100
Fixing handling of diskless instances
There were several checks that `all(...)` disks were of a certain type.
This leads to (often) wrong behaviour: `all([])` is true, so diskless
instances are all kinds of types. This fixes the issue by introducing
the helper functions AllDisksOfType and AnyDisksOfType.
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
lib/cmdlib/cluster.py | 11 ++++---
lib/cmdlib/group.py | 5 ++-
lib/cmdlib/instance_create.py | 6 ++--
lib/cmdlib/instance_migration.py | 9 +++---
lib/cmdlib/instance_set_params.py | 11 +++----
lib/cmdlib/instance_storage.py | 12 ++++----
lib/cmdlib/instance_utils.py | 55 +++++++++++++++++++++++++++++++++++++
lib/cmdlib/node.py | 3 +-
8 files changed, 85 insertions(+), 27 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.