Commit Graph
1873 Commits
Author SHA1 Message Date
Ruben S. Montero 7099e4408a B #2246: Added new attribute for datastores to set compatible system datastores
Author: juanmont <juanmont@ucm.es>

(cherry picked from commit 8fe6f55daa)
(cherry picked from commit 1b4f67552d)
2018-09-25 11:48:59 +02:00
Vlastimil Holer 3892933108 Bump version to 5.6.2 2018-09-20 17:55:22 +02:00
juanmont b89a8fe5ca F #2260: Added new wrapper to pass Pool and ObjectType 2018-09-13 15:36:32 +02:00
Ruben S. Montero 59ee3f714a commit 78c4be0ea0
Author: juanmont <juanmont@ucm.es>
Date:   Tue Sep 4 17:35:17 2018 +0200

    F #2260: Allow all VM actions for the VRouter VMs except
    nic-attach/dettach. Recursive chmown/chmod for VR

(cherry picked from commit c5284b312c6ec7eb2524d4a4768718b933f32693)
2018-09-10 18:39:06 +02:00
Ruben S. Montero dd07086791 Improve checks to prevent unneeded replication triggers
(cherry picked from commit 50a588c38b)
(cherry picked from commit d21a0c9582)
(cherry picked from commit 64e7c5bbd0)
(cherry picked from commit 48881ae10a)
2018-09-08 13:34:16 +02:00
Ruben S. Montero 6f690a8ce5 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>
(cherry picked from commit 1235866e51)
2018-09-05 15:20:37 +02:00
Ruben S. Montero 877df62c4f Compute number of replicas needed to commit a log record 2018-08-31 00:44:16 +02:00
Ruben S. Montero 13e7719151 B #2374: Restricted attributes checked for attach-disk
(cherry picked from commit a46b8fd1a4)
2018-08-29 18:09:40 +02:00
Ruben S. Montero 7c916ebe60 Remove replication requests for 1 server clusters 2018-08-24 17:56:14 +02:00
juanmont a76f55d8e0 F #2150: Log IP/TCP port from client
(cherry picked from commit 565a3e69bb)
(cherry picked from commit 7d0c4f08dc)
(cherry picked from commit 4e04e37ef7a0fa519f9507a7013aefdd5c7a6474)
(cherry picked from commit 568202d82e)
2018-08-15 20:47:53 +02:00
Ruben S. Montero bcf333894d Log slow MySQL queries, threshold set to 0.5s
(cherry picked from commit 43aeed9dbb)
2018-08-07 23:37:02 +02:00
Ruben S. Montero cdd5222e86 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

(cherry picked from commit 21fe311681)
2018-08-06 14:20:01 +02:00
Ruben S. Montero ccdbb99e9d Better trigger of replication requests. Synchronize DB writers and Raft
main thread.

On followers, replace exisiting records when matching index and term to
cope with API reset because of timeouts.

(cherry picked from commit 7719e7c17b)
(cherry picked from commit 5490872507)
(cherry picked from commit 2f281b51f3)
2018-08-05 19:02:14 +02:00
Vlastimil Holer 8f3fdf0a33 Bump version to 5.6.1 (#2290) 2018-07-16 13:22:56 +02:00
Ruben S. Montero ebc838fedc Upgrade Database to 5.6.0. Better migrator for SNAPSHOTS 2018-07-04 20:31:31 +02:00
Vlastimil Holer 973b40b4fb Bump version to 5.6.0 2018-07-04 19:47:58 +02:00
Vlastimil Holer 108f997d95 Bump version to 5.5.95 (#2233) 2018-06-28 17:24:15 +02:00
Ruben S. Montero 8eadc0f88f F #2143: renamed to reset vs sync 2018-06-26 13:14:04 +02:00
Ruben S. Montero 366f338d24 B #2189: Store NEXT_SNAPSHOT id in the snapshot metadata to not reuse ID's 2018-06-26 10:57:04 +02:00
juanmont 2e8f864318 F #1880: Added param to check capacity when allocating a new image (this is only for admin users) 2018-06-26 10:57:04 +02:00
Vlastimil Holer 7b5d7ee574 Bump version to 5.5.90 (#2211) 2018-06-26 10:57:04 +02:00
juanmont a3a273aa0f F #2192: New MONITOR INTERVALS for fine grain tunning 2018-06-26 10:57:04 +02:00
Ruben S. Montero d4ab90289f B #2144: Better purge for federated records
(cherry picked from commit 6ba048c9d3)
2018-06-26 10:57:04 +02:00
Ruben S. Montero fb9ed3458d B #2144: Fix affected rows for Sqlite 2018-06-26 10:57:04 +02:00
Vlastimil Holer d58b7cd742 Bump version to 5.5.85 (#2155) 2018-06-26 10:57:03 +02:00
juanmont 23b95dd4a8 Added new param to header documentation 2018-06-26 10:57:03 +02:00
juanmont f3f64f493e F #2143: Added new call to reset index 2018-06-20 17:58:19 +02:00
Ruben S. Montero d8e579d5a3 Extend auth methods to set lock checks 2018-05-31 12:50:02 +02:00
Ruben S. Montero 7bbc01f60f Fix unlock operations for admin users. Fix bug with recursive template
clones, imges persistent attribute is set in clone operation
2018-05-24 11:43:27 +02:00
Ruben S. Montero bcef0bef0f F #1377: Fix const'ness 2018-05-23 14:50:15 +02:00
Ruben S. Montero d7ce29183c F #1377: Added new funtion to check lock state with oneadmin. Missing
action names. Functions to test oneadmin or admin roles
2018-05-23 14:42:57 +02:00
juanmont 658453c842 F #1548: Fixed bug with don't have END_TYPE (#2094) 2018-05-16 16:58:50 +02:00
Vlastimil Holer 0ab6965d2b F #2045: Rename VN_MAD dummy to bridge, restore noop dummy driver 2018-05-16 15:24:37 +02:00
Ruben S. Montero de436a9e8d F #1548: Fixes for update templates 2018-05-11 17:04:30 +02:00
juanmont ee0127327d F #1548: Fixed bug and added post_update_template 2018-05-11 16:31:00 +02:00
Ruben S. Montero 033534ecf2 F #1548: Do not require END_VALUE for NEVER fix END_TYPE check 2018-05-08 16:28:14 +02:00
Ruben S. Montero f9699aed19 Merge branch 'feature-1548'
Conflicts:
	src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate.js
2018-05-08 15:45:05 +02:00
juanmont 6c01c4902b F #1548: Added new END_TYPE -> NEVER = 0 2018-05-08 11:55:50 +02:00
Ruben S. Montero 056a0d2dcd F #1548: "REP"->"REPEAT" in oned TIMES, DATE -> [0,1] in oned 2018-05-07 18:35:46 +02:00
Ruben S. Montero 35ed08fc82 F 1548: Updated scheduler logic to SchedAction class 2018-05-07 18:31:32 +02:00
Ruben S. Montero 6e48575a1a F #1548: SchedAction logic moved to its own class 2018-05-07 00:54:47 +02:00
juanmont 098ce33e79 F #1976: Test access rights to the security groups of a VNet and its ARs 2018-04-27 16:31:12 +02:00
juanmont c903345806 F #1807: Changed error message 2018-04-27 16:02:49 +02:00
Ruben S. Montero 1deb1d7595 F #1807: Added mandaroty attributes for missing network drivers 2018-04-26 15:51:43 +02:00
juanmont 227700ac65 F #1807: Review network drivers parameters on OpenNebula Core 2018-04-26 15:51:43 +02:00
juanmont c08d7e5d47 F #1927 Check if sqlite has been compiled to use LIMIT with DELETE and UPDATE 2018-04-25 17:05:30 +02:00
Ruben S. Montero e179307f69 F #1927: Do not reset affected rows on unset callback 2018-04-23 14:31:28 +02:00
Ruben S. Montero 9b96c8fd3c F #1927: Extend Sql interface, free results of MySQL query.
(cherry picked from commit f502d17923a12f1f4df59e5ae100802ab6d5ba9c)
2018-04-23 12:54:27 +02:00
juanmont dfa535441e F #1927:
- Added the possibility to know how many rows have been affected
 - Added new Attribute to specify the limit for the purge

(cherry picked from commit b5700eb6d1)
2018-04-23 12:54:26 +02:00
juanmont b33afa6ed5 F #1872 Added method and changed oned.conf attribute (#1963) 2018-04-20 17:03:18 +02:00