Vlastimil Holer
5549872f5c
B #4867 : CommandManager terminate reading threads ( #4886 )
2020-06-05 13:18:02 +02:00
Vlastimil Holer
f3c50a5d89
M #-: Year bump to 2020 ( #4634 )
2020-04-30 15:00:02 +02:00
Ruben S. Montero and Christian González
6143dd95ce
F #3380 : New Hook system. Drivers, oned and command line tool
...
Co-authored-by: Christian González <cgonzalez@opennebula.systems >
2019-09-09 14:47:42 +02:00
Devin Christensen
320a8c26c0
development: Fix "scp: error: unexpected filename: ."
2019-02-13 13:37:01 +01:00
Vlastimil Holer
441cf1f7f9
Bump version to 5.7.85, year to 2019
2019-01-16 11:47:59 +01:00
Vlastimil Holer
3b3c9643a8
B #1964 : Pass Local/SSHCommand terminator thread error via variable ( #2051 )
2018-05-03 16:31:38 +02:00
Vlastimil Holer
01f339c408
B #1964 : SSH or LocalCommand hangs on large stderr
2018-04-26 15:50:07 +02:00
Vlastimil Holer
e17fd88275
B #1964 : SSH or LocalCommand hangs on large stderr ( #2006 )
2018-04-20 17:50:14 +02:00
Vlastimil Holer
0c9c2e4880
B #1964 : SSH or LocalCommand hangs on large stderr ( #1977 )
...
* B #1964 : Disable bash verbosity on tm_mad/ssh/mvds
* B #1964 : SSH or LocalCommand hangs on large stderr
2018-04-18 18:50:50 +02:00
Vlastimil Holer
a4c0447ccf
Bump year to 2018 ( #1623 )
2018-01-02 18:27:37 +01:00
Javi Fontan
8de979e42c
Bump version 5.3.80
2017-05-25 16:07:35 +02:00
Jaime Melis
4c2c698eea
F #4716 : Fix bug in stderr handling (GenericCommand)
2016-09-13 17:07:20 +02:00
Javi Fontan
954ac5362e
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.
2016-09-08 18:18:38 +02:00
Jaime Melis
81c6f204b4
Bug #4761 : Log only formatted messages when successful, everything
...
otherwise
2016-09-06 14:59:13 +02:00
Jaime Melis
b5dec052b9
Bug #4761 : MAD logging does not work
2016-09-06 14:09:32 +02:00
Javi Fontan
e1f6dee180
Update copyright notice year
2016-05-04 12:33:23 +02:00
Jaime Melis
e20fb5c4c4
Fix copyright in banners
2015-09-23 16:51:10 +02:00
Jaime Melis
8d00b74177
Change year to 2015
2015-02-24 12:27:59 +01:00
Jaime Melis
11520021f7
Bump to version 4.5.0
2014-01-09 11:51:20 +01:00
Ruben S. Montero
dc7d8d2334
feature #1613 : Only show stderr if the execution fail
2013-06-27 18:00:37 +02:00
Ruben S. Montero
e9f720a6bb
bug #2096 : Preserve remotes permissions. Adds -p flag to scp as suggested by Steffen Neumann
2013-06-04 00:20:11 +02:00
Jaime Melis
7357bffe34
Update copyright notice
2013-01-24 16:18:30 +01:00
Jaime Melis
af61e33f8c
Update year to 2013
2013-01-24 16:03:57 +01:00
Jaime Melis
a2b7cb6bc9
Bump to version 3.2.0
2012-01-12 12:29:18 +01:00
Ruben S. Montero
41bbe8ccb9
bug: removed unneeded command execution when remotes dir is missing
2011-06-18 02:27:23 +02:00
Ruben S. Montero
778e17eb65
bug: fixes update functionality
2011-06-18 02:11:56 +02:00
Ruben S. Montero
b796817b97
bug: remote dir is not recreated if removed
2011-06-18 01:26:45 +02:00
Javi Fontan
6dfb611413
feature #595 : now remotes copy is retried
2011-06-15 19:26:38 +02:00
Javi Fontan
5a3408a64b
Log everything that comes from stderr(cherry picked from commit ba954f3bb3458d2439b5ea853fb18b8b74de91d7)
2011-04-13 00:16:36 +02:00
Javi Fontan
da63aaadd4
Moved get_error_message from TM to CommandManager
...
(cherry picked from commit f038c2c36afd3b899da428698e7d5cd29d281747)
2011-04-13 00:15:40 +02:00
Jaime Melis
4980255942
Update copyright year to 2011
2011-02-25 14:34:44 +01:00
Carlos Martín
b98c4d8cee
Various bug-fixes for MAD subsystem:
...
* install.sh: 2 unneeded files were copied and then replaced by the generic poll_xen_kvm.rb file.
* CommandManager.rb: Fix for retry condition.
* poll_xen_kvm.rb:
STATUS changed to STATE. The core couldn't identify the current state before.
Deletion of quotes for values. This prevented the core from parsing correctly the monitoring values.
Fix for hypervisor auto-detection.
2011-02-14 18:45:54 +01:00
Ruben S. Montero
6fdc67f6bd
feature #457 : retries is now an option for IMs. Also the number of retries defaults to 0 for all drivers
2011-01-20 18:36:37 +01:00
Tino Vázquez
fd2fe9c9e3
feature #457 : making execution of remote commands tolerant to network errors by adding retry
2011-01-20 17:15:02 +01:00
Daniel Molina
2b1f217033
Fix bug in RemotesCommand class
...
(cherry picked from commit 55596e2c41 )
2010-11-29 19:04:51 +01:00
Ruben S. Montero
9422a293a5
bug #412 : Re-use Command object to handle errors
2010-11-19 16:08:21 +01:00
Ruben S. Montero
d687c966dd
bug #412 : Remotes update
2010-11-19 15:11:09 +01:00
Ruben S. Montero
52974fe883
bug #412 : RemoteCommand update
2010-11-19 15:05:49 +01:00
Ruben S. Montero
c4dbdf53ef
bug #412 : Fix remotes location for RemoteCommand. Checks info string to be returned to the core. Includes std output for local_actions
2010-11-19 14:43:40 +01:00
Daniel Molina
8d6573b3ed
Fix bash syntax error
2010-11-17 18:36:52 +01:00
Daniel Molina
ffce3651c0
Add RemotesCommand to check remote files existence in worker nodes
2010-11-17 15:33:39 +01:00
Javier Fontán Muiños
fdfe10407e
Changed copyright notice
2010-02-22 18:00:30 +01:00
Javier Fontán Muiños
18347958b4
Callbacks are no longer needed for command execution
...
git-svn-id: http://svn.opennebula.org/one/trunk@424 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-18 16:02:15 +00:00
Javier Fontán Muiños
74072b54a3
Less log information when executing commands
...
git-svn-id: http://svn.opennebula.org/one/trunk@423 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-18 15:51:39 +00:00
Rubén S. Montero
6eb06140d0
Added support to specify stdin for commands
...
git-svn-id: http://svn.opennebula.org/one/trunk@371 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-21 01:45:42 +00:00
Javier Fontán Muiños
7e9d7f420e
CommandManager: License, some documentation and cleaning
...
git-svn-id: http://svn.opennebula.org/one/trunk@351 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-10 20:22:26 +00:00
Javier Fontán Muiños
24bb351622
Move stdio descriptor close to base clase
...
git-svn-id: http://svn.opennebula.org/one/trunk@350 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-10 20:10:34 +00:00
Javier Fontán Muiños
27ba9de530
Added a run class method to command executers
...
git-svn-id: http://svn.opennebula.org/one/trunk@349 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-10 17:55:23 +00:00
Javier Fontán Muiños
62e25f09de
Adding logging facilities to command execution
...
git-svn-id: http://svn.opennebula.org/one/trunk@345 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-09 18:47:43 +00:00
Javier Fontán Muiños
6119f446b6
Close handles of open3 calls
...
git-svn-id: http://svn.opennebula.org/one/trunk@344 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-09 17:16:23 +00:00