Migrate: don't check for free memory on cleanup
authorGuido Trotter <ultrotter@google.com>
Fri, 20 Jan 2012 14:30:56 +0000 (14:30 +0000)
committerGuido Trotter <ultrotter@google.com>
Fri, 20 Jan 2012 16:24:27 +0000 (16:24 +0000)
commit6b826dfa14eca35769958a52a5037db2e93aad0a
treedd5b2cbbe3f327f8a4e80bc1ec2b9d0919635bc5
parent9f18e2ccb130682148a605bd9709d3df98d2d6c6
Migrate: don't check for free memory on cleanup

Cleanup just updates the config with the correct location of the
instance, or informs of its down status, but never starts it. As such
there's no point in checking for enough free memory. Actually this check
could prevent a perfectly safe cleanup operation if a node is busy.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/cmdlib.py