Commit Graph
161 Commits
Author SHA1 Message Date
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
Christian González 496a63de02 B #: make volatile disks TYPE case insensitive (#645) 2021-01-14 17:18:29 +01:00
Pavel Czerný 1c3bda1d49 F #4090: Inherit vector values (#560)
Vector attributes are merged with DISK/NIC attribute
2021-01-04 17:14:46 +01:00
Christian González ef4e528172 M #: fix FORMAT for SWAP images (#364) 2020-10-26 19:08:24 +01:00
Ruben S. MonteroandChristian González 95a7a4ede5 F #4089: Support to FS formatt VM disk images
- Consistency set of FORMAT attribute for images, and volatile disks
    - DRIVER does not be specified by the USER and it is derived from driver
      configuration for the Datastore and TM driver
    - CP action from DS_MAD now needs to return the image FORMAT
    - FSTYPE is deprecated and no longer used
    - FS new attribute to specify file system FS.

co-authored-by: Christian González <cgonzalez@opennebula.io>
2020-09-25 12:15:03 +02:00
Pavel Czerný 123e08cfd6 F #4936: Replace long iterator definition by auto (#215) 2020-09-17 11:10:55 +02:00
Pavel Czerný 3ea67d3645 F #4936: Reduce number of new/delete, use unique_ptr (#212)
* On exit stop RequestManager first

* Use unique_ptr for pointers to Template

* Reduce number of new/delete
2020-09-15 11:16:00 +02:00
Ruben S. MonteroandPavel Czerný 5ce49ed404 F #4936: Refactor pools to use unique_ptr
co-authored-by: Pavel Czerný <pczerny@opennebula.systems>
2020-09-10 09:08:29 +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
Vlastimil Holer f3c50a5d89 M #-: Year bump to 2020 (#4634) 2020-04-30 15:00:02 +02: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
Alejandro Huertas Herrero 82bcbbf4c9 F #3064: fix minor bugs (#3728) 2019-09-18 16:09:39 +02:00
Alejandro Huertas Herrero 12928399d5 F #3064: add datasores clusters encrypted attrs (#3722) 2019-09-17 16:18:54 +02:00
Ruben S. MonteroandAlejandro Huertas 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
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
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
Vlastimil Holer 441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Ruben S. Montero 6b6904a6c0 B #2052: Add mixed mode for ALLOW_ORPHANS to accomodate Ceph snapshots
dependencies
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2018-12-24 14:00:38 +01:00
juanmont aeaf870cad B #2544: Added DISK_TYPE to DISK section 2018-11-07 14:02:46 +01:00
juanmont 807000a59c B #2544: Set LN_TARGET and CLONE_TARGET after pick the datastore 2018-11-07 14:02:46 +01: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 5ba912c5e6 B #1512: Set precedence VM Template > Image > Datastore for: CLONE_TARGET, LN_TARGET, DISK_TYPE & DRIVER 2018-05-06 00:36:33 +02: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
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
Ruben S. Montero cfe3bd141d Revert "F #1512: Do not overwrite attributes already defined in the image"
This reverts commit 22e06f49e0.
2017-11-30 16:40:14 +01:00
juanmont 22e06f49e0 F #1512: Do not overwrite attributes already defined in the image 2017-11-28 15:18:38 +01: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
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 a2c5a4cbaa F #4809. Fix index in PoolSQL. Update interface in all classes 2017-06-21 03:22:56 +02:00
mcabrerizo 11de7705f9 F #4913: Allow vCenter datastore credentials to be encrypted in update 2017-06-11 18:52:39 +02:00
Javi Fontan 8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Ruben S. Montero db9f9dedca Merge branch 'feature-4809' 2017-05-25 10:44:39 +02:00
Vlastimil Holer ae96f4eaf0 B #3705: Don't override image DRIVER if CDROM 2017-05-19 16:54:03 +02:00
Vlastimil Holer 3c71258c84 B #3705: DRIVER configuration for the TM_MAD_CONF 2017-05-19 10:44:02 +02:00
Vlastimil Holer a2a1e83056 B #3705: Override image DRIVER attribute by the datastore DRIVER 2017-05-19 10:43:37 +02:00
Ruben S. Montero c8f77ab8be F #4809: Remove cache from core pools 2017-05-06 00:20:29 +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 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 19a3efe79d Revert "Development: Fix Ceph CDROM"
This reverts commit 0b2e644a18.
2016-06-10 15:03:44 +02:00
Ruben S. Montero 0b2e644a18 Development: Fix Ceph CDROM 2016-06-08 16:44:14 +02:00
Ruben S. Montero 9c0b95dcb0 Development. Change default and system datastore to ssh by default 2016-05-26 15:09:16 +02:00
Ruben S. Montero 1bef231fa5 bug #4380: Secure defaults for SAFE_DIRS & RESTRICTED_DIRS. 2016-05-20 12:22:54 +02:00
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero 9a440e558c feature #4320: Rework the attach logic of NIC and DISK 2016-04-18 16:46:02 +02:00
Ruben S. Montero d0fb1f1cb3 feature #4316: BASE_PATH of datastores is built from DATASTORE_LOCATION 2016-04-17 00:00:14 +02:00
Carlos Martín 63a6b8e5f5 Bug #4395: Fix cluster check for manual resources
It was not working for volatile disks, nics with manual IP,
kernet with a manual instead of a file.
2016-04-08 13:12:50 +02:00