Commit Graph
274 Commits
Author SHA1 Message Date
juanmont 92df02542e B #1869: Checked if token has expired to not ask external drivers 2018-03-23 11:08:12 +01:00
Ruben S. Montero 894d06c18e F #1792: Greatly improve concurrency by: Remove big lock on pool control class. Increase number of MySQL connections (new configuration variable). Make all parser reentrants. This commit also simplifies the pool references.
(cherry picked from commit a3d3ceb771034794c4fb453dcd9aaff64c53baed)
(cherry picked from commit 37222d65dc)
2018-03-19 16:25:39 +01:00
Jaime Melis 1d62fbcfc2 Revert "Bump year to 2018 (#1624)"
This reverts commit 5f6936d1b0.

Better not to play with configuration files...
2018-01-04 15:57:51 +01:00
Vlastimil Holer 5f6936d1b0 Bump year to 2018 (#1624) 2018-01-02 18:28:03 +01:00
Ruben S. Montero df2b033fc9 B #5425: License and minor formatting
(cherry picked from commit b12113e5aa)
2017-10-20 14:20:21 +02:00
juanmont be1f6cf457 B #5425: Changed UserPool and HostPool for to work with CachePool
(cherry picked from commit 3c46ff3366)
2017-10-20 14:20:08 +02:00
juanmont ad8e188f17 B #5316: Given token password of the owner of creator user doesn't exist (#507)
(cherry picked from commit 3cbda46ec1)
2017-09-28 16:58:18 +02:00
Ruben S. Montero a2c5a4cbaa F #4809. Fix index in PoolSQL. Update interface in all classes 2017-06-21 03:22:56 +02:00
Javi Fontan 8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Ruben S. Montero a6d4ab3c9f F #4809: Update Sql database interface to include read/write/bootstrap
operations
2017-04-18 17:12:19 +02:00
Ruben S. Montero d1ad6a0cc6 B #5032: Further fixes for SELF DS (e.g. Ceph) for disks with resizes
and snapshots. Also updates delete-recreate quota computation
2017-03-31 20:09:27 +02:00
Ruben S. Montero 7a2face60c F #5005: New interface of ActionManager to accommodate additional arguments. Updates managers to the new interface 2017-02-03 20:39:34 +01:00
Ruben S. Montero 9297321d91 F #4393: New VirtualMachineDisk interface to abstract all disk
management logic. Adapted classes to new interface and re-allocated some
functions. Work on disk resize operations.
2016-12-12 02:28:00 +01:00
Ruben S. Montero 9d90f12602 B #4850: Invoke federation master when creating users from the driver callbacks 2016-10-06 17:09:51 +02:00
Ruben S. Montero 2dc9ddea40 F #4775: Consolidate authorization requests for User creates. User
groups are always managed as a set
2016-09-29 12:22:59 +02:00
Carlos Martín d17818a32b F #4775: Add Group membership to one.user.allocate API call 2016-09-23 13:28:44 +02:00
Ruben S. Montero e83994bb47 Feature #4714: Add expired token collector 2016-09-08 12:03:24 +02:00
Ruben S. Montero 9bbeb7f608 feature #4714: tabs... 2016-09-01 18:06:34 +02:00
Carlos Martín 83cea06e95 Feature #4714: Fix const iterator 2016-09-01 18:04:54 +02:00
Ruben S. Montero 94d9a0e35f feature #4714: Fix inicialization of auth driver variable 2016-09-01 14:58:37 +02:00
Ruben S. Montero 2e0cd9509f feature #4714: Check EGID as stored in the token is still a valid group for the user. 2016-08-31 18:24:15 +02:00
Ruben S. Montero 27c5a7ea48 feature #4714: Add multiple authentication tokens per user. Tokens are
extended to include an efective gid, used for object creation and
authorization (when using the token).
2016-08-31 14:52:33 +02:00
Carlos Martín a3e99f538f Feature #4715: Update group IDs when auth diver provides them 2016-08-23 14:48:45 +02:00
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Carlos Martín 82892ad70f Merge remote-tracking branch 'origin/master' into feature-4369 2016-03-17 18:22:51 +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
Ruben S. Montero bdbca69a2d feature #4217:This commit includes the following changes to decouple the
DB access and marketplace control from master and slave zones:
  * Client class is singleton as required by xmlrpc-c
  * one_auth initialization moved to a comon location
  * MarketPlaceApp and MarketPlace actions are performed in the same zone as
the associated marketplace.
  * Adds three new api calls updateDB, dropDB and allocateDB to perform
low level DB operations. These methods are exposed for Market y
MarketApps
  * Forward operations are abstarct by Pool classes
  * Apps and markets now includes a ZONE_ID
2016-03-10 17:24:28 +01:00
Ruben S. Montero 6004270685 feature #4162: Sanitize some user attributes in XML douments 2016-03-03 12:32:36 +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
Ruben S. Montero 6a0b71e9dd feature #4217: Adapt Marketplace classes to new Template interfaces 2016-02-05 00:55:24 +01:00
Ruben S. Montero 5761be4d10 feature #4217: Simplify Template, Attribute and PoolObjectSQL class interfaces 2016-02-05 00:33:37 +01:00
Ruben S. Montero c9dd78ce85 feature #4215: Add decorator interface for Quota class. Implement a
Virtual Router decorator for QuotaNetwork
2016-02-05 00:31:50 +01:00
Ruben S. Montero b01e2336c5 Merge branch 'feature-4215' into feature-4217 2016-02-02 14:17:20 +01:00
Carlos Martín 68a0184ed2 Feature #4215: Implement auth & quotas for all VR actions 2016-02-01 17:07:04 +01:00
Ruben S. Montero e958ed3c2d feature - : Remove unused update methods 2015-12-10 15:39:23 +01:00
Ruben S. Montero 6bcc97bd08 bug #4022: Do not set snapshots on persistent images if its TM ln mode
is SYSTEM. Update quota update and snapshot survival after delete
--recreate according to:

 +--------+-------------------------------------+
 |LN/CLONE|     PERSISTENT    |   NO PERSISTENT |
 |        |---------+---------+-----------------+
 | TARGET | created |  quota  | created | quota |
 +--------+---------+---------+-----------------+
 | SYSTEM | system  | VM + DS | system  | VM    |
 | SELF   | image   | DS      | image   | DS    |
 | NONE   | image   | DS      | image   | DS    |
 +----------------------------------------------+

Snapshots created at system ds (LN_TARGET/TM_TARGET) will be deleted
after a recreate.

(cherry picked from commit c5ad05fc60680cda2763973f5079598c2bf166e7)
2015-11-13 01:40:16 +01:00
Ruben S. Montero 1b9919435e bug #4022: Removes snapshots from non-shared persistent disks. Update
Datastore Quota management to deal with bulk updates. Hook on DM & LCM
resubmit and clean_up_vm to remove snapshots

(cherry picked from commit 6f02a240ec8f4be7ef232e8f8c584665e6747233)
2015-11-13 01:40:16 +01:00
Jaime Melis e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Carlos Martín 6e3e25ff59 Feature #1727: Rename VOLATILE_SIZE quota to SYSTEM_DISK_SIZE 2015-07-21 11:10:57 +02:00
Carlos Martín 2c2fa83028 Feature #1727: VM volatile quota adds each disk size 2015-07-20 15:46:57 +02:00
Javi Fontan 4b08d76fbf Whitespace cleanup 2015-07-01 15:18:28 -04:00
Ruben S. Montero a2e49d4264 feature #3782: Snapshots do not increment IMAGE counter in datastore for
persistent images
2015-06-18 12:30:25 +02:00
Jaime Melis d89ba1692a Feature #3650: Use NebulaTemplate to set the
default value of DEFAULT_AUTH
2015-05-26 15:25:51 +02:00
Jaime Melis aa43470233 Feature #3650: Specify the default auth driver in oned.conf 2015-05-26 15:11:49 +02:00
Ruben S. Montero 0d43d9daac bug #3725: Init oneadmin_name for federation slaves
(cherry picked from commit 849cb757bf)
2015-03-30 13:37:34 +02:00
Ruben S. Montero 233ce7b0ba bug #3704: session tokens are correctly stored
(cherry picked from commit db6be6454c)
2015-03-21 17:24:59 +01:00
Jaime Melis 8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00
Ruben S. Montero 61da79ee40 feature #3157: Do not remove existing auth files 2015-01-30 20:58:00 +01:00
Carlos Martín 8198887ca2 Feature #3264: Move float_to_str to NebulaUtil 2014-11-06 18:27:17 +01:00
Ruben S. Montero cc1dc8cb70 Custom format string to log xml-rpc calls 2014-10-28 18:52:48 +01:00