Accept shutdown timeout from the user
Using the new --timeout option: - gnt-instance shutdown is changed to accept a timeout - the opcode is changed to hold one - the LU is changed to optionally get one - the rpc is changed to carry one - the backend is changed to take it as a parameter rather than hardcoding it in the function Signed-off-by:Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
Showing
- daemons/ganeti-noded 2 additions, 1 deletiondaemons/ganeti-noded
- lib/backend.py 3 additions, 2 deletionslib/backend.py
- lib/cmdlib.py 10 additions, 1 deletionlib/cmdlib.py
- lib/opcodes.py 1 addition, 1 deletionlib/opcodes.py
- lib/rpc.py 2 additions, 2 deletionslib/rpc.py
- scripts/gnt-instance 3 additions, 2 deletionsscripts/gnt-instance
Loading
Please register or sign in to comment