1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-01 06:50:25 +03:00

57 Commits

Author SHA1 Message Date
Carlos Martín
b9588846ef Feature #4464: Refresh VM cluster requirements
Cluster requirements are recalculated:

- on release from hold
- on resume from undeployed/stopped
- on resched
- on migrate
2016-08-30 18:35:09 +02:00
Javi Fontan
e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero
8970665d46 bug-4376: Adds vlan bitmap to handle collition and reservation.
OpenNebula now generates the vlan_id instead of the drivers
2016-04-06 18:07:56 +02:00
Ruben S. Montero
784a4fc960 feature #2980: VNC port tracking. Includes a VNC bitmap for each cluster to
track the ports in use in the cluster and avoid port collision. VNC ports are
assigned when the VM is deployed and released when the VM is stopped, undeployed
or done.

Includes the following:
  - 9da66150dc0e3dc2731518d8a215f9598696a999
  - 4c35a9fcccf70cbe87d2947403ea815967e7b605
  - ccfccb6d2fc40aa1c07eb994f37b8da4fb479082
  - b1b64e61a39f4452c7ba00e581de42888e0e84a5
  - d474ee4db9ed520bcae743d510be35b25ea988ed
  - dacb61b1402da2ec309b6e79bdd285d0d11de84f
2016-04-05 12:56:34 +02:00
Ruben S. Montero
3fb8a0e161 feature #4369: Better const signature. Removed unused varibles and
methods. ACL filter is generated in the ClusterPool class, moved DB name
to private scope. Copy constructor for object collection. Uniform
get_cluster_id function.
2016-03-21 13:01:45 +01:00
Carlos Martín
568a529487 Feature #4369: Implement Cluster::insert for mysql DB 2016-03-18 16:02:42 +01:00
Carlos Martín
eff51a0dea Feature #4369: Use ObjectCollection::from_xml instead of from_xml_node 2016-03-17 18:17:37 +01:00
Carlos Martín
b715c4f773 Feature #4369: Remove datastore_location setting by cluster 2016-03-16 13:07:10 +01:00
Carlos Martín
724e9fe2b0 Feature #4369: Create a default cluster on bootstrap 2016-03-16 11:34:45 +01:00
Carlos Martín
f6d10bdec0 Feature #4369: Undo Host changes to have only one cluster 2016-03-15 16:37:36 +01:00
Carlos Martín
621a186947 Feature #4369: ACL engine uses multple clusters 2016-03-11 15:42:17 +01:00
Carlos Martín
e8a05ca1d7 Feature #4369: Replace cluster ID with a set of IDs 2016-03-10 16:28:33 +01:00
Ruben S. Montero
9e4af1ebc6 feature #3204: Security Group dynamic update. Add support to update SG
rules of running VMs though a new one.secgroup.commit operation
2016-03-01 23:31:31 +01:00
Jaime Melis
e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Carlos Martín
5000d27281 Feature #3778: Add new ds-id param to one.vm.migrate 2015-04-29 13:10:07 +02:00
Jaime Melis
8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00
Carlos Martín
509300f1da Feature #3471: Remove group resource providers 2015-01-21 12:24:44 +01:00
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 b68a8b6c83bdc6afb88febfb5ce304e57c20dd7b)
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