Ruben S. Montero
82e3f2e052
feature 1288: Add missing updates after modifying user quotas. XML-RPC method to set user quotas
2012-06-07 00:04:08 +02:00
Carlos Martín
04940ff188
Feature #1304 : Add new methods one.generic.*. VMTemplates have a new 'type' attribute.
...
As things are right now, VMTemplates with different types share the "namespace",
meaning that you can't have two templtes with the same name even if their type
is different
2012-06-06 18:03:46 +02:00
Ruben S. Montero
dc85b9ba1a
feature #1288 : Quotas for the SAVE_AS operation
2012-06-06 17:52:44 +02:00
Ruben S. Montero
cbcda494d7
feature #1288 : Update usage counters on resource removal
2012-06-06 17:05:11 +02:00
Ruben S. Montero
5c7dc58c66
feature #1288 : Image Quotas
2012-06-05 23:32:05 +02:00
Ruben S. Montero
7e7dcf6eac
feature #1288 : Fix some bugs in quota rollback
2012-06-05 23:06:14 +02:00
Ruben S. Montero
4420b1d81b
feature #1288 : New VM and Network quotas. Integration qith VM create operation
2012-06-05 19:04:02 +02:00
Ruben S. Montero
2a33492ad8
feature #1288 : Generic quota implementation
2012-06-05 13:34:28 +02:00
Ruben S. Montero
e60efb1480
feature #1288 : Generic Quota Management
2012-06-05 01:58:37 +02:00
Ruben S. Montero
e73c78869b
feature #1288 : Better interface for Quotas
2012-06-04 00:45:56 +02:00
Ruben S. Montero
ce3609c28c
feature #1288 : Better syntax to define DATASTORE quotas
2012-06-02 02:58:46 +02:00
Ruben S. Montero
7b934d673c
feature #1288 : Integrate stat driver function with image allocation process
2012-06-01 19:18:49 +02:00
Ruben S. Montero
b52cfad498
feature #1288 : Stat action for core. Re-write of image driver protocol
2012-06-01 12:02:15 +02:00
Ruben S. Montero
293ee180a4
feature #1288 : Update request id in add method for sync requests. AuthManager updated.
2012-06-01 12:01:23 +02:00
Ruben S. Montero
0d9a4c998a
feature #1288 : get, string version, for VirtualMachinePool
2012-06-01 11:58:47 +02:00
Ruben S. Montero
9361376e90
feature #1288 : Managers can now execute synchronous actions
2012-05-31 18:38:14 +02:00
Ruben S. Montero
e192b6348b
feature #1288 : Moved AuthRequest to its own file to prepare a generic synchronous request interface
2012-05-31 16:51:07 +02:00
Ruben S. Montero
dd6f8b22fa
Merge branch 'feature-1279'
2012-05-30 17:28:48 +02:00
Ruben S. Montero
6819043e4e
feature #1288 : Add rollback to image creation
2012-05-30 12:53:51 +02:00
Ruben S. Montero
552d370593
feature #1288 : Better integration for Quotas with RequestManager
2012-05-30 02:20:16 +02:00
Ruben S. Montero
d6beb1fb06
feature #1288 : Work on Quota interface. Integration with authZ/authN system
2012-05-29 00:36:13 +02:00
Ruben S. Montero
18695f1314
feature #1288 : Image quotas in the user class
2012-05-28 00:13:38 +02:00
Ruben S. Montero
99cd9aa69d
feature 1288: Add base class for Quotas. Implementation of Image Quotas
2012-05-27 23:15:05 +02:00
Carlos Martín
b377e4db99
Feature #1291 : New one.image.clone method
...
The core functionality is in place, but it is using the CP command.
To make it work, the ds_map cp scripts need to ignore the
check_restricted call. We will have to add another script to
the ds_mad drivers, probably clone
2012-05-25 12:56:51 +02:00
Ruben S. Montero
6f28628042
Merge branch 'bug-766'
2012-05-21 18:02:47 +02:00
Ruben S. Montero
e587a8928b
Merge branch 'feature-1055'
2012-05-18 14:23:20 +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
Ruben S. Montero
dabd5702a4
bug #766 : New monitoring states for the Hosts
2012-05-18 00:14: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
f2c6e63e12
feature #1099 : Inline hint for to_xml and to_xml_extended
2012-05-11 19:15:25 +02:00
Ruben S. Montero
740f821a59
feature #1055 : Added Reset action to OpenNebula core
2012-05-08 22:33:59 +02:00
Carlos Martín
31684f5798
Feature #1099 : Update VM usage attributes comments to reflect correct measure units
2012-05-08 16:18:24 +02:00
Carlos Martín
2c88fe83c8
Feature #1099 : Add complete VM info to all history records, even the active ones
2012-05-08 15:42:24 +02:00
Ruben S. Montero
de3cd97468
feature #1099 : VM info is set in history records in a separate function
2012-05-05 20:57:17 +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
70d5c75d04
Feature #1099 : Add VM template information to the History records once they are "closed"
2012-05-04 17:29:36 +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
0841d804c0
Merge branch 'feature-1243'
2012-05-01 23:29:59 +02:00
Ruben S. Montero
00b09519fd
feature #1243 : Seting/Clearing resched flag requires ADMIN permissions. Bring back Sconstruct tests.
2012-05-01 23:17:22 +02:00
Ruben S. Montero
71e4dc6967
bug 1212: Pass references instead of pointers
2012-04-27 00:12:55 +02:00
Ruben S. Montero
8ff221052d
feature #1243 : Add resched flag to VMs. Includes associated logic to make it work: RM methods, OCA bindings, CLI commands. LCM updated to clear the resched flag when leaving the running state Fixes VM tests
2012-04-26 19:06:49 +02:00
Carlos Martín
c71a92d18a
Bug #1232 : Improve automatic target assignment
2012-04-26 16:54:24 +02:00
Carlos Martín
f0c1641fdc
Revert "bug #1232 : Only allow Datastore & volatile disks. Remove automatic target generation. Remove unneeded oned.conf attributes"
...
This reverts commit e401b4900d
.
2012-04-26 16:54:24 +02:00
Ruben S. Montero
e401b4900d
bug #1232 : Only allow Datastore & volatile disks. Remove automatic target generation. Remove unneeded oned.conf attributes
...
(cherry picked from commit 5c1d4edb01
)
2012-04-21 01:54:14 +02:00
Ruben S. Montero
0680e537ca
Merge branch 'bug-834'
2012-04-20 11:45:17 +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
Ruben S. Montero
62a9ebe555
Bug: Add support for BLOCK disk types. Datastore supports a new attribute DISK_TYPE that is inherited by
...
the IMAGE and subsequent DISKs in VM templates. By default the FILE type is used
2012-04-19 11:44:19 +02:00
Carlos Martín
f747332367
Bug #834 : When any object type is deleted, its ACL rules are also deleted
2012-04-16 16:24:42 +02:00
Carlos Martín
261461ffb7
Bug #834 : When a group is deleted, ACL rules that match '__ __/@gid __' are cleaned
2012-04-16 15:06:06 +02:00
Jaime Melis
7104f524c3
Bump to development version 3.5.0
2012-04-16 14:11:07 +02:00
Jaime Melis
88e981887b
Revert "Bump to development version 3.5.0" - Wrong date for some copyrights.
...
This reverts commit 5c7410c678
.
2012-04-16 14:06:30 +02:00
Jaime Melis
19c8f22887
Merge branch 'master' of git.opennebula.org:one
2012-04-16 12:45:08 +02:00
Jaime Melis
5c7410c678
Bump to development version 3.5.0
2012-04-16 12:43:12 +02:00
Carlos Martín
eddf3353f6
Feature #872 : one.template.clone method in core, ruby OCA & CLI
2012-04-13 18:39:50 +02:00
Carlos Martín
a76be30312
Feature #1096 : Change authorization MAD definition to detect if there is any authZ driver enabled
2012-04-11 18:02:15 +02:00
Carlos Martín
57308da948
Bug #834 : When Users or Groups are deleted, their ACL rules are also dropped
...
(cherry picked from commit 5a481f23d8
)
2012-04-11 14:49:09 +02:00
Ruben S. Montero
58ebcb9b05
bug #903 : Debug Level from oned.conf is now used for VMs
2012-04-03 18:02:14 +02:00
Ruben S. Montero
17dbd1717a
bug #1178 : Ownership of the VM is checked now before releasing the IP/MAC lease
...
(cherry picked from commit aec7af2c75
)
2012-03-31 22:21:32 +02:00
Jaime Melis
226d404a6f
Bump version to 3.3.80 (release-3.4-beta1)
2012-03-29 13:02:25 +02:00
Carlos Martín
7a89275c2b
Feature #1112 : Return an error message when DS 0 (system) is added to any cluster
2012-03-22 15:56:09 +01:00
Carlos Martín
3c1cf1f1b3
Feature #1112 : Fix oneimage update (broken in commit:92dd8d4c)
2012-03-14 15:48:06 +01:00
Carlos Martín
6db8eea366
Feature #1112 : Bug, new vnets were added to their clusters in the datastore set
2012-03-13 18:38:50 +01:00
Carlos Martín
a9d7a9b072
Bug #1159 : Move restricted attribute checks to RM. Do not check restricted attributes when a template owned by oneadmin is instantiated
2012-03-09 17:34:57 +01:00
Carlos Martín
f2e6303c3e
Feature #1112 : Add new cluster_id parameter to one.vn.allocate
2012-03-09 15:49:45 +01:00
Carlos Martín
ea70484edc
Feature #1112 : Fix save_as image state update when VMs in failed state are deleted
2012-03-06 18:44:22 +01:00
Carlos Martín
51cec846bf
Feature #1112 : Renamge DATASTORE/TYPE to DS_MAD
2012-03-06 15:13:55 +01:00
Carlos Martín
bb2b9371a0
Feature #1112 : Do not create cluster "default" at bootstrap
2012-03-06 14:47:17 +01:00
Ruben S. Montero
d38292505b
feature #1112 : Update Image state when releasing it (persistent and save_as images)
2012-03-06 00:18:01 +01:00
Ruben S. Montero
13bee9d9da
Merge branch 'feature-1112' of git.opennebula.org:one into feature-1112
2012-03-05 23:49:42 +01:00
Ruben S. Montero
92dd8d4c5e
feature #1112 : Save_as functionality
2012-03-05 23:49:18 +01:00
Carlos Martín
5ea3d682ee
Feature #1112 : Fix tests compilation
2012-03-05 17:53:17 +01:00
Carlos Martín
05fdb88739
Feature #1112 : Allow datastore template update to change the internal TYPE and TM_MAD attributes
2012-03-05 16:47:59 +01:00
Carlos Martín
20ff34756c
Feature #1112 : Add automatic cluster placement requirements to new VMs
2012-03-05 16:20:04 +01:00
Carlos Martín
759c0a2366
Feature #1112 : New onedatastore update method
2012-03-02 17:25:42 +01:00
Carlos Martín
6ff6e1f200
Feature #1112 : Add permissions to DS. New chown & chmod methods
2012-03-02 16:11:50 +01:00
Ruben S. Montero
c58dd74666
feature #1112 : Adjust core modules to generate right paths for system datastore. Fix bugs in TM shared
2012-03-02 00:06:57 +01:00
Carlos Martín
f69a646ceb
Feature #1112 : Add owner and group to DS. To do: chown, chmod methods
2012-03-01 18:50:17 +01:00
Carlos Martín
a4426b6824
Feature #1112 : Store oneadmin's ID and name in UserPool
2012-03-01 18:48:25 +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
55b4b9510a
Feature #1112 : DS base_path is set by the core in /var/lib/one/datastores/$ID
2012-03-01 14:59:19 +01:00
Carlos Martín
b49a249943
Feature #1112 : Associate VNets to Clusters. New VNets are created in the "default" cluster
2012-02-29 18:09:47 +01:00
Carlos Martín
a04102ce78
Feature #1112 : Refactor RMDelete, hosts and datastores use the same method to be removed from their clusters
2012-02-29 17:00:33 +01:00
Carlos Martín
c3d504293c
Feature #1112 : Move datastore to cluster addition from DatastorePool::allocate to RMAllocate
2012-02-29 16:30:52 +01:00
Carlos Martín
be00373b09
Feature #1112 : Refactor RequestManagerAllocate to be able to add objects to clusters on creation
2012-02-29 16:06:29 +01:00
Carlos Martín
07eba81abd
Feature #1112 : refactor Request::get_info
2012-02-28 17:59:03 +01:00
Carlos Martín
f722dafb43
Feature #1112 : Make cluster parameter mandatory for new hosts
2012-02-28 17:30:07 +01:00
Carlos Martín
c8d1af5e8a
Feature #1112 : Remove host from its cluster when it is deleted
2012-02-28 17:25:02 +01:00
Carlos Martín
98fcd42e2b
Feature #1112 : Integrate clusters into acl rules
2012-02-28 15:29:32 +01:00
Carlos Martín
4d5ea6f8a2
Merge branch 'master' into feature-1112
2012-02-28 12:33:05 +01:00
Carlos Martín
dd51ce11bf
Feature #1112 : Associate Datastores to Clusters
2012-02-28 12:17:33 +01:00
Carlos Martín
313c2967c7
Feature #1112 : Refactor Cluster attributes to be used in other classes by inheritance
2012-02-27 18:55:15 +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
Ruben S. Montero
37e25141de
feature #1112 : Makes system datastore access safer
2012-02-26 21:52:10 +01:00
Ruben S. Montero
5363c4ff05
feature #1112 : Fix VM paths for the new system datastore
2012-02-25 23:31:44 +01:00
Ruben S. Montero
aecacf5c80
feature #1112 : Prepare TM to use a single Transfer Manager driver that handle multiple Datastore transfer plugins
2012-02-25 01:28:28 +01:00
Ruben S. Montero
96e1055543
feature #1112 : Get TM_MAD from Datastores
2012-02-25 01:25:59 +01:00
Ruben S. Montero
7279fc1b96
feature-#1112: Add remote_system_dir for Virtual Machines
2012-02-25 01:25:28 +01:00
Ruben S. Montero
80b49ff6b4
feature #1112 : Add system_dir for VMs
2012-02-24 23:13:22 +01:00
Ruben S. Montero
fc6aa51c0d
feature #962 , feature #1112 : Improve error messages when getting an Image or a Virtual Network
2012-02-24 21:13:56 +01:00
Carlos Martín
f6615f66d2
Feature #1112 : New method & command onecluster addhost
2012-02-24 18:55:21 +01:00
Carlos Martín
2580411adf
Feature #1112 : Add cluster attribute to Host
2012-02-24 18:53:18 +01:00
Carlos Martín
304db6457b
Feature #1112 : Remove duplicated cluster header
2012-02-24 16:58:11 +01:00
Carlos Martín
4e2b33fa23
Feature #1112 : Clusters are coming back into fashion this season
2012-02-24 15:58:51 +01:00
Ruben S. Montero
f4743b6077
Fix Tests.
2012-02-24 14:55:31 +01:00
Ruben S. Montero
a0ca68d0e3
Remove TM from Host
2012-02-24 14:55:00 +01:00
Carlos Martín
7ffae6fb8e
Feature #1112 : Remove datastore initialization from oned.conf
2012-02-23 18:27:35 +01:00
Carlos Martín
1e63b6ce4e
Feature #1112 : Add TM_MAD to Datastores
2012-02-22 18:22:41 +01:00
Carlos Martín
98c5c246c2
Feature #1112 : Do not use host's TM_MAD
2012-02-22 16:01:30 +01:00
Carlos Martín
546b6c8a4e
Feature #1112 : Restrict image creation on system DS. Create new default DS
2012-02-22 12:19:47 +01:00
Jaime Melis
ae35b61159
Bump to 3.3.0
2012-02-20 12:31:34 +01:00
Ruben S. Montero
3a8525bdc1
feature #1112 : Work on the datastore drivers:
...
- Moved references to image_mad to datastore_mad. Adjusted installation dirs and source files
- FS driver cp command uses DS_DRIVER_ACTION_DATA message
- New libfs.sh to deal with datastore protocol
- New xpath.rb to get XML elements in shell programs
- Change oned.cong and OpenNebula core files to use DATASTORE instead of IMAGE
- Change mkfs driver function to use the drv action data
2012-02-19 02:08:03 +01:00
Carlos Martín
b0063c0f80
Feature #1112 : WIP, Use XML data in image manager driver messages
2012-02-17 17:28:31 +01:00
Carlos Martín
90f8569f18
Feature #1112 : Missing file DatastoreTemplate.h
2012-02-17 11:46:46 +01:00
Carlos Martín
d2ad28a909
Feature #1112 : Use SYSTEM_DS values from oned.conf to create default DS
2012-02-16 20:17:36 +01:00
Carlos Martín
4e2bd36415
Feature #1112 : Datastores are now defined with templates. New att. type and base path
2012-02-16 19:37:08 +01:00
Carlos Martín
0dfb521b9b
Feature #1112 : Create default system datastore at bootstrap
2012-02-15 17:17:32 +01:00
Carlos Martín
174ba75d63
Feature #1112 : Move datastore definition from image template to xml-rcp parameter
2012-02-15 16:47:52 +01:00
Ruben S. Montero
d754c987e6
feature 1112: Work integrating datastores and images
2012-02-15 00:19:42 +01:00
Carlos Martín
e9d026e3ae
Feature #1112 : WIP associate Images to Datastores
2012-02-10 19:28:18 +01:00
Carlos Martín
e76e1227d3
Feature #1112 : Add datastore to ObjectType strings
2012-02-10 14:55:29 +01:00
Carlos Martín
b495e868b3
Feature #1112 : Fix one.datastore.delete
2012-02-10 13:27:26 +01:00
Carlos Martín
354ef28985
Feature #1112 : Continue integration of DatastorePool in Nebula class
2012-02-10 13:24:52 +01:00
Ruben S. Montero
69e9192a98
feature-1112: Delete dspool when destoying the Nebula class
2012-02-10 01:18:46 +01:00
Ruben S. Montero
1d8d821d04
feature #1112 : Change xml-rpc method name
2012-02-10 00:51:26 +01:00
Carlos Martín
9ec4b450a4
Feature #1112 : Create Datastore and DatastorePool classes, and RM methods
2012-02-09 17:56:47 +01:00
Carlos Martín
5cf1b27e2a
Feature #1095 : Templates in one.*.allocate, one.*.update & one.vn.add/rmleases can be in XML
2012-01-30 19:31:21 +01:00
Carlos Martín
b081743902
Bug #1087 : Update cache name index after a chown operation
...
(cherry picked from commit def2de2a68
)
2012-01-25 15:58:34 +01:00
Carlos Martín
d40095c523
Bug #1086 : Re-implement cache key for User, Group and Host pools
...
(cherry picked from commit 03e6449d46
)
2012-01-25 12:30:12 +01:00
Carlos Martín
aa60b0f5ac
Feature #1070 : Move set_restricted_attributes to base class Template
2012-01-24 03:00:57 -08: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
Carlos Martín
5bd2e8fa54
Feature #940 : Add restricted attributes for Images
2012-01-20 17:45:14 +01:00
Carlos Martín
ef241ba919
Fix description in xml-rpc chmod methods
2012-01-18 18:13:19 +01:00
Jaime Melis
4869bc3634
Merge branch 'master' of git.opennebula.org:one
2012-01-12 12:29:37 +01:00
Jaime Melis
a2b7cb6bc9
Bump to version 3.2.0
2012-01-12 12:29:18 +01:00
Carlos Martín
f1478e680e
Feature #862 : Change RMDelete auth. request to ADMIN for Hosts, Groups and Users, and MANAGE for the rest
2012-01-12 12:07:03 +01:00
Tino Vazquez
e0ea726eeb
feature #1020 : Default value for VMware datacenter
2012-01-11 12:46:49 +01:00
Carlos Martín
d36e3f1cf9
Feature #862 : Remove PUBLIC from the authorization driver protocol
2012-01-10 15:24:01 +01:00
Ruben S. Montero
5c033040aa
feature-862: Check persistent state and permissions for Images
2012-01-06 01:36:57 +01:00
Ruben S. Montero
30acd6df4f
feature #862 : Modified behavior of MINE, MINE-GROUP ALL queries
2012-01-06 01:12:55 +01:00
Carlos Martín
230252f0b4
Feature #862 : Restore the MINE_GROUP filter flag for poolinfo calls. Change the default flag to 'ALL' in CLI and Sunstone
2012-01-05 18:56:37 +01:00
Carlos Martín
2f080668d8
Feature #862 : Merge RequestManagerPoolInfo into RequestManagerPoolInfoFilter
2012-01-05 18:31:19 +01:00
Ruben S. Montero
2af47bf630
feature #862 : DELETE now requires MANAGE and CREATE permissions over the object
2012-01-05 02:39:00 +01:00
Ruben S. Montero
3088f5ca5c
feature #862 : Refactor Chown function
2012-01-05 01:45:53 +01:00
Carlos Martín
38f494855b
Feature #862 : Add one.*.chmod xml-rpc methods in the core
2012-01-04 20:14:09 +01:00