juanmont
568202d82e
F #2150 : Log IP/TCP port from client
...
(cherry picked from commit 565a3e69bb
)
(cherry picked from commit 7d0c4f08dc
)
(cherry picked from commit 4e04e37ef7a0fa519f9507a7013aefdd5c7a6474)
2018-08-15 20:44:51 +02:00
Ruben S. Montero
43aeed9dbb
Log slow MySQL queries, threshold set to 0.5s
2018-08-07 23:35:15 +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
Ruben S. Montero
914368d300
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
)
(cherry picked from commit ccdbb99e9d
)
2018-08-05 19:03:01 +02:00
Vlastimil Holer
a9d8c7e92b
Bump version to 5.7.80 ( #2289 )
2018-07-16 13:23:30 +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
Ruben S. Montero
0ec5986730
B #1398 : Do not reset resizes and quotas after a recover --recreate
...
(cherry picked from commit 28f84b4513
)
2018-04-17 20:44:50 +02:00
juanmont
d6e290dec2
F #1872 : Changed wrong method name
2018-04-09 08:57:02 +02:00
juanmont
4b149ac5f5
F #1913 : Users can instantiate a VM template as another user/group
2018-04-04 14:49:44 +02:00
juanmont
434a2749ec
F #1872 : Added new attributes to define default acls
2018-03-28 20:55:17 +02:00
Ruben S. Montero
40ce2b7fad
B #1790 : Fix updateconf with restricted attributes
2018-03-26 18:58:04 +02:00
Ruben S. Montero
83d548e928
B #1774 : Parsed attributes when update configuration
...
Author: juanmont <jjmontiel@opennebula.org>
(cherry picked from commit b6f1ea1804
)
2018-03-23 16:42:48 +01:00
juanmont
4f880598e9
B #1869 : Checked if token has expired to not ask external drivers
...
(cherry picked from commit 92df02542e
)
2018-03-23 11:08:58 +01:00
juanmont
50ad00918e
F #1885 : Format log messages: custom parameter string length
2018-03-23 10:23:16 +01:00
Ruben S. Montero
366ba7f5e9
F #1843 : Minor refactor
2018-03-20 20:05:30 +01:00
juanmont
433d944eaf
F #1843 : New Singleton desing pattern for the Scheduler
2018-03-20 20:05:30 +01:00
Ruben S. Montero
0c2dcba089
B #1863 : Added clear snapshot method. Removed all snapshot from image if snapshot_pool is empty.
...
(cherry picked from commit 9d2f439cb0
)
2018-03-19 17:08:19 +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
fdb22a0376
F #1498 : Open vSwitch VXLAN driver
2018-02-28 17:31:38 +01:00
juanmont
a0305c353a
F #1548 : Introduced relative actions into scheduler
2018-02-19 14:23:35 +01:00
juanmont
e77b1adbe8
F #1548 : Added code to opennebula
2018-02-16 14:30:39 +01:00
Ruben S. Montero
37e14b23f5
F #1709 : Add index to state in VM pool
2018-02-02 17:03:45 +01:00
Ruben S. Montero
3cd612540f
B #1412 : Fix missing condition when image was locked
2018-01-25 12:04:35 +01:00
juanmont
6d86753f64
F #1377 : User locks for resources ( #1675 )
2018-01-25 11:46:33 +01:00
juanmont
a4460bea2b
B #1412 : Prevented attach action with images in LOCKED state
2018-01-23 12:57:24 +01:00
Ruben S. Montero
c911ffdc8c
Feature 756 ( #1664 )
...
* F #756 : Add support for CPU_MODEL.
- new kvm monitor probe to gather model and machine types from hosts
- generate cpu element in deployment file
* F #756 : Added machine-models to install.sh
* F #756 : Rename 'OS Booting' to 'OS & CPU'
* F #756 : Rename 'libvirt machine' to 'machine type'
* F #756 : Change 'machine type' to a drop-down
* F #756 : KVM IM machines probe prioritize kvm/kqemu/qemu domain types
* F #756 : Added CPU Model section
2018-01-18 10:42:58 +01:00
Ruben S. Montero
97f957460f
B #1555 : Replicate log on leadership changes
...
(cherry picked from commit 5c97553267
)
2018-01-08 00:35:40 +01:00
Vlastimil Holer
a4c0447ccf
Bump year to 2018 ( #1623 )
2018-01-02 18:27:37 +01:00
Vlastimil Holer
1e9e52138d
F #1310 : Added support for multiple deployment modes. This commit adds
...
support of SSH mode for a Ceph datastore.
Author: Vlastimil Holer <vholer@opennebula.org>
Author: juanmont <jjmontiel@opennebula.org>
(cherry picked from commit 8ab9c02102e2e7f72c4835aa819bab49c229ef45)
2018-01-02 15:59:29 +01:00
juanmont
b443aa5547
B #5496 : Changed getpwuid function and xmlrpc_secret to a local variable
2017-10-27 13:19:20 +02: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
248b750945
Bug 5110 ( #527 ): changed type for memory value to deal with >2TB hosts
2017-10-13 12:43:34 +02:00
Ruben S. Montero
721efccf13
B: Force free memory of object templates
...
(cherry picked from commit fa79b91974
)
2017-10-06 23:27:21 +02:00
Sergio Semedi Barranco
139f448a76
B #5418 : vcenter automatic vlan_id working! ( #515 )
...
* B #5419 : generating vlan id 4 vcenter
* B #5419 : vcenter_create_vnet hook waits VLAN_ID attribute
2017-10-06 18:22:51 +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
58dd54079b
B: Prevents race condition when updating host monitoring
...
Signed-off-by: Ruben S. Montero <rsmontero@opennebula.org>
(cherry picked from commit 9246e2ff03
)
2017-09-27 23:14:57 +02:00
juanmont
beae0776c3
B #5405 : unified functionality for free vm resources in a single function ( #498 )
2017-09-26 18:30:13 +02:00
Ruben S. Montero
47a03f1bd9
Revert "B : Prevent race conditions on sync notifications"
...
This reverts commit 9d2ed3a65f
.
2017-09-15 01:39:12 +02:00
Ruben S. Montero
9d2ed3a65f
B : Prevent race conditions on sync notifications
...
(cherry picked from commit e3f2452c95
)
2017-09-14 12:44:21 +02:00
Javi Fontan
b839dad36c
Bump version to 5.5.80
...
Also add the migrator to 5.4.1
2017-09-11 14:47:04 +02:00
Vlastimil Holer
98c51bcf4f
B #5222 : Registering image with complex URL in PATH fails ( #467 )
...
* B #5222 : Secure image downloader: Escape XML references on ImageManager::stat_image
2017-09-11 11:39:44 +02:00
Ruben S. Montero
c9d22b8b40
F #5204 : Support for restricted attributes of type Vector
...
(cherry picked from commit 59b5ee8dd1ccb91161ce1ee83e99f11cbe9f1b95)
2017-09-06 16:06:15 +02:00
Ruben S. Montero
0b76513078
B #5300 : Update monitor information on VMs
2017-09-05 18:12:25 +02:00
Ruben S. Montero
6faed83d43
B #5300 Write disk monitor information
2017-09-05 13:18:18 +02:00
juanmont
fb09f53a40
B #5331 : clear state before updating monitoring information
...
* Resolved bug, removed state in update monitoring
* Update VirtualMachineMonitorInfo.h
2017-09-02 23:40:16 +02:00
Ruben S. Montero
55d82ac237
B #5307 : Build index for logdb table
2017-08-09 10:45:01 +02:00
Ruben S. Montero
a6addb314e
Raft stability patch:
...
* Do not reset vote on followers upon successful election
* Cache one_auth secret to fix mt issue and improve heartbeat
performance
* Remove debug message when a record is not loaded
* Remove default timeout for curl library
2017-08-03 12:28:48 +02:00
Ruben S. Montero
6368bb51fc
F #4977 : Move missing monitor map logic to monitor_action()
2017-07-27 12:51:41 +02:00
Ruben S. Montero
5f28a7bf9b
B: Solves issues when loading VM template in history records
2017-07-27 10:57:16 +02:00
Javi Fontan
27e61baeb4
Bump version to 5.4.0
2017-07-27 10:57:16 +02:00
juanmont
fed93cdaf8
F #4977 Removed MarketPlaceApp from OpenNebula
2017-07-26 14:59:35 +02:00
Ruben S. Montero
508112fbff
F #5015 : Add sched_action parse to insert
2017-07-19 11:27:57 +02:00
juanmont
d097340199
F #5015 Added new parser for sched_action
2017-07-18 11:04:27 +02:00
Ruben S. Montero
fa9e5d947b
Added debug information to LogDB operations
2017-07-12 13:02:40 +02:00
Javi Fontan
0524112489
Bump version to 5.3.90
2017-07-07 15:27:26 +02:00
Ruben S. Montero
ebc165f70f
F #4885 : Enable TM mads to define orphan snapshots. This is control
...
under TM_MAD_CONF for each MAD. By default orphans are not allowed
2017-07-05 18:13:47 +02:00
Ruben S. Montero
20deae85be
Disks not managed (TM) by opennebula cannot change persistent state
2017-07-04 18:01:13 +02:00
Ruben S. Montero
cb0b3fc0b4
Add a system.sqlquery API call to execute SELECT queries on the DB. It
...
returns the row results
2017-06-30 18:57:41 +02:00
Ruben S. Montero
80d0816666
F #4809 : Re-design replicated log structure
2017-06-29 19:48:21 +02:00
Jaime Melis
d0ca67a6e4
Bump to version 5.3.85
2017-06-27 15:54:47 +02:00
Ruben S. Montero
dbc47c9874
F #4809 : Remove unneeded update_zone calls when adding a server to a
...
zone
2017-06-26 19:55:01 +02:00
Ruben S. Montero
d5d6cb9667
F #4809 : Get fed index from the DB (needed by followers in HA). Use Zone
...
ENDPOINT to replicate log instead of server list. Fix bug when replicate
fails in a zone.
2017-06-26 19:55:01 +02:00
Ruben S. Montero
cc6cc46099
F #4809 : Add replicated log index information on server zones
2017-06-23 00:13:49 +02:00
Ruben S. Montero
ca2a1a42d2
F #4809 : Fix non-persistent state of Hosts
2017-06-22 23:37:08 +02:00