Allow force removal of instances
authorIustin Pop <iustin@google.com>
Tue, 16 Oct 2007 13:51:51 +0000 (13:51 +0000)
committerIustin Pop <iustin@google.com>
Tue, 16 Oct 2007 13:51:51 +0000 (13:51 +0000)
commit1d67656e70a81cffec19633646c191ada9ba0ecf
treeb20d9a5569a33f839ee6f0467c8ee80363a7eb65
parent70d9e3d8aa9a7ec1da6c0fe0e345cfb1cfeeb0c2
Allow force removal of instances

This patch adds a new option to the instance removal command
"--ignore-failures" that forces the removal of the instance from the
configuration even if the removal process encounters errors.

In order to be able to do this when the remote node(s) is(are) down, we
need to restrict the execution of the instance removal hook to the
master only. I think this is a reasonable trade-off (but I'm not sure).

Reviewed-by: imsnah
doc/hooks.sgml
lib/cmdlib.py
lib/opcodes.py
man/gnt-instance.sgml
scripts/gnt-instance