1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-07 17:17:41 +03:00
Commit Graph

2065 Commits

Author SHA1 Message Date
Ruben S. Montero
34bc68017a
B #4979: Remove OPENNEBULA_MANAGED in vm template clone (recursive)
(cherry picked from commit a84237a1dd)
2020-07-14 18:56:35 +02:00
Pavel Czerný
a9f6385370
F #4936: Fix Virtual Router table name (#91) 2020-07-14 12:09:41 +02:00
Ruben S. Montero
cedf794b1b
F #4936: Fix compilation 2020-07-06 15:54:03 +02:00
Ruben S. Montero
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ý
0292f690c4
F #4936: Fix valgrind issues (#64) 2020-07-02 22:52:05 +02:00
Pavel Czerný
daaf132a43
F #4936: Remove 'using namespace std' from headers (#60) 2020-07-02 22:42:10 +02:00
Pavel Czerný
cf72a29b9a
F #4936: Move Driver files to better folders (#59) 2020-06-29 15:14:04 +02:00
Ruben S. Montero
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
Vlastimil Holer
d682bb2d74
M #-: Bump version to 5.13.80 2020-06-15 19:46:29 +02:00
Pavel Czerný
3fa04ee2d5
M #-: Configurable timeout for SQLite DB (#4882) 2020-06-04 18:05:58 +02:00
Ruben S. Montero
93c894e7af
M #-: Typo 2020-06-04 11:02:39 +02:00
Ruben S. Montero
865a86fe7b
M #-: Fix non-MySQL build 2020-06-04 10:59:16 +02:00
Pavel Czerný
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
Vlastimil Holer
2d634f7168
M #-: Bump version to 5.12.0 (#4869) 2020-06-02 17:45:02 +02:00
Ruben S. Montero
d879f798b9
F #3859: Monitoring & Scheduler
* Merge monitor information into Host XML document
  * Add new param to vmpool.monitoring call
  * Add new param to hostpool.monitoring call
  * Update OCA - Ruby

co-authored-by: Christian González <cgonzalez@opennebula.io>
2020-05-28 16:49:00 +02:00
Ruben S. Montero
c1c819fc46
B #4827: Add HOTPLUG_NIC_POWEROFF state 2020-05-27 19:38:23 +02:00
Ruben S. Montero
bf2c596ab7
B #4115: MySQL BINARY searches for names 2020-05-25 17:44:03 +02:00
Pavel Czerny
7705d669a7
F #3859: Monitord HA 2020-05-25 10:49:50 +02:00
Vlastimil Holer
f1dd670414
M #-: Bump version to 5.11.90 (#4779) 2020-05-20 18:09:42 +02:00
Alejandro Huertas
a5778c8e28
M #-: subscribe to service changes 2020-05-18 17:18:00 +02:00
Ruben S. Montero
b22c569ab2
F #3953: Add RAW validator for KVM
- VirtualMachine
  - VMTemplate
  - Add libvirt rng files

co-authored-by: Christian González <cgonzalez@opennebula.io>
2020-05-18 02:23:29 +02:00
Ruben S. Montero
e0355f886c
M #-: Remove unneeded counters. Review start/end times of history records 2020-05-10 02:35:46 +02:00
Vlastimil Holer
a3ffc0f287
M #-: Bump version to 5.11.85(#4680)
and bump missing years to 2020
2020-05-07 19:34:45 +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
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
Christian González
f5744a6b8d
M #: Fix FTS detection (#4617) 2020-04-28 12:27:25 +02:00
Ruben S. Montero
59be923717
M #-: Better debug messages. Fix typo 2020-04-23 20:10:04 +02:00
Ruben S. Montero
3ea1cd5c4d
F #3859: On close kill driver after timeout
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
2020-04-16 18:15:07 +02:00
Abdullah Aml
d3443f5e77
B #4503: checking nodestval before dereferencing
Signed-off-by: Abdullahaml1 <abdullah_aml@protonmail.com>
2020-04-16 15:48:41 +02:00
Pavel Czerný
36c79d643b
F #2837: Add --force option to 'onevnet rmar' (#4511) 2020-04-14 10:49:06 +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ý
cdcb48b95b
B #4354: Fix SG after NIC remove (#4475) 2020-04-03 17:04:42 +02:00
Ruben S. Montero
8ffe1ad171
B #3924: Improve MySQL/MariaDB version detection 2020-03-31 15:07:23 +02:00
Pavel Czerný
295f1d7f77
B #4417: Check VM_*_OPERATIONS attribute is correct (#4438)
(cherry picked from commit d6ac6508ef)
2020-03-26 19:23:01 +01:00
Ruben S. Montero
43daf0a587
F #4089, #2859: Fix FC and Monitoring
* Adjust xpaths for Sunstone
    * New MONTIORING records format
    * Fix OCA API
    * Improvements on dockerhub importer
    * Improvements on firecracker context mapper
    * Fix shutdown on firecracker
    * Add logging to firecraker
2020-03-23 10:45:21 +01:00
Ruben S. Montero
320d333494
F #3859: VM state transition
* Do not fail KVM shutdown if domain already terminated
      * Do not trigger automatically host monitor on startup
      * Zombie support
      * Sync state of missing VMs
2020-03-13 15:04:31 +01:00
Pavel Czerný
0642f87198
F #3859: Update host reservations only if needed (#4358) 2020-03-13 10:32:53 +01:00
Ruben S. Montero
91a03558f9
Revert "WIP"
This reverts commit cb7a24396d.
2020-03-11 20:51:28 +01:00
Ruben S. Montero
cb7a24396d
WIP 2020-03-11 20:40:43 +01: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
Ruben S. Montero
39d8f966b5
M #-: Fix DB versions for 5.12.0 2020-03-04 15:09:54 +01:00
Ruben S. Montero
098e9b9786
F #4114: add cold nic attach feature
co-authored-by: Alejandro Huertas <ahuertas@opennebula.systems>
2020-02-26 17:51:40 +01:00
Christian González
5ba128ee70
B #4154: marks info call as unsupported (#4157) 2020-02-05 19:03:28 +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
Vlastimil Holer
0ec266d34f M #-: Bump version to 5.11.80 (#3993) 2019-11-26 17:17:32 +01:00
Ruben S. Montero
23570ce0ef
M #-: Fix no MySQL compilation 2019-11-26 11:26:17 +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
Vlastimil Holer
09adfe97e8 M #-: Bump version to 5.10.0 (#3932) 2019-11-11 18:49:42 +01:00
Vlastimil Holer
5d3e4485eb M #-: Bump version to 5.9.90 (#3847) 2019-10-15 17:33:18 +02:00
Pavel Czerný
8bd13b34d8 F #3673: Cluster and Host override KVM default configuration (#3775)
* M #-: VM use const for getters
2019-09-30 10:01:23 +02:00
Christian González
99985337e6 M #-: Minor changes (#3762) 2019-09-24 09:47:07 +02:00
Christian González
90bf20b4f6 F #3380: Lock conflicting api calls (#3747) 2019-09-23 15:18:49 +02:00
Ruben S. Montero
03b2b42024
F #3503: Support for overcommitment & VM pinning. Number of VMs per
physical thread can be set for each host with VMS_THREAD
2019-09-22 00:31:08 +02:00
Christian González
a664466ee9 F #3380: Delete log after deleting hook (#3743) 2019-09-20 09:38:16 +02:00
Christian González
83f61b02cc F #3380: Add hooklog.info call (#3734) 2019-09-19 15:26:20 +02:00
Ruben S. Montero
c78e2f2006
F #3064: Do not expose internal attribute in AddressRange class 2019-09-17 17:19:04 +02:00
Alejandro Huertas Herrero
12928399d5 F #3064: add datasores clusters encrypted attrs (#3722) 2019-09-17 16:18:54 +02:00
Alejandro Huertas Herrero
2c9bbb9642 B #3070: delete IPAM ars when deleting vnet (#3719) 2019-09-17 15:53:02 +02:00
Pavel Czerný
6339c14bc4 F #3666: System wide CPU model configuration (#3704) 2019-09-16 22:49:40 +02:00
Alejandro Huertas Herrero
536672833a F #3064: pass decrypted attributes to IPAM driver (#3706) 2019-09-16 15:51:38 +02:00
Christian González
eb7df9e901 F #3380: return object body on API hooks (#3705) 2019-09-16 14:50:33 +02:00
Alejandro Huertas
e997d2b2b3
F #3064: encrypt address range template
The address range template in address range pool is encrypted
2019-09-13 11:35:53 +02:00
Christian González
68a76aa9ba B #3687: check snap ID on disk snapshot revert (#3693) 2019-09-12 17:55:45 +02:00
Ruben S. Montero
3c2df22ad7
F #3064: separate encrypted attrs by objects
* There are encrypted attributes for VMs, Hosts and VNets
    * For VMs the user template is also encrypted
    * For VNets its address ranges attributes are also encrypted

Co-authored-by: Alejandro Huertas <ahuertas@opennebula.systems>
2019-09-12 16:25:23 +02:00
Pavel Czerný
6c6a73092c B #3630: Fix CPU/MEM reservations (#3678) 2019-09-11 11:14:51 +02:00
Ruben S. Montero
bfe7694320
F #3380: Hide secrets in API hooks. Add response to API document 2019-09-10 18:17:12 +02: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
Alejandro Huertas Herrero
9e7c10278a F #3064: separate encrypted attrs in oned conf (#3656) 2019-09-05 21:49:59 +02:00
Pavel Czerný
769158e908
B #3585: Fix build with sqlite=no (#3641)
(cherry picked from commit 8823a9a008)
2019-09-03 17:12:33 +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
77e7b69ad6
F #3586: Use pthreads 2019-08-16 11:19:11 +02:00
Pavel Czerný
e31deafff7 F #3586: Uniform thread-safe random generator 2019-08-16 11:11:31 +02:00
Jan Orel
e98c801f8f F#3244: Better mixed modes (#3574) 2019-08-07 11:37:39 +02:00
Ruben S. Montero
a6481bb038
F #1764: updateconf for running VM
L #-: Use nullptr, cpplint rules

co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-07-26 13:45:26 +02:00
Ruben S. Montero
3b4b0b2723
F #3503: Support for DPDK. Added ISOLCPUS to isolate cpus from the NUMA scheduler 2019-07-25 16:23:38 +02:00
Ruben S. Montero
66f6b77bc4
B #3484: Remove unneeded function
(cherry picked from commit 43be5cfa8a)
2019-07-18 12:17:36 +02:00
Alejandro Huertas Herrero
0a130d865f B #3484: add DETACH=YES in context.sh (#3518) 2019-07-18 12:08:04 +02:00
Pavel Czerný
04b6d01599 F #2765: Configurable VM disk monitoring (#3525) 2019-07-17 22:11:02 +02:00
Pavel Czerný
2c0416fdfa
B 3468: Don't automatically set active snapshot in mixed mode (#3497)
* L #-: use nullptr

* B #3468: Don't set active snapshot in mixed mode

(cherry picked from commit 95e24ab26c)
2019-07-10 19:38:04 +02:00
Ruben S. Montero
217ff30a76
B #1815: Remove resource from VDC when erased
L #-: Derived virtual methods use override keyword

Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-07-05 17:23:21 +02:00
Ruben S. Montero
3b9ace0577
F #3256: Support for NUMA topology, Hugepages and CPU pinning. 2019-07-01 18:58:24 +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
Christian González
8bbcfdfc6c Increase database version to 5.10.0 (#3277) 2019-04-25 18:42:41 +02:00
Christian González
c73af39818 F #3208 Display only user available virtual routers in virtual networks body (#3210) 2019-04-15 17:23:55 +02:00
Christian González
fa15207ae7 B #3182 Initialize number of connections 2019-04-15 17:10:07 +02:00
Ruben S. Montero
e6c785b954
Feature #2722: Minor changes and data type fixes 2019-04-15 17:07:30 +02:00
Ruben S. Montero
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. Montero
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
Ruben S. Montero
2ed170be68
F #3076: create one.vmpool.infoextended
* Add new function dump_extended
    * Add new API call one.vmpool.infoextended (ruby, JAVA, golang)
    * Add parameter --extended in the CLI for onevm

Co-authored-by: Alejandro Huertas <ahuertas@opennebula.systems>
2019-03-29 12:43:59 +01:00
Alejandro Huertas Herrero
c76377fb1d B #3119: Hourly sched actions just execute one time
* Change next_action to return the time for next_action
* Change XML query to use REPEAT
* Update the TIME if the value is lower than DONE
2019-03-25 12:11:59 +01:00
Ruben S. Montero
2d40b708c4 B #1666: Marketplace driver expects always an image to import
* Use VMTEMPLATE marketapp type
    * Modify the OCA, so if the type is VMTEMPLATE no image is created
    * Modify Sunstone, so if the type is VMTEMPLATE no ds is needed

(cherry picked from commit 0de8a405d7a06bc28eca0c7b82661ddb588bb399)
2019-03-18 10:39:54 +01:00
Tino Vázquez
acc8750569 F #3016: Add git version into oned -v (#3071) 2019-03-12 20:04:12 +01: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