Commit Graph
99 Commits
Author SHA1 Message Date
Javi Fontan 9624dd4b03 changes to vnm_driver 2011-11-22 11:01:18 +01:00
Javi Fontan c061648b62 feature #863: changed StreamSriver to one_vnm 2011-11-21 19:29:21 +01:00
Ruben S. Montero aee7cf8094 feature #863: Added files 2011-11-21 19:09:04 +01:00
Ruben S. Montero 24ad9bf49e feature #863: Work on driver design 2011-11-21 18:14:04 +01:00
Javi Fontan d4508e54a7 feature #863: refactored do_action 2011-11-21 16:43:08 +01:00
Javi Fontan 8a68b8eef2 added ssh_stream 2011-11-18 17:31:18 +01:00
Carlos Martín 048364353c Feature #863 - #974: Update ec2 hybrid driver for the new protocol 2011-11-16 19:05:41 +01:00
Ruben S. Montero 504f0f557d feature #863: Update VirtualMachine Driver base class to new protocol 2011-11-11 00:45:08 +01:00
Ruben S. Montero d582636e47 bug: wrong access to exitstatus
(cherry picked from commit 1aad41ffe6)
2011-09-16 12:10:27 +02:00
Javi Fontan 1abd55d030 feature #715: changed tm_nfs name to tm_shared
(cherry picked from commit 67d278990b282e98f2968b204cc44b2e3e324f8d)
2011-09-15 14:57:37 +02:00
Ruben S. Montero 72008ecfb7 feature-754: New auth driver. Minor indent changes. 2011-07-27 17:50:49 +02:00
Javi Fontan 9fb107065e feature #595: changed tests as the code now is different
Old expectations are still in the test commented as I am not really
sure the code or tests are right.

TODO: revise tests and library behavior
2011-07-05 15:58:50 +02:00
Javi Fontan 6693c8e04a Changed ruby mad test to be runable from test dir 2011-06-18 18:59:35 +02: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 b659e39942 feature #595: tests for OpenNebulaDriver local_action and log 2011-06-03 17:16:49 +02:00
Javi Fontan 4c124e45fd feature #595: tests for OpenNebulaDriver#remotes_action 2011-06-01 23:07:44 +02:00
Javi Fontan 2fa210659e feature #595: remove whitespace 2011-06-01 18:19:20 +02:00
Javi Fontan 8974940f1b feature #595: added tests to OpenNebulaDriver 2011-06-01 18:17:19 +02:00
Javi Fontan a0853526a2 feature #595: added documentation 2011-06-01 18:15:47 +02:00
Javi Fontan 2891715205 feature #595: changed initializers to use options hash 2011-06-01 18:15:24 +02:00
Javi Fontan 48c20f57a2 feature #595: moved read_configuration to OpenNebulaDriver 2011-06-01 18:12:26 +02:00
Javi Fontan c2ec359873 feature #595: scripts always get id and host as parameters 2011-05-30 16:53:48 +02:00
Javi Fontan 06aff6c8d5 feature #595: do_actions now accepts default script name 2011-05-27 19:10:25 +02:00
Javi Fontan 856089c30a feature #595: refactored code to eliminate duplicate functionality 2011-05-27 13:05:08 +02:00
Javi Fontan 89ac12ebcd feature #595: changed comments and formating 2011-05-27 12:46:37 +02:00
Javi Fontan e5734fbc74 feature #595: vmm changes to support local exec
Added support code to driver libraries so they support both local and remote scripts execution. one_vmm_ssh driver was modified to test these changes.
2011-05-27 00:14:58 +02:00
Javi Fontan 3f0b0b75e8 feature #575: added scripts_common for ruby 2011-05-10 16:08:05 +02:00
Javi Fontan bcbcadd9e1 feature #575: added severities to log messages 2011-04-15 19:56:54 +02:00
Javi Fontan a931140e9d feature #575: bug in local_command 2011-04-15 18:39:25 +02:00
Ruben S. Montero e246af0fe5 feature #575: Some refactor of opennebula drivers code. Command execution wrappers moved to base class 2011-04-14 01:10:20 +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 e23cf14f33 Added error message parsing to im and vmm
(cherry picked from commit ca5c0f09f0a7ce68d8c32dfe85731d11751d43d4)
2011-04-13 00:15:52 +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
Javi Fontan 41423417c0 Ganglia probes more reliable and bug fixes 2011-02-15 22:22:19 +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 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