Commit Graph
40 Commits
Author SHA1 Message Date
Ruben S. Montero 330b637644 feature #1798: always show RESERVED attributes in Host and Cluster templates 2014-03-05 23:53:38 +01:00
Ruben S. Montero 12a9b8db46 feature #2731: Datastores with ID < 100 can now be removed or added to a cluster 2014-02-20 15:48:13 +01:00
Carlos Martín 025092f157 Feature #2672: Disable cache for federation slave nodes 2014-01-24 18:27:36 +01:00
Ruben S. Montero 7686ca93e0 Merge branch 'master' into vdc-federation
Conflicts:
	include/GroupPool.h
	include/UserPool.h
2014-01-23 16:36:22 +01:00
Jaime Melis 11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Carlos Martín 402eee32ef Feature #2565: New special cluster ID, 10, adds ACL rule *
This allows the admin to assign all resources from a zone
to a group
2013-12-20 17:21:47 +01:00
Ruben S. Montero aaaadf3fc8 feature #1712: Default DS selection code moved to Cluster class 2013-09-16 12:00:34 +02:00
Ruben S. Montero 9eb140e38b feature #1712: Use cluster system DS. If no DS is specified in onevm.deploy the default SYSTEM_DS will be used. 2013-08-31 01:03:46 +02:00
Ruben S. Montero 548f2f9854 feature #1879: Fix compilation warnings 2013-04-10 23:17:54 +02:00
Ruben S. Montero b65afc38ee feature #1879: Check name for all pools 2013-04-10 14:50:00 +02:00
Ruben S. Montero 15ff8b16e9 bug #1813: Storage type for BODY columns is now MEDIUMTEXT (this is only relevant for MySQL DBs)
(cherry picked from commit b68a8b6c83)
2013-03-15 15:34:30 +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
Ruben S. Montero f2201a4c07 bug #1694: Use datastore ID in error message 2012-12-24 14:17:46 +01:00
Carlos Martín 3c6871b2c0 Bug #1694: Remove potential deadlock 2012-12-17 16:54:17 +01:00
Carlos Martín cdab2668d1 Bug #1694: Add new attribute system_ds to Cluster. Template attribute is now ignored 2012-12-17 16:23:16 +01:00
Ruben S. Montero ee40a04c83 feature #1393: DATASTORE_LOCATION can be set in the cluster template 2012-10-05 13:23:44 +02:00
Carlos Martín a6b2c86bfb Bug #1306: Add Template contents to Clusters 2012-06-28 17:51:21 +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 761e3d5973 Feature #1112: Cluster -1 elements now have empty Cluster name element. The CLI shows '-' for these resources 2012-03-16 18:20:35 +01:00
Carlos Martín bb2b9371a0 Feature #1112: Do not create cluster "default" at bootstrap 2012-03-06 14:47:17 +01:00
Carlos Martín 9a7d78f7f2 Feature #1112: Hosts, DS & VNets can belong to the 'none' cluster.
The cluster id -1 is used to indicate objects that can be clustered,
but are not assigned to any cluster. The new methods to remove objects
from their current datastore actually set this 'none' or -1 cluster
ID.

VNets are always created in this 'none' cluster. Hosts and DS require
a cluster ID to be placed when allocated, and the ruby OCA by default
sets it to 'none'
2012-03-01 17:14:52 +01:00
Carlos Martín 95b5f40504 Feature #1112 #962: Better handling of error messages in Clusters 2012-02-27 16:08:34 +01:00
Carlos Martín 85caad3a1e Feature #1112: Cluster does not inherit from ObjectCollection, instead it now contains 3 collections for hosts, DS and vnets 2012-02-27 14:55:43 +01:00
Carlos Martín 4e2b33fa23 Feature #1112: Clusters are coming back into fashion this season 2012-02-24 15:58:51 +01:00
Carlos Martín e28ad2a69d Feature #662, #407: Delete operator<< from PoolObjectSQL classes. Remove Cluster objects. 2011-06-03 15:33:48 +02:00
Carlos Martín 3db7376b5e Feature #407: Fix tests 2011-05-25 18:45:16 +02:00
Carlos Martín 7285fbd5c0 Merge branch 'feature-407' of git.opennebula.org:one into feature-407
Conflicts:
	include/Group.h
	include/User.h
	src/cluster/Cluster.cc
	src/cluster/ClusterPool.cc
	src/group/Group.cc
	src/rm/RequestManagerUserAllocate.cc
	src/um/User.cc
2011-05-25 14:56:35 +02:00
Carlos Martín 6230001c56 Feature #407:
* Chown method: destination user and group are checked, auth. manager request used.
  * New one.group.chown method.
  * New ObjectCollection class to store sets of IDs.
  * New RM user.addgroup user.delgroup methods, users and groups store a cross-reference ID set.
  * Clusters store a set of Host IDs. The RM part of the add/remove host functionality works, but should be re-done to avoid deadlocks.
  * Fix onedb schmea for template_pool table bug.
2011-05-25 12:13:17 +02:00
Ruben S. Montero 96a7dc0d9f feature #407: reuse cluster_id in function 2011-05-23 12:58:37 +02:00
Ruben S. Montero 122a45ac28 feature #407: order of uid, gid the same for constructors. Solved som issues with fix_times 2011-05-22 22:30:36 +02:00
Carlos Martín 6329d8b3fa Feature #407: Use Cluster-ids instead of cluster names for Hosts. Update onedb 1.rb, tests and CLI for this change 2011-05-17 12:45:16 +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 ae53d43789 Feature #407: Base implementation for groups.
So far groups can be managed, but resources can't be associated to a group.
Tasks done:

  * New basic onegroup command
  * RequestManager XML-RPC methods
  * New group pool
  * New GROUP authorization symbol
  * Basic GroupPool tests
  * Ruby OCA methods
2011-05-10 18:45:15 +02:00
Carlos Martín 085d86e12e Feature #487: Fix tests 2011-03-31 12:14:12 +02:00
Carlos Martín 1e1cb17e3a Features #539, #527, #407: Basic consistency checks for User, Cluster and VNet creation 2011-03-21 19:01:40 +01:00
Carlos Martín 96b01044db Feature #407: PoolSQL, remove unused variable and tests for name_pool index 2011-03-21 17:44:33 +01:00
Ruben S. Montero 3a833878c0 feature #407: Minor modification on Cluster and Host classes 2011-03-17 21:04:24 +01:00
Carlos Martín c61186bc3a Feature #407: Tests for clusters and some minor host-cluster dependencies moved 2011-03-15 17:06:08 +01:00
Carlos Martín cc81b3cf65 Feature #407: ClusterPool is now a full PoolSQL class 2011-03-14 19:06:39 +01:00