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 927f048561777411bbb6171902268fbacaaea80a (commit)
via dcde771a741837777216c5724a136a89887c13f6 (commit)
via 57b8555981f5042968e237cbb1fbedb61970c5ac (commit)
via 15297c0fbfb7b0f7aba3f9102a1c12ed649fe633 (commit)
via ee63ec4854ae068425573f8bfcdefac9e32f3a6c (commit)
via 1fe28164b8c16c2327974e124120910dc877c530 (commit)
via a8e2f2debaa0e05915640594e0344971d99778a2 (commit)
via 7f6889874a0b62fa6ae9d95cf4df6345f180b175 (commit)
via 1d6f8161868a25ac3bfa12157b9313677dcf0c8f (commit)
via 88295be13c7f97a6b9e32edd9bf0e9aa520f8f11 (commit)
via f841d63be2c602012c6a0a8ecb82802aecb8cfd1 (commit)
from ee669e26ba79b7d239c3dd67e5a8e3501a7561ca (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 927f048561777411bbb6171902268fbacaaea80a
Author: Klaus Aehlig <[email protected]>
Date: Tue Oct 7 15:35:34 2014 +0200
Document migration tags in man page
The migration tags provide new means of controlling
hbal's behavior. Document the precise semantics in
the man page.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit dcde771a741837777216c5724a136a89887c13f6
Author: Klaus Aehlig <[email protected]>
Date: Mon Oct 6 12:50:05 2014 +0200
Add test for hbal to honor migration
In this example, all instances are running on the same node,
so balancing will always start migrating instances off this node.
Depending on the migrations are possible, others not.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 57b8555981f5042968e237cbb1fbedb61970c5ac
Author: Klaus Aehlig <[email protected]>
Date: Mon Oct 6 13:24:33 2014 +0200
checkMigration in all migration moves
In this way, we will only allow movements that comply
with our migration tags.
While there, fix the wrong comments about which monad
we're living in.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 15297c0fbfb7b0f7aba3f9102a1c12ed649fe633
Author: Klaus Aehlig <[email protected]>
Date: Mon Oct 6 13:04:05 2014 +0200
Add an operation to guard that migration is supported
...based on the migration tags the respective nodes have.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit ee63ec4854ae068425573f8bfcdefac9e32f3a6c
Author: Klaus Aehlig <[email protected]>
Date: Mon Oct 6 13:11:22 2014 +0200
Add a new failmode FailMig
...to represent failure due to the new migration-restricting
tags.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 1fe28164b8c16c2327974e124120910dc877c530
Author: Klaus Aehlig <[email protected]>
Date: Mon Oct 6 12:02:41 2014 +0200
Set migration-related tags correctly by the loader
In the htools loader, set the migration restrictions correctly from
the node and cluster tags.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit a8e2f2debaa0e05915640594e0344971d99778a2
Author: Klaus Aehlig <[email protected]>
Date: Mon Oct 6 10:43:26 2014 +0200
Extend the node structure by migration-related tags
Migration will be possible, if the migTags set of the node migrated
from is a subset of the rmigTags of the node migrated to.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 7f6889874a0b62fa6ae9d95cf4df6345f180b175
Author: Klaus Aehlig <[email protected]>
Date: Thu Oct 2 16:00:23 2014 +0200
Compute migration restrictions and receiving ability
Provide two functions getMigRestrictions and getRecvMigRestrictions.
The first computes the migration restrictions, given the the cluster
tags and the tags of a node. The second computes the set of restrictions
a node is able to receive, again, given the cluster tags and the node
tags. Migration is possible if the the migration restrictions of the
source node are a subset of the set of restrictions the target node
is able to receive. This is as described in the location awareness
design document.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 1d6f8161868a25ac3bfa12157b9313677dcf0c8f
Author: Klaus Aehlig <[email protected]>
Date: Thu Oct 2 14:17:07 2014 +0200
Move autoRepairTag* to Ganeti.HTools.Tags
These tags are only used by the htools, hence group them
together with the other htools-controlling tags.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 88295be13c7f97a6b9e32edd9bf0e9aa520f8f11
Author: Klaus Aehlig <[email protected]>
Date: Thu Oct 2 13:14:08 2014 +0200
Move standby tags to Ganeti.HTools.Tags
...to avoid having magic names spread all over htools.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit f841d63be2c602012c6a0a8ecb82802aecb8cfd1
Author: Klaus Aehlig <[email protected]>
Date: Thu Oct 2 10:38:16 2014 +0200
Move exclusion-tags prefix to a separate module
Start a new module for htools-related tag interpretation and
move the definition of exclusion tags there. This module will
contain all the tags and tag-prefixes that have a special
meaning to htools, so that they can be found at a single place.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 5 +
man/hbal.rst | 25 ++++++
src/Ganeti/Constants.hs | 20 +----
src/Ganeti/HTools/Cluster.hs | 14 ++-
src/Ganeti/HTools/Loader.hs | 27 ++++---
src/Ganeti/HTools/Node.hs | 23 +++++
src/Ganeti/HTools/Program/Harep.hs | 9 +-
src/Ganeti/HTools/Program/Hsqueeze.hs | 15 +---
src/Ganeti/HTools/Tags.hs | 142 ++++++++++++++++++++++++++++++++
src/Ganeti/HTools/Types.hs | 1 +
test/data/htools/hbal-migration-1.data | 15 ++++
test/data/htools/hbal-migration-2.data | 15 ++++
test/data/htools/hbal-migration-3.data | 16 ++++
test/hs/shelltests/htools-hbal.test | 28 ++++++
14 files changed, 308 insertions(+), 47 deletions(-)
create mode 100644 src/Ganeti/HTools/Tags.hs
create mode 100644 test/data/htools/hbal-migration-1.data
create mode 100644 test/data/htools/hbal-migration-2.data
create mode 100644 test/data/htools/hbal-migration-3.data
create mode 100644 test/hs/shelltests/htools-hbal.test
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.