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 b31ad7f676bfedbb891ede23b5a6239f653660bc (commit)
via d09fc285a4b919370f73a8847b1e65fe58db3a2c (commit)
via b7eb6ba3e82b7746348fdaa0abf4b586e6e86eed (commit)
via 3ea52c9bb5f36706d6dac2e052152d66bdac53d1 (commit)
via d7400223f47aabf78e97eeec2bb5e17666be5590 (commit)
from bb10fd00b101befcd95d3e2eb175ac6ad9de2f1b (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 b31ad7f676bfedbb891ede23b5a6239f653660bc
Author: Alex Pyrgiotis <[email protected]>
Date: Fri Oct 24 12:40:13 2014 +0300
Update various tests regarding disk creation
Update the tests that deal with disk creation and check if the nodes
field is populated correctly when creating a disk.
Signed-off-by: Alex Pyrogiotis <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit d09fc285a4b919370f73a8847b1e65fe58db3a2c
Author: Alex Pyrgiotis <[email protected]>
Date: Fri Oct 24 12:40:12 2014 +0300
Update cfgupgrade tool
Create an upgrade function that adds a nodes field to each disk that is
attached to an instance. Also, add a downgrade function that removes the
nodes field and brings the config to the default state for 2.12.
Signed-off-by: Alex Pyrogiotis <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit b7eb6ba3e82b7746348fdaa0abf4b586e6e86eed
Author: Alex Pyrgiotis <[email protected]>
Date: Fri Oct 24 12:40:11 2014 +0300
Maintain consistency of nodes field
There are four scenarios in which the nodes field can change after the
disk's creation; when moving, replacing, converting or recreating disks.
For each scenario, update the nodes field accordingly.
Signed-off-by: Alex Pyrogiotis <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 3ea52c9bb5f36706d6dac2e052152d66bdac53d1
Author: Alex Pyrgiotis <[email protected]>
Date: Fri Oct 24 12:40:10 2014 +0300
Populate disk nodes when creating disks
When creating a Disk using the GenerateDiskTemplate function, fill the
nodes field depending on the disk template. There are three cases:
1) Internally mirrored disks (DRBD):
These disks are accessible from two nodes, so the nodes field will
include these. Their children (data, meta) are also accessible from
two nodes, therefore they will inherit the nodes of the parent.
2) Externally mirrored disks (Blockdev, Ext, Gluster, RBD, Shared File):
These disks should be accessible from any node in the cluster,
therefore the nodes field will be empty.
3) Single-node disks (Plain, File):
These disks are accessible from one node only, therefore the nodes
field will consist only of the primary instance node.
Signed-off-by: Alex Pyrogiotis <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit d7400223f47aabf78e97eeec2bb5e17666be5590
Author: Alex Pyrgiotis <[email protected]>
Date: Fri Oct 24 12:40:09 2014 +0300
Add nodes field in class Disk
Add a field called "nodes" in the Disk class. This field will be a list
of Ganeti node UUIDs from which this disk is accessible. Also, update
the Haskell tests in order to adjust to this change.
Signed-off-by: Alex Pyrogiotis <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
lib/cmdlib/instance.py | 5 ++-
lib/cmdlib/instance_storage.py | 19 +++++++--
lib/config.py | 12 ++++++
lib/objects.py | 1 +
src/Ganeti/Config.hs | 4 +-
src/Ganeti/Objects.hs | 2 +
test/hs/Test/Ganeti/Objects.hs | 22 +++++++----
test/py/cmdlib/instance_unittest.py | 19 +++++++++
tools/cfgupgrade | 74 +++++++++++++++++++++++++++++++++++
9 files changed, 143 insertions(+), 15 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.