1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00
Commit Graph

65 Commits

Author SHA1 Message Date
Carlos Martín
be6dfcf8f0 Feature #3264: Method to dump showback records 2014-10-30 17:45:32 +01:00
Carlos Martín
68bac3a897 Feature #3264: New method VMPool::calculate_showback 2014-10-30 17:21:27 +01:00
Ruben S. Montero
7afeaaaa5d feature #3183: Add search methods to VNET and VM Pools 2014-09-11 17:01:13 +02:00
Javi Fontan
193e7a9cf6 feature #2371: add pagination to pool info
When the end_id of pool.info xmlrpc call is lower than -1 the parameters
do not refer to object ids but offset and cuantity used for pool pagination.r
The SQL query will have "LIMIT start_id,-end_id".
2014-01-13 16:30:43 +01:00
Jaime Melis
11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Ruben S. Montero
9af900cd35 bug #1807: Adds a new ERROR_MONITOR message. Fix monitor timers when monitor fails. 2013-03-15 17:37:47 +01: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
Carlos Martín
d4245a6699 Feature #1681: Add new oned.conf att. for a default umask 2013-01-18 18:34:51 +01:00
Carlos Martín
85678cbba8 Merge branch 'submit-on-hold'
Conflicts:
	src/rm/RequestManagerAllocate.cc
	src/rm/RequestManagerVMTemplate.cc
2012-12-20 18:35:59 +01:00
Carlos Martín
64b4f0d5d9 Feature #1103: Patch by Simon Boulet 2012-12-20 18:21:30 +01:00
Ruben S. Montero
17d869e388 Merge branch 'feature-1288'
Conflicts:
	install.sh
2012-06-11 23:00:56 +02:00
Ruben S. Montero
0d9a4c998a feature #1288: get, string version, for VirtualMachinePool 2012-06-01 11:58:47 +02:00
Carlos Martín
2071d62b39 Feature #1279: Clean expired monitoring records in timer_action.
This saves a lot of calls to the DB, and also cleans old entries
for objects that are not monitored (VM in suspend/stop state,
or hosts in disabled state).
2012-05-18 12:05:18 +02:00
Carlos Martín
dfcb2eb166 Feature #1279: Clean old monitorization data if the expiration time is set to 0 2012-05-17 14:58:28 +02:00
Ruben S. Montero
9a16f1a8d1 feature #1279: Update names of host pool. Delete host monitor info when deleting the host. 2012-05-17 01:24:39 +02:00
Ruben S. Montero
87a7a09626 feature #1279: Change name of *_monitoring_history internal variables. Adds a custom dump_monitoring method for single VMs. Expiration times are stored as time_t. 2012-05-17 00:56:03 +02:00
Carlos Martín
14d30d826c Feature #1279: Add one.host.monitoring and one.hostpool.monitoring methods, new host_monitoring table 2012-05-16 18:00:31 +02:00
Carlos Martín
bb4d39baf5 Feature #1279: Add one.vm.monitoring and one.vmpool.monitoring
methods, new  vm_monitoring table
2012-05-16 16:09:27 +02:00
Ruben S. Montero
7ad3ce1965 feature #1099: Moved SQL filters to the corresponding pools 2012-05-05 03:18:25 +02:00
Carlos Martín
c178601623 Feature #1099: Add new one.vmpool.accounting XMLRPC method 2012-05-04 17:27:57 +02:00
Ruben S. Montero
6d15673184 feature #1070: Moved some logic to Template classes 2012-01-23 23:09:47 +01:00
Carlos Martín
deb244c1b6 Feature #1070: Make VM and IMG restricted attributes configurable in oned.conf 2012-01-23 08:18:12 -08:00
Jaime Melis
a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Ruben S. Montero
42cebe30c1 Bug #1036: Local hooks are now executed from $VAR_LOCATION/remotes/hooks. Remote hooks are still executed from the SCRIPTS_REMOTE_PATH. 2011-12-19 23:35:46 +01:00
Carlos Martín
21bca20780 Bug #848: Add error message and stop oned execution if bootstrap fails 2011-10-10 06:14:46 -07:00
Ruben S. Montero
d74b69e4ce Merge branch 'feature-696' into feature-687 + Filter for all groups
Conflicts:
	include/RequestManagerPoolInfoFilter.h
	src/rm/RequestManagerPoolInfoFilter.cc
2011-07-01 18:39:36 +02:00
Ruben S. Montero
8e33e4cded feature #687: Resources now stores the name of the owner and the group 2011-06-30 11:31:00 +02:00
Ruben S. Montero
d5bd0e16bd feature #696: Added state flag for VM pool info. Removed uneeded dummps in VMPool 2011-06-27 13:19:03 +02:00
Carlos Martín
3fa10a2ddf Feature #407: Add 'GID' attribute to some pool objects; change *pool.info XML-RPC flag meaning; update onedb migrator; fix tests.
* VM, VMTEMPLATE, VNET & IMAGE objects have a GID attribute, and a table column. The group id is inherited from the user creating the object, except for VMs created from Templates, that inherit the Template's group.
  * The new flag meaning has been modified in src/rm sources and CLI commands for one.(vm,template,vnet,image)pool.info . It changes from
      -2 all,  -1 mine & public,  >=0 UID
    to
      -3 mine,  -2 all,  -1 mine & group
  * USER has a group, but not secondary ones. The user_pool table doesn't have a GID column, we'll deal with it later when the group-users relations are implemented.
  * onedb migrator 1.rb: deleted USERNAME, and GID added.
2011-05-16 17:00:27 +02:00
Carlos Martín
09c93c7528 Feature #407: Remove usernames from owned resources, only user-id is stored now. 2011-05-12 17:10:35 +02:00
Carlos Martín
5b9fed52f7 Feature #487: First version of TemplatePool added to the core: DB, Pool and RM methods. 2011-03-30 19:03:49 +02:00
Ruben S. Montero
35de55685d Merge branch 'feature-407'
Conflicts:
	src/host/ClusterPool.cc
2011-03-29 00:01:00 +02:00
Carlos Martín
b2f1051e07 Feature #407: Refactor of pool dumps to be performed in PoolSQL class 2011-03-09 11:25:46 +01:00
Ruben S. Montero
ac6c5644fd feature #407: Minor changes for the VirtualMachine Pool 2011-03-08 17:55:14 +01:00
Ruben S. Montero
9288a79aa3 feature #407: Several bug fixes. Better index for names. 2011-03-05 03:24:11 +01:00
Carlos Martín
493a9e9c8e Feature #407: Virtual Machine uses new xml blob DB schema 2011-03-01 17:47:20 +01:00
Jaime Melis
4980255942 Update copyright year to 2011 2011-02-25 14:34:44 +01:00
Carlos Martín
90a58ce066 one.vmpool.info xml-rpc method now has 2 more parameters
The method keeps compatibility, and can be called with 2 or 4 parameters

It now returns the the extended info upon request, reading only the vm_pool
table in the DB if the Histoy and username are not needed

The last parameter allows filtering by VM status
2010-08-27 16:11:28 +02:00
Ruben S. Montero
7ac6121da9 bug #274: Error messages are now sent to the user when allocating objects 2010-08-05 19:28:28 +02:00
Ruben S. Montero
4f82f078b8 Merge branch 'bug-295' into one-2.0
Conflicts:
	include/Image.h
	src/image/Image.cc
2010-08-04 17:42:53 +02:00
Carlos Martín
fa002ca701 feature #282: Template attributes are now managed by the PoolSQL objects, and then the object has to be updated to write changes to DB. 2010-08-04 16:55:00 +02:00
Carlos Martín
7221ae061c feature #282 & #192: VirtualMachineTemplate moved from its own table to a vm_pool column. 2010-08-04 10:30:31 +02:00
Ruben S. Montero
04874dbf7a bug #295: Hooks can be specified without absolute path. Adjusted share location for system-wide installations 2010-08-02 11:24:01 +02:00
Ruben S. Montero
34b2ed6c5c feature #203: Authorization method for VMs now in RM 2010-07-14 18:11:29 +02:00
Ruben S. Montero
1d54c60f45 Merge branch 'feature-261' 2010-06-28 17:19:16 +02:00
Ruben S. Montero
2e06f4f26d Merge branch 'feature-189'
Conflicts:
	include/VirtualMachine.h
	include/VirtualMachinePool.h
	include/VirtualNetwork.h
	share/etc/oned.conf
	src/scheduler/src/xml/expr_arith.cc
	src/scheduler/src/xml/expr_arith.h
	src/scheduler/src/xml/expr_bool.cc
	src/scheduler/src/xml/expr_bool.h
	src/scheduler/src/xml/expr_parser.c
	src/template/template_parser.c
	src/template/template_syntax.cc
	src/template/template_syntax.h
	src/vm/VirtualMachine.cc
	src/vm/VirtualMachinePool.cc
	src/vm/vm_var_parser.c
	src/vm/vm_var_syntax.cc
	src/vm/vm_var_syntax.h
2010-06-25 14:34:44 +02:00
Carlos Martin and Ruben S. Montero
37f8c0d4dc feature #261: Added support for limiting the number of VMs processed per monitoring interval. 2010-06-17 23:55:01 +02:00
Ruben S. Montero
4be783e9be Back-port of REQUIREMENTS parsing for VM templates 2010-06-02 14:51:05 +02:00
Constantino Vázquez Blanco
f91f9de99c feature-#206: Modified return value of VM pool allocate to comply with virtual definition 2010-05-03 17:21:35 +02:00