Commit Graph
83 Commits
Author SHA1 Message Date
Ruben S. Montero 1c4d369c3b feature #2063: Add Custom hook to VM Pool. 2013-05-18 01:04:40 +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
Carlos Martín d4245a6699 Feature #1681: Add new oned.conf att. for a default umask 2013-01-18 18:34:51 +01:00
Ruben S. Montero 02208c5676 feature #1103: Always deal with boolean values from oned.conf in the same way 2012-12-24 02:41:17 +01:00
Carlos Martín 406877743e Feature #1103: Finish integrating the new oned.conf att. VM_SUBMIT_ON_HOLD 2012-12-20 18:57:20 +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 3df4c6b65a Merge branch 'feature-1144' 2012-10-11 17:12:01 +02:00
Ruben S. Montero 621f615a0c feature #1013: Simplify "on create" Hooks (now $ID are the same instead of $VMID, $HID,...). Add support for create/remove Virtual Network Hooks 2012-10-08 12:33:32 +02:00
Ruben S. Montero 0d163cd300 feature #1144: Hook for UNKNOWN 2012-10-07 23:25:54 +02:00
Ruben S. Montero 17d869e388 Merge branch 'feature-1288'
Conflicts:
	install.sh
2012-06-11 23:00:56 +02:00
Ruben S. Montero 7e7dcf6eac feature #1288: Fix some bugs in quota rollback 2012-06-05 23:06:14 +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 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 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 05f93acb38 Bug #1237: Disable the cache name index for the VM pool 2012-04-20 10:23:51 +02:00
Carlos Martín e522dabcc1 Feature #1112, #962: Fix a bunch of typos in error messages 2012-03-07 17:45:08 +01:00
Ruben S. Montero 80b49ff6b4 feature #1112: Add system_dir for VMs 2012-02-24 23:13:22 +01: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
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
Ruben S. Montero 2249929171 Merge branch 'feature-476'
Conflicts:
	src/vnm/VirtualNetwork.cc
2011-06-23 17:00:56 +02:00
Jaime Melis 5e3258c6f6 feature #476: new hook trigger on PROLOG 2011-06-07 17:58:25 +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
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 9288a79aa3 feature #407: Several bug fixes. Better index for names. 2011-03-05 03:24:11 +01:00
Ruben S. Montero fadbe3a4d7 feature #407: All resources now uses the base classes and index 2011-03-04 23:26:55 +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 f9902c89ec Bug #419: "SELECT *" SQL statement modified to use the column names 2011-01-27 17:23:51 +00:00
Ruben S. Montero cd05b5a1ef feature #357: Added on failed hook for VMs 2010-12-22 18:08:04 +01:00
Ruben S. Montero fbd2e2aefd fix white spaces 2010-08-27 16:36:36 +02: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 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 0139994dcf Merge branch 'feature-200' 2010-07-08 00:56:25 +02:00
Ruben S. Montero 334ad65c82 feature #200: Homogenous insert/allocate methods 2010-07-01 19:36:25 +02:00
Ruben S. Montero 1d54c60f45 Merge branch 'feature-261' 2010-06-28 17:19:16 +02:00
Ruben S. Montero 2d9d78a03a Merge branch 'master' into feature-200
Conflicts:
	include/VirtualNetwork.h
	src/vm/VirtualMachine.cc
2010-06-25 19:16:14 +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