[SCM] Ganeti core branch master updated. v2.5.0rc5-817-g5c52dae

0 views
Skip to first unread message

ganeti-vcs

unread,
Feb 29, 2012, 9:20:25 AM2/29/12
to ganeti-...@googlegroups.com
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 5c52dae617da0397ccb491aede43df88bd7641a7 (commit)
via ee4ffc8a3ec7607e5ea8b0c6704fc95ddcdfc744 (commit)
via eae69eeeeabc7763e1a3fd5fcca63ae168b1a29b (commit)
via 084565acfbf067ef8317352816e23f25048d92e6 (commit)
via 82f19570b6508331cf84d3e850eb579df0d30be7 (commit)
via 7959cbb9e9bc627be364d3e3e404c3d45141ed16 (commit)
via f87c9f5d1578821334f371db94a724b4630871aa (commit)
via 0c7d4422715c27c597da8bcc8baa3e886e36e246 (commit)
via f951bd093603868d39d8bf61c03c31c213bf068a (commit)
via 34ace26689adcb107ed0c195e6c2bec782626c42 (commit)
via 8bc34c7b62c0eb5fbbad70e0e8f19b011b346db2 (commit)
via c22d4dd497802903c1d562c66c19a4a6908eb5f2 (commit)
from e2bdaf256e8c01010cc9f46e25017b2f5fae92cc (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 5c52dae617da0397ccb491aede43df88bd7641a7
Author: Iustin Pop <ius...@google.com>
Date: Tue Feb 21 10:42:32 2012 +0100

Fixup a Node unittest

This fixes the prop_Node_rMem test, which cares about memory only;
otherwise we could fail due to other problems (e.g. not enough disk).

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: René Nussbaumer <r...@google.com>

commit ee4ffc8a3ec7607e5ea8b0c6704fc95ddcdfc744
Author: Iustin Pop <ius...@google.com>
Date: Mon Feb 20 13:45:24 2012 +0100

Allow overriding the target test count

This is not perfect, as the override applies identical target test
values to both the 'fast' and 'slow' tests (making the slow tests take
a long time), but it allows a quick override for manual runs.

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: René Nussbaumer <r...@google.com>

commit eae69eeeeabc7763e1a3fd5fcca63ae168b1a29b
Author: Iustin Pop <ius...@google.com>
Date: Mon Feb 20 13:30:04 2012 +0100

Add two more unittests for Node add/remove

These just test that add/remove are idempotent. This is not perfect,
as we use unsorted lists for some values (instead of sets), so when
using non-empty nodes this would break (but for empty nodes, a
1-element list is sorted, so it's fine).

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: René Nussbaumer <r...@google.com>

commit 084565acfbf067ef8317352816e23f25048d92e6
Author: Iustin Pop <ius...@google.com>
Date: Mon Feb 20 13:14:27 2012 +0100

Use the spindles metric in cluster scores

This makes balancing use the new metric.

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: René Nussbaumer <r...@google.com>

commit 82f19570b6508331cf84d3e850eb579df0d30be7
Author: Iustin Pop <ius...@google.com>
Date: Mon Feb 20 12:18:15 2012 +0100

Track instance-used spindles in node set/add/remove

This simply tracks the instance-used spindles (using hard-coded '1'
per instance), and additionally prevents additions in soft-mode when
we go over the limit.

Note: there's an assymetry between addSec and removeSec (basically
secondaries should only exist with DTDrbd8, so the check for uses_disk
is superflous), will be cleaned up later.

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: René Nussbaumer <r...@google.com>

commit 7959cbb9e9bc627be364d3e3e404c3d45141ed16
Author: Iustin Pop <ius...@google.com>
Date: Mon Feb 20 11:43:50 2012 +0100

Shorten some function names

Since we use the functions always module-qualified, let's drop the
`instance` prefix and use a shorter one.

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: Michael Hanselmann <han...@google.com>

commit f87c9f5d1578821334f371db94a724b4630871aa
Author: Iustin Pop <ius...@google.com>
Date: Sun Feb 19 21:43:40 2012 +0100

Simplify logic in Node operations

This patch adds two helper functions and uses them for a somewhat
simplified logic in the add/remove pri/sec node functions.

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: René Nussbaumer <r...@google.com>

commit 0c7d4422715c27c597da8bcc8baa3e886e36e246
Author: Iustin Pop <ius...@google.com>
Date: Thu Feb 16 13:43:01 2012 +0100

htools: support spindles in simu backend

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: René Nussbaumer <r...@google.com>

commit f951bd093603868d39d8bf61c03c31c213bf068a
Author: Iustin Pop <ius...@google.com>
Date: Thu Feb 16 13:34:02 2012 +0100

htools: support spindles in text load/save

If missing, we'll default to 1 spindle.

This also updates the text file format with the ipolicy, which was
forgotten.

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: René Nussbaumer <r...@google.com>

commit 34ace26689adcb107ed0c195e6c2bec782626c42
Author: Iustin Pop <ius...@google.com>
Date: Thu Feb 16 12:57:51 2012 +0100

htools: add support for listing spindles for nodes

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: René Nussbaumer <r...@google.com>

commit 8bc34c7b62c0eb5fbbad70e0e8f19b011b346db2
Author: Iustin Pop <ius...@google.com>
Date: Thu Feb 16 12:52:54 2012 +0100

htools: add spindle-related attribute to nodes

This adds the spindleCount, hiSpindles and instSpindles attributes.

The spindleCount is equivalent to spindle_count on the ganeti side (a
node parameter). hiSpindles is the maximum instance-used spindles, and
instSpindles will be used to track spindles as used by instances (in
later patches).

The patch also reads spindleCount from the live backends. The text and
simu backends currently set it to 1, hard-coded.

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: René Nussbaumer <r...@google.com>

commit c22d4dd497802903c1d562c66c19a4a6908eb5f2
Author: Iustin Pop <ius...@google.com>
Date: Fri Jan 27 17:21:24 2012 +0100

Add spindle ratio to htool's IPolicy

Just the usual data/type declarations, read/save in the text backend,
etc. Also does a bit of unit-test cleanup (the way we build
ipolicies).

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: René Nussbaumer <r...@google.com>

-----------------------------------------------------------------------

Summary of changes:
htools/Ganeti/HTools/CLI.hs | 11 ++++
htools/Ganeti/HTools/Cluster.hs | 9 ++-
htools/Ganeti/HTools/IAlloc.hs | 9 ++-
htools/Ganeti/HTools/Instance.hs | 34 +++++++-------
htools/Ganeti/HTools/Loader.hs | 2 +-
htools/Ganeti/HTools/Luxi.hs | 11 ++--
htools/Ganeti/HTools/Node.hs | 97 +++++++++++++++++++++++++++++---------
htools/Ganeti/HTools/QC.hs | 48 +++++++++++++++----
htools/Ganeti/HTools/Rapi.hs | 8 ++-
htools/Ganeti/HTools/Simu.hs | 40 +++++++++-------
htools/Ganeti/HTools/Text.hs | 24 +++++++---
htools/Ganeti/HTools/Types.hs | 3 +
htools/test.hs | 8 ++-
man/htools.rst | 29 +++++++++--
14 files changed, 237 insertions(+), 96 deletions(-)


hooks/post-receive
--
Ganeti core

Reply all
Reply to author
Forward
0 new messages