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

298 Commits

Author SHA1 Message Date
Jan Orel
f4c48b7724
B #5210: Make LDAP group_admin configurable (code)
(cherry picked from commit 960380acf82a42d7bb805c7550901ac743152422)
2020-12-18 11:43:34 +01:00
Ruben S. Montero
10c9e17b66
B #4992: Fix user IDs on group updates 2020-07-29 12:09:22 +02:00
Carlos J. Herrera
80fdcd96fd
M #~: fix typo in UserPool.cc (#4891)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
2020-06-05 19:31:12 +02:00
Jan Orel
4155ab5ec6
M #-: Validate username before authentication 2020-05-26 16:58:44 +02:00
Vlastimil Holer
f3c50a5d89
M #-: Year bump to 2020 (#4634) 2020-04-30 15:00:02 +02:00
Ruben S. Montero
9aa1041103
F #3600: Initial PostgreSQL Support
co-authored-by: Igor Sivy <igorsivy@gmail.com>
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
co-authored-by: Vlastimil Holer <vholer@opennebula.io>
(cherry picked from commit c52f62018c32281c6e418211f33f1bba46388e98)
2020-04-13 17:35:06 +02:00
Pavel Czerný
295f1d7f77
B #4417: Check VM_*_OPERATIONS attribute is correct (#4438)
(cherry picked from commit d6ac6508ef00da6536db0cd28b11de9631bd25a4)
2020-03-26 19:23:01 +01:00
Pavel Czerný
91234e0ba4
B 4416: Fix restricted params for UserTemplate (#4433)
* B #4416: Fix restricted params for UserTemplate

* M #-: Fix crash on VM action with wrong user

(cherry picked from commit f652a5fbb8fdb4e2505ec381dc6fe0d6abe2e83b)
2020-03-26 11:17:47 +01:00
Ruben S. Montero
151e7a7580
F #4056: Add user to LDAP group as admin
Author: Jan Orel <jorel@opennebula.systems>
co-authored-by: Jan Orel <jorel@opennebula.systems>
2020-01-28 12:21:26 +01:00
Pavel Czerný
8d12e78fbe F #4032: Speed up C++ build (#4035)
In Nebula.h use forward declarations instead of #include
2019-12-10 11:45:14 +01:00
Ruben S. Montero
6143dd95ce
F #3380: New Hook system. Drivers, oned and command line tool
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-09-09 14:47:42 +02:00
Ruben S. Montero
500e45dbd6
F #1401: Configurable VM_*_OPERATIONS per group and user. Restructure of the API
authorization levels and initialization logic.

Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-09-09 13:13:52 +02:00
Ruben S. Montero
a742b95d83
F #3064: Unified secret handling
Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-09-03 16:46:36 +02:00
Ruben S. Montero
cbd9aee912
F #3393: Reduce number of updates referencing FTS field. Changed REPLACE
operations to UPDATE to improve DB performance

co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-06-12 17:20:50 +02:00
Ruben S. Montero
079d5d7d21
b #3409: Update users & groups quotas only in the zone DB 2019-06-07 16:57:01 +02:00
Alejandro Huertas
90425c2559 F #2899: Replace SHA1 by SHA256
* Add new SHA256 hashing function
   * Change user password from SHA1 to SHA256 automatically
2019-03-04 15:14:55 +01:00
Ruben S. Montero
a48d00d6eb B #2575: encode the EGID in the authentication token when a user (#2893)
* B #2575: encode the EGID in the authentication token when a user
authenticates with a scoped user token

* Update OpenNebulaCloudAuth.rb

* Update OpenNebulaCloudAuth.rb
2019-02-05 15:32:17 +01:00
Vlastimil Holer
441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Ruben S. Montero
ab1a05b69b F #911: IP(v6) alias(es) support
* Modify VM context generation.
   * Modify attach/detach nic functionality.
   * Modify CLI nic-attach, so an alias can be attached.

Co-authored-by: Alejandro Huertas <ahuertas@opennebula.systems>
2018-12-04 14:41:55 +01:00
Ruben S. Montero
2123afc890 F #2427: Add support to NICs with NETWORK_MODE=auto. This commits includes
logic in oned to delay NIC/context resolution till deployment time. Also
scheduler has been extended to use the match-making algorithm to networks.
Sunstone interface changes to select auto networks.
2018-10-11 15:27:15 +02:00
Ruben S. Montero
f54e066949 F #2489: Improve performance of oned:
* Reduce memory footprint
    * Improve connection handling in the RequestManager
    * Reduce the number of locking calls
    * Reduce the size of the VM pool
2018-10-09 11:15:59 +02:00
juanmont
09880ab5ce F #2228: Fixed problem with defualt quotas
(cherry picked from commit 56978c843308ea7a26e355a4d80e609701744800)
2018-09-06 11:33:29 +02:00
Ruben S. Montero
1235866e51 F #2228: Added new VM quota - RUNNING_MEMORY, RUNNING_CPU and RUNNING_VMS.
These running quotas are for all states included in ACTIVE and VMS being
scheduled (PENDING and HOLD) as those states consume the same resources (in
terms of allocation) as running VMs.

Author: juanmont <juanmont@ucm.es>
2018-09-05 15:14:39 +02:00
Ruben S. Montero
21fe311681 F #2183: Use pager for list commands (e.g. onevm list). Support for
custom ordering (by ID) in list API calls, this can be set per user,
group and default in oned.conf
2018-08-06 14:16:00 +02:00
juanmont
547ef24f59 B #2284: Added test to check quota assignment 2018-07-20 11:23:30 +02:00
juanmont
4f880598e9 B #1869: Checked if token has expired to not ask external drivers
(cherry picked from commit 92df02542eb55c8750f684a643b658d2f0db9005)
2018-03-23 11:08:58 +01:00
Ruben S. Montero
37222d65dc 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)
2018-03-17 23:35:21 +01:00
Vlastimil Holer
a4c0447ccf Bump year to 2018 (#1623) 2018-01-02 18:27:37 +01:00
Ruben S. Montero
b12113e5aa B #5425: License and minor formatting 2017-10-20 14:17:55 +02:00
juanmont
3c46ff3366 B #5425: Changed UserPool and HostPool for to work with CachePool 2017-10-19 16:41:42 +02:00
juanmont
3cbda46ec1 B #5316: Given token password of the owner of creator user doesn't exist (#507) 2017-09-28 16:55:57 +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