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 976538e51bef20ed0d523a20b945623e9a297c12 (commit)
via 70a71730aa2569428d587ef45fefde80b8d8cf2c (commit)
via 91b8f1207b60b308d87166b25b05c93a27b36630 (commit)
via f963755896cb5edb516c7ce41981fa8f64419ff9 (commit)
via edf17b5ee9e80b6a639b45e30aa57a3f317bc631 (commit)
via 754dae725ec4f029725a76ce02ee2b9c66807ebd (commit)
via 2a71264e675a90d2f4e2aa6372a925af6f520314 (commit)
via 3b4296047a477a99dba84aed50295a16a9e34cf3 (commit)
via e79fe44c45ced506e24ef93f62c2c654f841dbce (commit)
via 2860dfe1c5723db094abeae3db8f39c1d52325da (commit)
via 45eeab76a473acf285557bcae775bdfe3bed96e5 (commit)
via e5ac8eae157c287dffe77aad06b0fad7f72cf205 (commit)
via 2b14b8b509a786e6efcd8e58629c9f11e8361532 (commit)
via 910cc90be98c076d2ee533625405efcffcc3cf3d (commit)
from 9ca482634979d25c9485765df45593a008c66bbd (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 976538e51bef20ed0d523a20b945623e9a297c12
Author: Klaus Aehlig <[email protected]>
Date: Tue Sep 23 11:55:53 2014 +0200
Document changes to opportunistic locking in NEWS
As there is now one less possible outcome of instance creation with
opportunistic locking, this change is incompatible and therefore
best mentioned in the NEWS file.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit 70a71730aa2569428d587ef45fefde80b8d8cf2c
Author: Klaus Aehlig <[email protected]>
Date: Mon Sep 22 14:33:24 2014 +0200
Allow internal retries in LUInstanceCreate
...provided we failed to obtain enough resources with opportunistic
locking. In this case, we fall back to full (non-opportunistic) lock
allocation.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit 91b8f1207b60b308d87166b25b05c93a27b36630
Author: Klaus Aehlig <[email protected]>
Date: Fri Sep 19 11:11:27 2014 +0200
Make mcpu handle retry requests internally
If the execution of a logical unit indicates that it is
temporarily out of resource (ECODE_TEMP_NORES), then make
the mcpu prepare the the logical unit for retry and restart
again.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit f963755896cb5edb516c7ce41981fa8f64419ff9
Author: Klaus Aehlig <[email protected]>
Date: Mon Sep 22 14:04:40 2014 +0200
Extend base LU by PrepareRetry
LUs may override this method if they know how to prepare for an internal
retry after temporarily being out of resources.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit edf17b5ee9e80b6a639b45e30aa57a3f317bc631
Author: Klaus Aehlig <[email protected]>
Date: Mon Sep 22 17:04:57 2014 +0200
Add new GenericErrror OpRetryNotSupportedError
LUs that temporarily run out of resources, most notably
instance creation with opportunistic locking, may opt
into retrying. If they don't do so, this is the exception
to be thrown on a retry-preparation attempt. Having a
custom exception rather than throwing NotImplementedError
pleases lint.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit 754dae725ec4f029725a76ce02ee2b9c66807ebd
Author: Klaus Aehlig <[email protected]>
Date: Mon Sep 22 15:50:39 2014 +0200
Reset op status to wating on NotifyRetry
When a job is retried, it is effectively reset, so we have to
reset the state back to waiting again. This will also ensure
that we're not unpleasantly surprised when NotifyStart is called
the second time.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit 2a71264e675a90d2f4e2aa6372a925af6f520314
Author: Klaus Aehlig <[email protected]>
Date: Mon Sep 22 15:09:19 2014 +0200
Extend the callback interface by NotifyRetry
Given that we will support internal retries after failed opportunistic
locking, also extend the callback interface accordingly.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit 3b4296047a477a99dba84aed50295a16a9e34cf3
Author: Klaus Aehlig <[email protected]>
Date: Mon Sep 22 16:38:34 2014 +0200
Explicitly log failed opportunistic locking
Add an additional log entry if the IAllocator failed to find
a solution in opportunistic locking. Otherwise the IAllocator
message would get lost on internal retries.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit e79fe44c45ced506e24ef93f62c2c654f841dbce
Author: Klaus Aehlig <[email protected]>
Date: Tue Sep 23 11:18:50 2014 +0200
Add missing error codes
...they are mandatory for OpPrereqError exceptions.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit 2860dfe1c5723db094abeae3db8f39c1d52325da
Author: Klaus Aehlig <[email protected]>
Date: Tue Sep 23 11:13:28 2014 +0200
Add missing error code
While there, also fix a typo
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit 45eeab76a473acf285557bcae775bdfe3bed96e5
Author: Klaus Aehlig <[email protected]>
Date: Tue Sep 23 11:11:55 2014 +0200
Add missing error code
OpPrereqError always takes a human-readable string and an
error code as argument. Fix it. Unfortunately, we do not
have a type checker to enforce this.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit e5ac8eae157c287dffe77aad06b0fad7f72cf205
Author: Klaus Aehlig <[email protected]>
Date: Tue Sep 23 10:58:22 2014 +0200
Add missing ecode
When rising OpPrereqError, the arguments always have to be
a human-readable string and an error code. Provide that.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit 2b14b8b509a786e6efcd8e58629c9f11e8361532
Author: Klaus Aehlig <[email protected]>
Date: Tue Sep 23 10:54:59 2014 +0200
Add missing ecode
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit 910cc90be98c076d2ee533625405efcffcc3cf3d
Author: Klaus Aehlig <[email protected]>
Date: Tue Sep 23 10:51:26 2014 +0200
Add missing ecode
When raising an OpPrereqError, an error code always has to be provided,
even if we raise the exception indirectly via result.Raise.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
NEWS | 14 ++++++++++++++
lib/cmdlib/base.py | 12 ++++++++++++
lib/cmdlib/cluster.py | 24 +++++++++++++++---------
lib/cmdlib/common.py | 5 +++--
lib/cmdlib/instance.py | 14 +++++++++++++-
lib/cmdlib/instance_utils.py | 2 +-
lib/cmdlib/node.py | 2 +-
lib/errors.py | 6 ++++++
lib/jqueue/__init__.py | 11 +++++++++++
lib/mcpu.py | 20 ++++++++++++++++++++
10 files changed, 96 insertions(+), 14 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.