1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-14 19:24:10 +03:00

1605 Commits

Author SHA1 Message Date
Javi Fontan
1bb3a971b7 bug #462: set locales before executing commands in mads 2011-02-15 22:41:52 +01:00
Javi Fontan
41423417c0 Ganglia probes more reliable and bug fixes 2011-02-15 22:22:19 +01:00
Carlos Martín
9ece054d48 Bugs in poll_xen_kvm.rb
* Had wrong states for some unusual cases.
    * It also had to be made executable. Otherwise the remote monitoring fails.
2011-02-15 15:17:25 +01:00
Daniel Molina
6f563ae73f Add to_hash test for REXML(cherry picked from commit 258090afeadb61575290d30b5999c9ea9ffed891) 2011-02-15 11:22:24 +01:00
Daniel Molina
2e8fd8e83a Capture XML parser exceptions in XMLUtils(cherry picked from commit f2d04f680e8ee8591782ff9e4fef3a3a6c5b76da) 2011-02-15 11:22:16 +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
Javi Fontan
2129ca0d71 Added missing ganglia_probe 2011-02-11 16:02:26 +01:00
Javi Fontan
0d26966a5e Make poll_xen_kvm.rb compatible with ruby 1.8.5 2011-02-11 15:18:51 +01:00
Ruben S. Montero
2acd334aec added license header to files 2011-02-10 23:36:58 +01:00
Carlos Martín
e69e8328e2 Core Unit testing: bigger timeout for LCM tests, sometimes fails in overloaded infraestructure. 2011-02-10 19:46:58 +01:00
Javi Fontan
6a3f565593 Feature #446: Added new probes for ganglia in install.sh 2011-02-10 19:30:26 +01:00
Ruben S. Montero
daa7fab3e1 bug: Added paths to network utils in ebtables hooks 2011-02-10 18:56:32 +01:00
Javi Fontan
baa1d63ef3 Changed install.sh to use another way of creating arrays
Now we don't need to specify the array index so renumbering is not needed
when adding new directories
2011-02-10 18:16:18 +01:00
Javi Fontan
aa83d28836 Merge remote branch 'origin/feature-482' 2011-02-10 17:01:57 +01:00
Carlos Martín
7adf54e2f1 Feature #482: install.sh -c now installs CLI, occi and ec2 client utilities. 2011-02-10 15:57:11 +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
55e57e6cff Merge branch 'bug-447' 2011-02-09 18:43:43 +01:00
Ruben S. Montero
3babd9a405 bug #447: Also removes file if cp fails 2011-02-09 18:41:06 +01:00
Ruben S. Montero
e4d51971c6 bug #455: Included note for VMDIR. Also some re-structure of the hook section 2011-02-09 18:06:47 +01:00
Carlos Martín
c93991f0c4 Bug #447: 'oneimage register' now has some extra error checks and file cleanup. 2011-02-09 16:13:31 +01:00
Carlos Martín
71103631aa oned.conf: ebtables hooks added. DOT state diagrams added to share/doc. onevm command help improvements 2011-02-08 16:18:54 +01:00
Carlos Martín
24cd26109c Bug: missing requires for getoptlong in ruby mads 2011-02-07 17:49:16 +01:00
Jaime Melis
0445e7dc37 Merge branch 'master' of opennebula.org:one 2011-02-07 11:32:11 +01:00
Jaime Melis
c191ecd087 Removed debugging information from im_kvm 2011-02-07 11:29:13 +01:00
Ruben S. Montero
9427962df6 Merge branch 'feature-466-2' 2011-02-07 10:43:39 +01:00
Ruben S. Montero
1236f0bfc2 feature #466: Pass the name of the probe to be executed locally as option 2011-02-07 10:40:14 +01:00
Carlos Martín
55f44bbc99 Core Unit testing: batch execution improvements, & missing one_auth files fix 2011-02-03 19:22:39 +01:00
Ruben S. Montero
cde9648e6c Merge branch 'feature-474' 2011-02-03 17:08:35 +01:00
Ruben S. Montero
b43ec0361e feature #466: Better check of remotes location 2011-02-03 16:48:53 +01:00
Carlos Martín
087e2a5487 Fix for bug introduced in 334223db 2011-02-03 16:26:27 +01:00
Jaime Melis
aa828e3573 bug #466: added a README file. Added Debian scripts 2011-02-03 13:44:02 +01:00
Carlos Martín
9658db39a1 Feature #474: Small change to make Java OCA consistent as a wrapper for the XML-RPC API 2011-02-03 13:24:12 +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
Carlos Martín
2d246ee02b Feature #474: Add/remove leases feature for Java OCA 2011-02-02 16:46:17 +01:00
Carlos Martín
6850348eba Feature #474: Core unit tests for add/remove leases feature 2011-02-02 14:44:52 +01:00
Ruben S. Montero
1ce8199480 feature #474: some refactor of the error strings 2011-02-02 12:40:08 +01:00
Carlos Martín
c5734c93c0 Feature #474: First commit for add/remove leases feature 2011-02-01 18:26:26 +01:00
Ruben S. Montero
334223dbca Removed unused test files. Listed the test directories in the do_test script to prevent the execution of non-test files 2011-02-01 17:50:06 +01:00
Ruben S. Montero
bcb7e774de Merge branch 'bug-419' 2011-02-01 16:46:39 +01:00
Javi Fontan
0ad0cda489 Merged changes from bug-354 (#354)
f1bff01 bug #354: kills any running daemon if OpenNebula fails to start
a821bf8 bug #354: Fix if statement and reduced time to check for the daemons
96c4cbc bug #354: typo in one start script
eec200f bug-354: check that the daemons have started
c883bab Fixing whitespace for one script
2011-02-01 10:51:43 +01:00
Javi Fontan
2f3efae538 bug #388: Now kvm probe gets correct memory information
(cherry picked from commit bb922c51c74d0ac755e993cb6bedd81873504bb7)
2011-01-31 18:29:53 +01:00
Daniel Molina
4b2265c9fc Bug #451: Change OCCI return code when resource not found(cherry picked from commit 4928bb98688411dbcf361da0076fba6dc2a4f698) 2011-01-31 14:44:32 +01:00
Daniel Molina
2c68e039db Bug #461: Add yaml dependency to oneauth(cherry picked from commit c22ec002b7bc621fb30d8daea4d14853c6d2f4c8) 2011-01-31 14:44:13 +01:00
Daniel Molina
5272a18a12 Fix number of parameters in EC2 im_driver(cherry picked from commit 5dc5ca5a3bbb2a367f8163abd72c0afdbdb90aba) 2011-01-31 14:44:01 +01:00
Daniel Molina
1b24879d7a Fix typo in EC2 erb files(cherry picked from commit da27759b7c04dd026a573852d8cff0aae8973325) 2011-01-31 14:43:47 +01:00
Daniel Molina
d293f45b8d Fix column format in econe CLI(cherry picked from commit c5149112d1445f4dc7a824e0bcc79c7fbd93e4cc) 2011-01-31 14:43:25 +01:00
Ruben S. Montero
158c51bb1e Added missing import in SConstruct 2011-01-28 17:29:40 +01:00
Ruben S. Montero
3ab03c4268 Merge branch 'feature-457'
Conflicts:
	src/nebula/SConstruct
	src/scheduler/SConstruct
	src/scheduler/src/pool/test/SConstruct
	src/scheduler/src/sched/SConstruct
	src/scheduler/src/xml/test/SConstruct
2011-01-28 17:01:28 +01:00
Carlos Martín
660b4c54db Feature #457: Fix memory leaks in tests 2011-01-28 11:23:50 +00:00
Ruben S. Montero
6e6061eeb9 feature #457: do_tests now removes new test DBs 2011-01-27 23:37:37 +01:00