Commit Graph
124 Commits
Author SHA1 Message Date
Pavel CzernýandAlejandro Huertas 95c51ff87f F #5861: Search VM using JSON querry (#3102)
Signed-off-by: Pavel Czerny <pczerny@opennebula.io>
Co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
2024-06-13 12:35:15 +02:00
Pavel Czerný 2fe396ae15 L #-: Add Astyle linting
* Add AStyle to smoke tests
* Format C++ files using AStyle
2024-06-03 11:40:24 +02:00
Pavel Czerný a16dfd5f8f B OpenNebula/one#6543: Remove MYSQL_OPT_RECONNECT (#3032)
* Improve OpenNebula reconnect procedure

(cherry picked from commit 63ce359f94)
2024-04-15 11:59:42 +02:00
Ruben S. Montero 6bbfbb03e4 F #6063: Backup Jobs for OpenNebula
Includes the following changes:
- xml-schema for Backup Job and Scheduled Actions
- GO, Java api
- Deprecate onevm update-chart, delete-chart
    * The commands are replaced by sched-update and sched-delete
    * Refactor method deprecate_command, it's still possible to run the
    command
    * Delete 'shutdown' and 'delete' commands deprecated years ago
    * Fix --verbose option for sched-update and sched-delete
- Re-implementation of scheduled actions, now are managed and executed
  by oned
- Backup Job objects, API, and CLI commands
2023-07-03 18:15:52 +02:00
Pavel Czerný 03c28c1e51 M #-: Fix oned build (#2501)
(cherry picked from commit 941207f85b)
2023-02-14 10:49:39 +01:00
Pavel Czerný 8e7ff2ed36 F #6103: Last set of CppCheck issues (#2481)
(cherry picked from commit 4a9662a551)
(cherry picked from commit d7b7303f8f)
2023-02-07 08:56:52 +01:00
Pavel Czerný a5c57b69b3 M #-: Add CppCheck to smoke tests (#2464) 2023-01-31 13:46:09 +01:00
Tino Vázquez 3376afdaf0 M #-: Bump year 2023 2023-01-09 12:23:19 +01:00
Tino Vazquez f7d53e75ff M #-: Bump version 6.3.85 2022-04-07 19:49:58 +02:00
Pavel Czerný 77276366a8 M #-: Method for case insensitive string compare (#1464) 2021-09-17 09:11:16 +02:00
Vlastimil Holer 096754b63f M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01:00
Pavel Czerný b36cf9f339 B #5186: Exit HA node in case of DB failure (#712) 2021-01-25 18:55:50 +01:00
Anton Todorov 09716b971f B #5196: fix mysql reconnect (#5198)
(cherry picked from commit 3b12e4ae2d)
2020-12-15 13:56:08 +01:00
Pavel Czerný 19a0302d29 B #5018: Fix multiple_value support for PostgreSQL (#456)
(cherry picked from commit f9c7740459)
2020-11-24 09:47:42 +01:00
Pavel Czerný 015c29265c B #5094: Fix DB reconnect (#304)
* B #5094: Improve MySQL reconnect

* B #5094: PostgreSQL reconnect

(cherry picked from commit 8f82badc23)
2020-10-08 16:22:56 +02:00
Pavel Czerný 123e08cfd6 F #4936: Replace long iterator definition by auto (#215) 2020-09-17 11:10:55 +02:00
Ruben S. MonteroandPavel Czerny 0471e486b0 F #4396: Replace pthread with std::thread. Require C++14
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2020-09-10 13:44:49 +02:00
Pavel Czerný f979efd2b5 B #5040: Fix LogDB::purge_log (#166)
(cherry picked from commit 734bc15b30)
2020-08-26 12:12:47 +02:00
Pavel Czerný 058ab946f2 B #5040: Fix posible segfault in LogDB::purge_log (#157)
(cherry picked from commit fb0d1bb906)
2020-08-19 11:39:12 +02:00
Jan Orel 1e22db4fb2 B #5025: Use userset collumn name (#151) 2020-08-13 11:58:29 +02:00
Jan Orel d5f4153422 B #5025: Use user_oid column in acl table (#147)
Fix regression
2020-08-11 11:13:51 +02:00
Ruben S. MonteroandPavel Czerny 325db91bcb F #4936:Refactor ActionManager and Timers
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2020-07-24 16:00:59 +02:00
Ruben S. MonteroandPavel Czerný 565094961a F #4936: oned refactor
* Remove duplicit methods from NebulaUtil

    * Const correctness

    * Fix minor code quality issues

    * Remove ObjectCollection::clone()

    * Minor SSLUtil interface change

co-authored-by: Pavel Czerný <pczerny@opennebula.systems>
2020-07-05 22:01:32 +02:00
Pavel Czerný daaf132a43 F #4936: Remove 'using namespace std' from headers (#60) 2020-07-02 22:42:10 +02:00
Ruben S. MonteroandPavel Czerny a3d8d4a65e F #4936: Refactor Driver and Message classes in OpenNebula daemon
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2020-06-29 12:14:00 +02:00
Pavel Czerný 3fa04ee2d5 M #-: Configurable timeout for SQLite DB (#4882) 2020-06-04 18:05:58 +02:00
Pavel Czernýandan Orel 0e7de61282 B #4115: MySQL BINARY name searches configurable (#4873)
Co-authored-by: an Orel <jorel@opennebula.systems>
2020-06-03 18:11:04 +02:00
Ruben S. Montero 9af58855e3 M#-: Fix compilation warnings
(cherry picked from commit 65cedcc211)
2020-05-05 12:40:05 +02:00
Ruben S. Montero 2e584277f6 M #-: Remove unused function 2020-05-04 14:42:01 +02:00
Christian González 7b6b054b1a B #4636: Fix Federation replication bug (#4638) 2020-05-04 14:38:50 +02:00
Christian González 7814f50ac7 M #: Improve logdb purge (#4639) 2020-04-30 19:11:56 +02:00
Christian González 374260fe05 M #: Improve logdb purge (#4637) 2020-04-30 18:11:08 +02:00
Vlastimil Holer f3c50a5d89 M #-: Year bump to 2020 (#4634) 2020-04-30 15:00:02 +02:00
Ruben S. Montero de8dfdc520 F #3600: Update onedb to postgress ON CONFLICT 2020-04-14 19:45:33 +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
Ruben S. Montero 8ffe1ad171 B #3924: Improve MySQL/MariaDB version detection 2020-03-31 15:07:23 +02:00
Pavel Czerný 33f2ed61e5 B #4154: Fix memory leaks (#4443)
(cherry picked from commit 1d79978f26)
2020-03-29 15:41:43 +02:00
Ruben S. Montero 44e44b47a8 F #3859: New monitoring architecture
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
  co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
2020-03-04 16:05:57 +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 85cba737f4 M #-: Minor refactor of exit clause 2019-11-19 23:36:08 +01:00
Ruben S. Montero 2c3f907d6c B #3946: Check database and table encodings. This may break dump -> mysql upgrade (change default encoding) -> restore 2019-11-19 23:21:37 +01:00
Ruben S. Montero 8fb20107e2 B #3946: Optionally forced encoding for oned connections 2019-11-19 16:10:26 +01:00
Ruben S. Montero 8834d29c67 B #3946: Set encoding for the db connections to that used by the opennebula database 2019-11-19 14:52:12 +01:00
Ruben S. MonteroandPavel Czerny a742b95d83 F #3064: Unified secret handling
Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-09-03 16:46:36 +02:00
Christian González f852bc6ead M #-: Fix HA replication bug (#3432)
(cherry picked from commit 77883d94c5)
2019-06-14 16:21:34 +02:00
Ruben S. MonteroandChristian González 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 e6c785b954 Feature #2722: Minor changes and data type fixes 2019-04-15 17:07:30 +02:00
Ruben S. MonteroandChristian González c64d63f3d5 F #2722: Increase the size of the replication and federation log indexes
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-04-08 17:43:12 +02:00
Ruben S. Montero b59ee42750 Revert "F #2722: Increase the size of the replication and federation log indexes"
This reverts commit 1da93f3732.
2019-04-08 17:09:56 +02:00
Ruben S. MonteroandChristian González 1da93f3732 F #2722: Increase the size of the replication and federation log indexes
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-04-08 14:38:02 +02:00