Try to prevent instance memory changes N+1 failures
authorIustin Pop <iustin@google.com>
Wed, 11 May 2011 15:54:27 +0000 (17:54 +0200)
committerIustin Pop <iustin@google.com>
Wed, 11 May 2011 16:14:20 +0000 (18:14 +0200)
commitb92a2f3e5d0a83e15184e7c331fc6ec40b12866c
treedd13c2cf14c3dc3015ec48360e0e6094b9d901ed
parent1bbf0c40af6f4170bf2afe63acb073f9d147cfdc
Try to prevent instance memory changes N+1 failures

There are multiple bugs with the code checking for N+1 failures in the
instance memory changes which needs significant changes, in the
meantime we can at least:

- change the warning message into an error (--force will skip checks)
- only make checks when we increase the memory

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
NEWS
lib/cmdlib.py