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  41238d274a5c510b56ae81426c3986ffddabff94 (commit)
       via  8af729649d68d9f3bbbd3c924720a227f5954740 (commit)
       via  aeb6ba4432fd4d4538f4ed7449f3fa706ee33811 (commit)
       via  8072af6c3642a0704d0f8b87868e7930c6333a4b (commit)
       via  4ba5f1487862301d5c28891c7b628d1cb059d95a (commit)
       via  a5e58418989b32f83baa7a05048b78f1317a552f (commit)
       via  3416e3e7c20c4a4b8b0f1a13cef65f0a295e7d3c (commit)
       via  b6d9bec8bed96e8cbbb6bb122e0854ab59bb8045 (commit)
       via  de9d75c8ac0d65f3dce5f834180b493508cb3413 (commit)
       via  b8e76da871a8665cf0f5908d81ec419c1b3ec550 (commit)
       via  7d8b651eb4013f9ef1824999ac7eacf637866d36 (commit)
       via  3f68544e86bf70cd2468d5e02a6dac567dc9e108 (commit)
       via  f5606cda99db3ef46867c6254a5dd791cc31e20c (commit)
      from  0ae4b3551221e980262dadae9735dd652ba9eb58 (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 41238d274a5c510b56ae81426c3986ffddabff94
Author: Dato Simó <[email protected]>
Date:   Wed Jan 23 23:39:59 2013 +0000

    harep: finish execution with a summary of instance states
    
    The harep tool prints messages for every action that it performs (or that
    it doesn't perform). In case nothing is to be done at all, always print
    some statistics of the current state of the cluster.
    
    Signed-off-by: Dato Simó <[email protected]>
    Reviewed-by: Iustin Pop <[email protected]>

commit 8af729649d68d9f3bbbd3c924720a227f5954740
Author: Dato Simó <[email protected]>
Date:   Wed Jan 23 22:17:19 2013 +0000

    harep: do not wait for repair job completion to set tags
    
    Because of instance locks, after submitting a repair job we weren't able to
    set the "pending" tag until at least the first opcode of the job finished.
    Introduce a small delay in the repair job so as to allow the subsequent
    TAGS_SET job to finish immediately, resulting in faster operation from the
    user's point of view.
    
    Make the duration of the delay configurable with --job-delay; if zero,
    avoid inserting the TestDelay opcode entirely.
    
    Signed-off-by: Dato Simó <[email protected]>
    Reviewed-by: Iustin Pop <[email protected]>

commit aeb6ba4432fd4d4538f4ed7449f3fa706ee33811
Author: Dato Simó <[email protected]>
Date:   Wed Jan 23 19:33:53 2013 +0000

    Document that OpTestDelay/TestDelay take duration in seconds
    
    Also, fix @rtype and @return elements of utils.TestDelay(), which now
    returns a tuple but this wasn't being indicated.
    
    Signed-off-by: Dato Simó <[email protected]>
    Reviewed-by: Helga Velroyen <[email protected]>

commit 8072af6c3642a0704d0f8b87868e7930c6333a4b
Author: Dato Simó <[email protected]>
Date:   Mon Jan 21 21:06:58 2013 +0000

    harep: create repair jobs
    
    Implement 'doRepair' to create a repair job from a list of opcodes if
    the instance's policy allows it (otherwise set an ENOPERM result label),
    _and_ the instance was previously healthy (i.e. not in ArFailed or
    ArPendingRepair).
    
    Signed-off-by: Dato Simó <[email protected]>
    Reviewed-by: Iustin Pop <[email protected]>

commit 4ba5f1487862301d5c28891c7b628d1cb059d95a
Author: Dato Simó <[email protected]>
Date:   Mon Jan 21 21:05:38 2013 +0000

    harep: pure function to detect brokeness with instances
    
    Add a 'detectBroken' function that determines whether an instance is in an
    unhealthy state, and what's needed to repair it. The repair is specified as
    an AutoRepairType constant, and a list of opcodes. The opcodes will only be
    executed (in following patches) if the repair type is allowed by the policy.
    
    Signed-off-by: Dato Simó <[email protected]>
    Reviewed-by: Iustin Pop <[email protected]>

commit a5e58418989b32f83baa7a05048b78f1317a552f
Author: Dato Simó <[email protected]>
Date:   Wed Jan 16 21:47:44 2013 +0000

    harep: check for completed jobs at the start of the program
    
    As a first step before detecting any brokeness with instances, see if any
    of our previous repairs have completed, and move instances to ArFailed or
    ArHealthy accordingly. Do nothing if there are still running jobs for the
    repair.
    
    Signed-off-by: Dato Simó <[email protected]>
    Reviewed-by: Iustin Pop <[email protected]>

commit 3416e3e7c20c4a4b8b0f1a13cef65f0a295e7d3c
Author: Dato Simó <[email protected]>
Date:   Wed Jan 16 21:33:13 2013 +0000

    harep: initial parsing of tags
    
    Parse auto-repair tags to set each instance in one of ArHealthy, ArFailed,
    or ArPendingRepair. The implementation tries to be well behaved when old
    tags have been left behind, which future patches will still try _not_ to do.
    
    Signed-off-by: Dato Simó <[email protected]>
    Reviewed-by: Iustin Pop <[email protected]>

commit b6d9bec8bed96e8cbbb6bb122e0854ab59bb8045
Author: Dato Simó <[email protected]>
Date:   Wed Jan 16 20:57:30 2013 +0000

    Program/Harep.hs: add skeleton for the new auto-repair tool
    
    harep(1) detects certain kind of problems with instances and applies the
    allowed set of solutions. See doc/design-autorepair.rst.
    
    Signed-off-by: Dato Simó <[email protected]>
    Reviewed-by: Iustin Pop <[email protected]>

commit de9d75c8ac0d65f3dce5f834180b493508cb3413
Author: Dato Simó <[email protected]>
Date:   Wed Jan 16 20:46:08 2013 +0000

    HTools/Types.hs: minor adjustments to auto-repair types
    
    In particular:
    
      - make ArHealthy take an optional AutoRepairData; this allows to
        represent the situation where a repair completed successfully, and
        hence there's an associated tag we might want to know about.
    
      - add an 'arTag' member to AutoRepairData to store the exact tag this
        data was derived from; this allows for easier removal of the tag when
        its associated state is superseded. It also stores the tag that will
        be written to the cluster when a new AutoRepairData record is created.
    
      - change the default sort order of AutoRepairResult to reflect the
        precedence used when reading tags from an object (a failure, if
        present, is always the resulting state; a success overrides an
        ENOPERM).
    
      - (trivial) make AutoRepairStatus and AutoRepairData derive Eq and Show.
    
    Signed-off-by: Dato Simó <[email protected]>
    Reviewed-by: Iustin Pop <[email protected]>

commit b8e76da871a8665cf0f5908d81ec419c1b3ec550
Author: Dato Simó <[email protected]>
Date:   Mon Jan 14 17:04:25 2013 +0000

    Jobs.hs: start with a shorter delay in waitForJobs
    
    Instead of waiting 15 seconds every iteration of the waiting loop, start
    with 0.5 seconds and increment exponentially until a certain maximum is
    reached. Keep the maximum at 15 seconds.
    
    Signed-off-by: Dato Simó <[email protected]>
    Reviewed-by: Iustin Pop <[email protected]>

commit 7d8b651eb4013f9ef1824999ac7eacf637866d36
Author: Dato Simó <[email protected]>
Date:   Wed Jan 16 20:45:41 2013 +0000

    Jobs.hs: add an execJobsWaitOk function
    
    This new 'execJobsWaitOk' returns "Bad" not only if an error occurs, but if
    any of the submitted jobs doesn't succeed.
    
    Signed-off-by: Dato Simó <[email protected]>
    Reviewed-by: Iustin Pop <[email protected]>

commit 3f68544e86bf70cd2468d5e02a6dac567dc9e108
Author: Dato Simó <[email protected]>
Date:   Tue Jan 22 16:20:34 2013 +0000

    Jobs.hs: add a submitJobs function
    
    This new 'submitJobs' function doesn't wait for job completion, it just
    returns the job IDs immediately.
    
    Signed-off-by: Dato Simó <[email protected]>
    Reviewed-by: Iustin Pop <[email protected]>

commit f5606cda99db3ef46867c6254a5dd791cc31e20c
Author: Dato Simó <[email protected]>
Date:   Mon Jan 28 17:36:57 2013 +0000

    Fix typo ("Abrreviation" -> "Abbreviation" in Common.hs)
    
    Signed-off-by: Dato Simó <[email protected]>
    Reviewed-by: Guido Trotter <[email protected]>

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

Summary of changes:
 Makefile.am                        |    3 +-
 lib/opcodes.py                     |    2 +-
 lib/utils/wrapper.py               |    7 +-
 src/Ganeti/Common.hs               |    2 +-
 src/Ganeti/HTools/CLI.hs           |   12 +
 src/Ganeti/HTools/Program/Harep.hs |  478 ++++++++++++++++++++++++++++++++++++
 src/Ganeti/HTools/Program/Main.hs  |    4 +
 src/Ganeti/HTools/Types.hs         |   11 +-
 src/Ganeti/Jobs.hs                 |   58 ++++-
 test/hs/Test/Ganeti/Common.hs      |    3 +
 10 files changed, 557 insertions(+), 23 deletions(-)
 create mode 100644 src/Ganeti/HTools/Program/Harep.hs


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/groups/opt_out.


Reply via email to