Ruben S. Montero
d6206edfa8
feature #407 : Changed implementation for user.chown. Removed host.chown. set_gid/uid in PoolObjectSQL does not check gid. Old groups updated when changing users primary groups
2011-06-09 00:58:57 +02:00
Ruben S. Montero
954038d426
feature #407 : Users gets the gid of user performing the allocate if not oneadmin. Group are added to users groups in constructor. Groups are updated in user allocate
2011-06-09 00:12:39 +02:00
Carlos Martín
edf3df5671
Feature #662 : Add error message to PoolSQL::drop
2011-06-08 19:18:12 +02:00
Carlos Martín
069cd6bfb1
Feature #662 : User add/del group: fix a couple of bugs, and better error messages.
2011-06-07 16:58:40 +02:00
Carlos Martín
43a7c5c67b
Feature #662 : New user.chown method. Allow chown to change either owner or group alone.
2011-06-07 16:55:23 +02:00
Carlos Martín
1c1d981cfe
Feature #662 : Better one.*.delete method implementation. GroupPool::drop checks for errors, and returns error messages.
2011-06-07 16:32:18 +02:00
Ruben S. Montero
ca3d0154c8
feature #662 , #407 : Better error messages. Added some missing pool updates and mutex unlocks
2011-06-04 04:02:19 +02:00
Ruben S. Montero
e3a930dd10
feature #662 : Better error messages for authZ operations
2011-06-04 02:51:50 +02:00
Carlos Martín
064ea08895
Merge branch 'feature-407rm' of git.opennebula.org:one into feature-407rm
2011-06-03 19:09:55 +02:00
Ruben S. Montero
d1cba31ce3
feature #662 : Missing RM file
2011-06-03 19:10:56 +02:00
Carlos Martín
16aa776f7e
Merge branch 'feature-407rm' of git.opennebula.org:one into feature-407rm
...
Conflicts:
src/rm/RequestManager.cc
src/rm/SConstruct
2011-06-03 19:09:44 +02:00
Carlos Martín
0fecbced92
Feature #662 : Refactored RM methods for Hosts and Images
2011-06-03 19:01:52 +02:00
Ruben S. Montero
8c8ead4f74
feature #407 : new CHOWN operation in AuthManager
2011-06-03 18:26:59 +02:00
Ruben S. Montero
881d6968d8
feature #662 , #407 : New chown methods
2011-06-03 18:08:20 +02:00
Ruben S. Montero
c004100564
Merge branch 'feature-407rm' of git.opennebula.org:one into feature-407rm
...
Conflicts:
src/host/HostPool.cc
2011-06-03 17:01:52 +02:00
Ruben S. Montero
70435d9043
feature #407 , #662 : New User methods in RM and some changes in the add/del group interface
2011-06-03 16:58:42 +02:00
Jaime Melis
662d7f6256
feature #476 : support phydev attribute in core
2011-06-03 16:52:47 +02:00
Carlos Martín
e28ad2a69d
Feature #662 , #407 : Delete operator<< from PoolObjectSQL classes. Remove Cluster objects.
2011-06-03 15:33:48 +02:00
Ruben S. Montero
532982b6fb
feature #407 : Prevent some deadlocks when adding/removing users from groups
2011-06-03 13:31:11 +02:00
Ruben S. Montero
3cf5d5e7cd
feature #407 : Moved implementation of ObjectCollection to cc file
2011-06-03 12:11:33 +02:00
Ruben S. Montero
72435cd453
Merge branch 'feature-407' into feature-407rm
...
Conflicts:
include/Host.h
include/PoolObjectSQL.h
include/RequestManager.h
src/rm/RequestManager.cc
src/rm/RequestManagerUserAllocate.cc
src/rm/SConstruct
2011-06-02 23:21:14 +02:00
Carlos Martín
fa46633339
Feature #662 : New update method for Images and Templates added to OCA and CLI (work in progress).
...
New template instantiate method in OCA and CLI.
Fix small bugs in RM.
2011-06-02 19:17:22 +02:00
Jaime Melis
2af638e0a1
feature #476 : get hook_location from scripts_remote_dir
2011-06-02 15:51:49 +02:00
Ruben S. Montero
9af500b4cd
feature #662 : Adding/removing files
2011-06-02 00:55:43 +02:00
Ruben S. Montero
d42f3d33f1
feature #662 , #607 : New update methods updates object templates (hosts, images and vm templates)
2011-06-02 00:51:42 +02:00
Ruben S. Montero
c7625b4836
feature #662 , #607 : Replace function for templates, Added VMTemplate functions
2011-06-02 00:20:42 +02:00
Ruben S. Montero
686b8d5b40
feature #662 : Removed uneeded files. New factory method to get templates from a PoolObjectSQL
2011-06-01 23:53:09 +02:00
Ruben S. Montero
af3eed6063
feature #622 : VirtualMachine Methods
2011-06-01 18:18:36 +02:00
Ruben S. Montero
437a01a2c6
feature #622 : Added PERSISTENT tag to DISKs based in persistent IMAGES. New method to setup auth requests for virtual machine templates.
2011-06-01 12:41:46 +02:00
Ruben S. Montero
0a13288330
feature #622 : VirtualMachineAllocate method in Request Manager
2011-06-01 12:37:39 +02:00
Ruben S. Montero
e61cd923c5
feature #662 : Deleted unneeded file and moved object to string method
2011-05-31 00:16:57 +02:00
Ruben S. Montero
700d92738e
feature #622 : VirtualNetwork methods uses a common base class
2011-05-29 00:37:59 +02:00
Ruben S. Montero
5bde303fc8
feature #662 : Moved string representation of Auth objects for error printing
2011-05-28 11:36:24 +02:00
Ruben S. Montero
25068e4d59
feature #662 : Allocate methods
2011-05-28 04:03:09 +02:00
Ruben S. Montero
fb3d3a88bb
feature #662 : Common method for publish requests
2011-05-27 00:21:14 +02:00
Ruben S. Montero
b050a5da9f
feature #622 : Public is now an attribute of PoolObjectSQL. Redesign of authorization function
2011-05-26 12:20:56 +02:00
Ruben S. Montero
fc15b443b6
feature #662 : Delete uses a common Request. Moved more functionality to base classes
2011-05-26 00:59:50 +02:00
Ruben S. Montero
c15a9e9a12
feature #622 : Info methods use a comon execute function
2011-05-25 19:26:52 +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
Ruben S. Montero
d16ee7254c
feature #662 : Info methods for objects. Now the info requests are authorized
2011-05-25 13:57:00 +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
01d932adea
feature #622 : Added auth for the pool infos. New Auth action is INFO_POOL
2011-05-24 17:52:17 +02:00
Ruben S. Montero
ac46cf5dee
feature #662 : Pool Info methods now uses the same implementation
2011-05-24 17:31:27 +02:00
Ruben S. Montero
061ea1b397
feature #622 : Harden RequestManager Class. New authenticate method for the UserPool returns group. Tests have been updated
2011-05-24 15:36:40 +02:00
Ruben S. Montero
04977725a0
feature #662 : moved error codes to Request.h class
2011-05-24 15:23:07 +02:00
Ruben S. Montero
c3e29e7f83
feature #662 : New authenticate method returns the GID
2011-05-24 15:15:23 +02:00
Ruben S. Montero
043cba4cee
feature #662 : New Request class to abstract XML-RPC requests
2011-05-24 14:32:39 +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
Ruben S. Montero
3efc2abdc1
Merge branch 'master' into feature-407
...
Conflicts:
install.sh
2011-05-21 02:28:23 +02:00
Ruben S. Montero
e77a5f5b13
feature #407 : LastOID is private for the pools. Minor changes in Group classes
2011-05-21 02:06:29 +02:00
Carlos Martín
b0ddfd382c
Feature #407 : New XML-RPC, Ruby OCA & CLI method 'chown' for VM,TEMPLATE,NET,USER & IMAGE. Work in progress, only basic functionality without authorization or consistency checks.
2011-05-17 19:13:59 +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
211eed3289
Feature #407 : Create default groups 'oneadmin' and 'users'. Make regular groups start from ID 100. Fix tests.
...
Feature #591 : Add group_pool table to the DB migration script.
2011-05-13 12:51:23 +02:00
Ruben S. Montero
5483a1ba92
feature #523 : New to_xml64 method for objects that generates a base64 encoded version of the object
2011-05-13 00:47:21 +02:00
Carlos Martín
e9b0bf3eea
Merge branch 'master' into feature-407
...
Conflicts:
install.sh
src/nebula/Nebula.cc
2011-05-12 17:28:03 +02:00
Ruben S. Montero
5bfec3ab96
feature #513 : Moved SSL utils to a common Helper Class
2011-05-12 17:20:52 +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
bde842ed88
Merge branch 'feature-591'
...
Conflicts:
install.sh
2011-05-12 14:50:22 +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
691c965312
Bug #566 : New control table to store the last used oid
...
Feature #591 : Add new control table, and fix SQL syntax for MySQL
2011-05-09 16:09:56 +02:00
Ruben S. Montero
dd32809e37
Bug #576 : Parser of the monitor information is now more robust. Error parsing the monitor info is log as an error in the VM template. The Template attributes are also XML secure, names are fixed to conform XML namimg conventions
2011-05-08 02:13:37 +02:00
Ruben S. Montero
96f26468a1
feature #523 : Image repository is now decopled from storage backend. Source is generated by drivers using a driver-specific URL.
2011-05-07 02:49:07 +02:00
Carlos Martín
7aacd86c3c
Bug #408 : Fix compilation when mysql flag is set to 'no'
2011-05-06 18:14:23 +02:00
Carlos Martín
27977b913d
Bug #408 : reconnect to MySQL server when connection fails
2011-05-06 17:06:57 +02:00
Carlos Martín
8510fa56ad
Feature #591 : New onedb command. Core detects wrong DB versions.
2011-04-29 18:59:39 +02:00
Ruben S. Montero
fd20b21081
Merge branch 'feature-575'
2011-04-28 13:39:00 +02:00
Ruben S. Montero
ba6c8e8e89
Merge branch 'feature-487'
2011-04-26 15:35:44 +02:00
Ruben S. Montero
5dc7b686ad
Fix compilation warnings with gcc4.6
2011-04-22 01:06:01 +02:00
Ruben S. Montero
db8aa7f5bf
feature #575 : Improved log messages for drivers. Error string also propagated to images
2011-04-15 01:51:38 +02:00
Ruben S. Montero
aebb1cd6a7
feature #575 : Support for TM drivers, also tyoe of log messages from the drivers have the right type.
2011-04-15 00:49:42 +02:00
Ruben S. Montero
cd163f2a54
feature #575 : Add error messages to VM templates (VMM part)
2011-04-15 00:34:22 +02:00
Ruben S. Montero
faff6589b2
Merge branch 'feature-523'
2011-04-14 17:01:24 +02:00
Carlos Martín
dce87a9fa8
Feature #487 : Change template pool XML root elem. to VMTEMPLATE_POOL, for consistency with the rest of the pools; & Fix bug in onetemplate create -v
2011-04-13 11:49:03 +02:00
Ruben S. Montero
abe4ff6894
Merge branch 'feature-523' into feature-575
2011-04-13 00:03:19 +02:00
Carlos Martín
3e4b20732d
Revert "Feature #552 : XML-RPC Method one.user.authenticate added"
...
This reverts commit 5372539646
.
2011-04-11 18:46:20 +02:00
Carlos Martín
2ce4009975
Feature #523 : Extra error checks for one.vm.savedisk XML-RPC method
2011-04-11 18:05:43 +02:00
Carlos Martín
f49a206adf
Merge branch 'feature-523' into feature-487
...
Conflicts:
src/oca/java/test/ImageTest.java
src/oca/java/test/test.sh
2011-04-11 16:30:40 +02:00
Carlos Martín
92a74bd83b
Feature #523 : Small oned.conf fix, Add ImageID to one.vm.savedisk XML-RPC method, and Update Java API Image management and tests
2011-04-11 16:20:44 +02:00
Ruben S. Montero
961820cf33
feature #487 : Get rid of merge method for VirtualMachineTemplates
2011-04-11 00:59:59 +02:00
Ruben S. Montero
e678b190ee
feature #487 : Better get_template_contents (now clone_template)
2011-04-10 23:55:49 +02:00
Carlos Martín
995159994d
Features #487 : VMTemplate code refactor, now it uses base class PoolObjectSQL's obj_template
2011-04-08 16:34:40 +02:00
Carlos Martín
fdcca8a0fc
Merge branch 'feature-523' into feature-487
...
Conflicts:
include/Nebula.h
2011-04-08 16:11:29 +02:00
Ruben S. Montero
2ef660b9b2
Merge branch 'master' into feature-523
2011-04-08 01:04:45 +02:00
Ruben S. Montero
1e4e4f2c32
feature #523 , #407 , #488 : Template is now part of base class PoolObjectSQL
2011-04-08 01:02:55 +02:00
Ruben S. Montero
5ba3999273
feature #523 : Moved saveas to core. Some checks still needs to be done: image is not persistent, image is not going to be saved. Also types should be preserved if building from an exisiting image.
2011-04-07 02:01:40 +02:00
Carlos Martín
2649590d34
Feature #487 : Several bugfixes and new INSTANTIATE auth. operation
2011-04-05 16:05:46 +02:00
Carlos Martín
b27c9372f5
Feature #487 : Small auth and DB bugfixes, and support to allocate a VM from a template using its TEMPLATE_ID
2011-04-01 17:17:26 +02:00
Carlos Martín
5372539646
Feature #552 : XML-RPC Method one.user.authenticate added
2011-03-31 12:52:21 +02:00
Carlos Martín
085d86e12e
Feature #487 : Fix tests
2011-03-31 12:14:12 +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
Ruben S. Montero
3566698590
feature #523 : Updated Image tests.
2011-03-26 01:03:22 +01:00
Ruben S. Montero
9799a3bc20
feature #523 : Added delete method for the Image Manager
2011-03-25 00:11:10 +01:00
Ruben S. Montero
0d0a569741
feature #523 : Interation of the Image Manager with RM for allocate. Multiple bug fixes and integration issues
2011-03-24 19:52:59 +01:00
Ruben S. Montero
8d3a1e3557
feature #523 : Integration of Image Drivers with the Image Manager
2011-03-24 18:27:19 +01:00
Ruben S. Montero
7f67ceff0a
Merge branch 'feature-407' into feature-523
...
Conflicts:
src/image/ImagePool.cc
2011-03-24 16:53:43 +01:00
Ruben S. Montero
9db8829d35
feature #523 : work on the release image methods
2011-03-24 16:37:15 +01:00
Ruben S. Montero
23ea7a6a97
feature #523 : Better interface for the ImageManager
2011-03-23 00:14:27 +01:00
Carlos Martín
27341b66cf
Features #539 , #407 : Small consistency checks for VMs
2011-03-22 18:40:03 +01:00
Ruben S. Montero
c59f542ee6
feature #523 : Work on the Image Repository
2011-03-22 18:21:09 +01:00
Ruben S. Montero
feb62ac153
Merge branch 'feature-407' into feature-523
2011-03-22 15:26:08 +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
Carlos Martín
3c3edb9c36
Feature #407 : Better duplicated name detection for Hosts
2011-03-21 16:16:30 +01:00
Ruben S. Montero
e80df4c5fe
Merge branch 'feature-407' into feature-523
...
Conflicts:
src/host/ClusterPool.cc
2011-03-20 16:47:58 +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
88aa07edf1
Feature #407 : Eliminate the extended flag for xml-rpc call one.vmpool.info
2011-03-15 17:21:39 +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
Ruben S. Montero
96bf8eacdb
feature #523 : New drivers for the Image Repository
2011-03-12 00:41:10 +01:00
Ruben S. Montero
08466818fd
Merge branch 'feature-407' into feature-523
2011-03-10 12:34:46 +01:00
Ruben S. Montero
6ea29d6881
feature #407 : moved dump to .h
2011-03-09 13:23:01 +01:00
Ruben S. Montero
6246c89df9
Merge branch 'feature-407' of dsa-research.org:one into feature-407. Restored previous UserPool tests.
...
Conflicts:
include/UserPool.h
2011-03-09 12:51:41 +01:00
Ruben S. Montero
c4f4e1c988
feature #407 : User pool uses de indexing methods of PoolSQL
2011-03-09 12:47:49 +01:00
Carlos Martín
cd8c19f930
Feature #407 : Refator of PoolObjectSQL class
2011-03-09 12:44:39 +01:00
Carlos Martín
42b61bdd76
Extra installation check before running the tests
2011-03-09 11:59:16 +01: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
be33cd53e3
feature #407 : Minor changes in VirtualNetwork Pool
2011-03-08 19:06:42 +01:00
Ruben S. Montero
b227ef8ad3
Merge branch 'feature-407' of dsa-research.org:one into feature-407
2011-03-08 17:55:50 +01:00
Ruben S. Montero
ac6c5644fd
feature #407 : Minor changes for the VirtualMachine Pool
2011-03-08 17:55:14 +01:00
Carlos Martín
4ef82d3e92
Feature #407 : Let images have duplicated names if they are owned by different users
2011-03-08 17:27:18 +01:00
Ruben S. Montero
ed513e5b72
feature #407 : Minor changes in ImagePool
2011-03-08 16:52:45 +01:00
Ruben S. Montero
ea84e9dae6
feature #407 : Removed uid from VirtualMachine class
2011-03-08 10:04:57 +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
Ruben S. Montero
0fcf98db16
Merge branch 'feature-407' of dsa-research.org:one into feature-407
2011-03-04 22:38:16 +01:00
Ruben S. Montero
e18675bf67
feature #407 : Refactor of base classes to include names and uid. Also the pool now has an index to get objects by name
2011-03-04 22:37:21 +01:00
Carlos Martín
de03c2859f
Feature #407 : User object modified for new XML DB schema
2011-03-04 17:04:28 +01:00
Carlos Martín
0bcf29fb4b
Feature #407 : VNet uses new XML DB schema
2011-03-03 18:53:41 +01:00
Carlos Martín
e22e1cc278
Feature #407 : VM's last_seq deleted, it is not needed any more
2011-03-01 18:46:59 +01:00
Carlos Martín
493a9e9c8e
Feature #407 : Virtual Machine uses new xml blob DB schema
2011-03-01 17:47:20 +01:00
Carlos Martín
2eee00a1e3
Feature #407 : Host code cleanup and better error checks
2011-03-01 17:36:42 +01:00
Ruben S. Montero
13b93bcf83
feature #407 : Added tests for from_xml methods
2011-02-25 20:28:47 +01:00
Carlos Martín
d3828b30da
Feature #407 : Image uses new DB blob schema
2011-02-25 19:02:29 +01:00
Carlos Martín
f1157f524b
Feature #407 : Use new xpath methods in Host unmarshall
2011-02-25 15:23:46 +01:00
Jaime Melis
4c76798143
Update version to 2.3.0
2011-02-25 15:20:50 +01:00
Jaime Melis
4980255942
Update copyright year to 2011
2011-02-25 14:34:44 +01:00
Carlos Martín
63ca42e432
Feature #407 : HostPool::discover updated to new DB schema, tests fixed
2011-02-25 14:31:07 +01:00
Ruben S. Montero
1bc4615d07
feature #407 : Added static xpath access method and test
2011-02-25 14:17:41 +01:00
Ruben S. Montero
18b9a9b3c0
feature #407 : Added xpath method to ObjectXML and tests
2011-02-25 13:54:39 +01:00
Ruben S. Montero
0b9955175a
feature #407 : Minor changes in Host class refactor
2011-02-24 23:30:39 +01:00
Carlos Martín
ebf66e0fda
Feature #407 : Host object uses new DB schema, storing the contents as XML
2011-02-24 18:12:26 +01:00
Carlos Martín
829d34c400
Feature #407 : Code refactor, ObjectXML moved to main source tree
2011-02-23 11:17:45 +01:00
Carlos Martín
55f44bbc99
Core Unit testing: batch execution improvements, & missing one_auth files fix
2011-02-03 19:22:39 +01:00
Ruben S. Montero
cde9648e6c
Merge branch 'feature-474'
2011-02-03 17:08:35 +01:00
Ruben S. Montero
1ce8199480
feature #474 : some refactor of the error strings
2011-02-02 12:40:08 +01:00
Carlos Martín
c5734c93c0
Feature #474 : First commit for add/remove leases feature
2011-02-01 18:26:26 +01:00
Ruben S. Montero
bcb7e774de
Merge branch 'bug-419'
2011-02-01 16:46:39 +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
Carlos Martín
43b4340177
Feature #457 : Refactor of tests build process
2011-01-27 16:53:11 +01:00