Allow shutting down offline instance
If an instance is offline we definitely shouldn't start it up. But shutting it down, should it be up by mistake is not "that" bad. Still, we only allow it with --force, as it still performs an action on an instance we shouldn't touch. This should make everybody happy. Signed-off-by:Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
Showing
- htest/Test/Ganeti/OpCodes.hs 1 addition, 1 deletionhtest/Test/Ganeti/OpCodes.hs
- htools/Ganeti/OpCodes.hs 1 addition, 0 deletionshtools/Ganeti/OpCodes.hs
- lib/client/gnt_instance.py 2 additions, 1 deletionlib/client/gnt_instance.py
- lib/cmdlib.py 4 additions, 1 deletionlib/cmdlib.py
- lib/opcodes.py 1 addition, 0 deletionslib/opcodes.py
- man/gnt-instance.rst 5 additions, 1 deletionman/gnt-instance.rst
Loading
Please register or sign in to comment