On Tue, Sep 23, 2014 at 12:00:12PM +0200, 'Klaus Aehlig' via ganeti-devel wrote:
Signed-off-by: Klaus Aehlig <[email protected]> --- lib/cmdlib/instance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/lib/cmdlib/instance.py b/lib/cmdlib/instance.py index ca856cc..f21b578 100644 --- a/lib/cmdlib/instance.py +++ b/lib/cmdlib/instance.py @@ -3372,7 +3372,7 @@ class LUInstanceSetParams(LogicalUnit): if result.fail_msg: if self.op.hotplug: result.Raise("Hotplug is not possible: %s" % result.fail_msg, - prereq=True) + prereq=True, ecode=errors.ECODE_STATE) else: self.LogWarning(result.fail_msg) self.op.hotplug = False -- 2.1.0.rc2.206.gedb03e5
LGTM
