Feature #4716
Add timeouts for driver actions
Status: | Closed | Start date: | 08/17/2016 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Javi Fontan | % Done: | 0% | |
Category: | Drivers - VM | |||
Target version: | Release 5.2 | |||
Resolution: | fixed | Pull request: |
Description
When a driver action hangs it keeps the associated thread used for the given host. This may stall all the actions for that host. This issue is to add a configurable timeout (per driver) for the execution of driver actions. Note that some of this actions already includes a timeout, this is to add support for it at a more abstract layer.
Related issues
Associated revisions
feature #4716: add timeout to CommandManager
Add timeout parameter to Local and RemoteCommand. It also spawns new
processes in a new process group. This makes easier to kill all
children when timeout happens.
This change makes it incompatible with ruby < 1.9.2.
feature #4716: added timeout to SshStreamCommand
kill method duplicated as it is not a GenericCommand. It should be moved
elsewhere.
feature #4716: add timeout to SshStream#wait_for_command
feature #4716: pass timeout in OpenNebulaDriver
feature #4716: add --timeout parameter to drivers
feature #4716: add timeout to CommandManager
Add timeout parameter to Local and RemoteCommand. It also spawns new
processes in a new process group. This makes easier to kill all
children when timeout happens.
This change makes it incompatible with ruby < 1.9.2.
feature #4716: added timeout to SshStreamCommand
kill method duplicated as it is not a GenericCommand. It should be moved
elsewhere.
feature #4716: add timeout to SshStream#wait_for_command
feature #4716: pass timeout in OpenNebulaDriver
feature #4716: add --timeout parameter to drivers
f #4716: add timeout parameter info to one.conf
f #4716: add timeout to SshStreamCommand#run
F #4716: pass timeout to wait function in SshStream
F #4716: Cast the timeout to integer
F #4716: Fix bug in stderr handling (GenericCommand)
F #4716: Tune default EC2 driver configuration
- Kill driver actions after 10 mins
- VMM driver can run in parallel
History
#1 Updated by Ruben S. Montero almost 5 years ago
- Assignee changed from Jaime Melis to Javi Fontan
#2 Updated by Jaime Melis almost 5 years ago
- Related to Feature #4707: double-check and retry ec2 api methods and responses added
#3 Updated by Javi Fontan almost 5 years ago
- Status changed from New to Closed
- Resolution set to fixed