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
2acd334aec
added license header to files
2011-02-10 23:36:58 +01:00
Javi Fontan
ff8e45daf3
New probes and ganglia readers (from branch feature-446)
...
Feature #244 : Network interface statistics for KVM
Feature #446 : Probe to get monitoring info from ganglia
Feature #472 : Get cpu consumption from KVM VMs
poll_xen_kvm.rb - This new probe gets information from XEN and KVM vms.
If it is called with the name of a VM then its monitoring information
is written in standard poll probe way. If called without parameters
a base64-encoded yaml-representation of a hash containing the information
about all the VMs running in the host is returned.
poll_ganglia.rb - This probe gets information from ganglia pushed by gmetric.
Consumes the information generated by poll_xen_kvm.rb
ganglia_probe - Gets host monitoring information from ganglia. It pushes all
metrics that start by OPENNEBULA_
Ganglia.rb - library that holds ganglia reading code
2011-02-10 11:43:04 +01:00
Ruben S. Montero
73b13ff4a8
feature #466 : SSH VMM driver can execute polls locally. Also VMM drivers get options for the number of threads and retries
2011-02-02 23:19:05 +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
Jaime Melis
eb3bd9e6df
bug #380 : Fixed correct path for read_configuration method
2010-10-28 20:50:17 +02:00
Tino Vázquez
c1e52597ae
Local_action definition
2010-10-04 19:27:55 +02:00
Javi Fontan
64f1b7e459
Stopped using Array#index as it is not compatible with ruby 1.8.5
2010-09-15 16:48:36 +02:00
Javi Fontan
6bb52aeaec
bug #339 : remote scripts directory is defined in oned.conf
2010-09-10 16:44:45 +02:00
Javi Fontan
002f81b050
VMM driver now uses indices to select actions
2010-09-02 14:29:22 +02:00
Javi Fontan
5f563d3953
Optimized getting new actions in VirtualMachineDriver
2010-09-01 14:56:02 +02:00
Javi Fontan
adb44a051c
Bug in VirtialMachineDriver initialization
2010-09-01 11:52:52 +02:00
Javi Fontan
4bc49760cf
VMM now sends only one action per host at the same time
2010-08-31 18:37:00 +02:00
Javi Fontan
93e8a6bea4
ActionManager supports custom get and delete actions
2010-08-31 18:37:00 +02:00
Ruben S. Montero
3462215fa9
Removed unused files
2010-08-31 17:02:13 +02:00
Ruben S. Montero
5e083026af
Bug #260 wrong delete_at method, removed kill!
2010-07-19 18:53:20 +02:00
Javi Fontan
e7ee28a91d
ActionManager calls a finalize function if defined
2010-07-01 11:54:14 +02:00
Javier Fontán Muiños
fdfe10407e
Changed copyright notice
2010-02-22 18:00:30 +01:00
Javier Fontán Muiños
156f463624
Bug in Driver action manager
...
git-svn-id: http://svn.opennebula.org/one/trunk@859 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-10-14 17:49:02 +00:00
Javier Fontán Muiños
e9017be87a
Kill threads with the safer version so any opened pipes are closed.
...
git-svn-id: http://svn.opennebula.org/one/trunk@670 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-07-10 13:49:57 +00:00
Rubén S. Montero
d965eb44aa
Merge of the OpenNebulaXML branch (-r535:HEAD)
...
git-svn-id: http://svn.opennebula.org/one/trunk@667 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-07-09 14:34:34 +00:00
Rubén S. Montero
8a547d4d7e
#104 : Adds the VM name (deploy id) to the RESTORE Action. KVM & XEN driver
...
has been updated.
git-svn-id: http://svn.opennebula.org/one/trunk@517 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-05-08 21:26:42 +00:00
Javier Fontán Muiños
2497bb9ff2
Added support for variable message length to ActionManager
...
git-svn-id: http://svn.opennebula.org/one/trunk@440 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-01 12:07:03 +00: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
78cb777e46
Moved ssh_action method to base class VirtualMachineDriver
...
git-svn-id: http://svn.opennebula.org/one/trunk@377 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-23 11:55:31 +00:00
Rubén S. Montero
118c07176c
Added unknown state
...
git-svn-id: http://svn.opennebula.org/one/trunk@375 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-21 21:36:10 +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
Rubén S. Montero
ee9135b051
Additional checks for deployment file get method
...
git-svn-id: http://svn.opennebula.org/one/trunk@368 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-15 20:24:24 +00:00
Rubén S. Montero
ffef55ca3e
wrong method name
...
git-svn-id: http://svn.opennebula.org/one/trunk@358 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-13 00:45:31 +00:00
Rubén S. Montero
9dc7194763
returns nil if local deployment file does not exists
...
git-svn-id: http://svn.opennebula.org/one/trunk@356 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-12 20:44:27 +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
c8a83f5638
Added a test mad for the new libraries
...
git-svn-id: http://svn.opennebula.org/one/trunk@346 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-09 22:52:20 +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
Javier Fontán Muiños
8792c16f7f
First version of new command exection library
...
git-svn-id: http://svn.opennebula.org/one/trunk@343 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-09 16:20:30 +00:00
Rubén S. Montero
99d02a2689
The driver engine now uses symbols to address actions. Method objects
...
are used when an action is registered
git-svn-id: http://svn.opennebula.org/one/trunk@342 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-08 22:49:36 +00:00
Javier Fontán Muiños
2182cfe6ca
Let the machine shutdown before destroying in xen driver
...
git-svn-id: http://svn.opennebula.org/one/trunk@341 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-06 15:13:10 +00:00
Rubén S. Montero
5269d55770
Added base class for VMM drivers, added some constants to base classes
...
and INIT action
git-svn-id: http://svn.opennebula.org/one/trunk@337 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-30 23:08:08 +00:00
Rubén S. Montero
39a6460cb4
OpenNebulaDriver now is an ActionManager
...
git-svn-id: http://svn.opennebula.org/one/trunk@336 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-30 20:58:20 +00:00