Commit Graph
459 Commits
Author SHA1 Message Date
Pavel Czerný 872939fb26 F #727: Improve shareable disks (#970)
* Shareable only on supported hypervisors
* Fix disk-attach
* Restrict shareable disks to SHARED datastores
* On image clone: copy SHAREABLE depends on DEFAULT_IMAGE_PERSISTENT flag
2021-03-15 16:24:25 +01:00
Ruben S. Montero ec5c2c68a8 B #3778: Fail on non-KVM host for live cpds 2021-03-11 17:21:28 +01:00
Ruben S. Montero 15f41d53c4 M #-: Remove unneeded check 2021-03-09 11:40:59 +01:00
Pavel Czerný 64255de853 F #727: Fix build (#924) 2021-03-08 11:30:38 +01:00
Pavel Czerný 98f5e68676 F #727: Add shareable option for KVM (#904) 2021-03-08 11:23:50 +01:00
Ruben S. Montero 60dd3a3cce F #1345: Support for Image Encrypted attributes 2021-02-17 13:03:37 +00:00
Christian González 85a4988abf B #: fix used after reset bug (#782) 2021-02-10 09:43:52 +01:00
Vlastimil Holer 096754b63f M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01:00
Ruben S. MonteroandAlejandro Huertas 6da9f7f6c7 F #664: Image state events and hooks
- Image state events
   - Image hooks
   - Ruby OCA event-based state wait function
   - Improved market-import operations

co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
2021-02-08 16:10:34 +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 23a023de5e M #: Fix format for cloned images (#362) 2020-10-23 23:21:07 +02:00
Pavel Czerný a5ca150e4d B #5095: Custom NIC attributes overrides VNET (#283) 2020-10-08 19:06:20 +02:00
Christian González 8a875e8888 F #4089: fix format for save_as images (#277) 2020-10-01 18:47:36 +02:00
Christian González 9e65e440de F #4089: remove unnecessary FORMAT check (#273) 2020-09-30 17:08:24 +02: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 Czerny 325db91bcb F #4936:Refactor ActionManager and Timers
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2020-07-24 16:00:59 +02:00
Christian González 3cec98a11f B #: fix image str_to_disk_type method (#97) 2020-07-15 16:47:04 +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
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. MonteroandChristian González 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. MonteroandPavel Czerny a742b95d83 F #3064: Unified secret handling
Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-09-03 16:46:36 +02:00
Pavel Czerný 04b6d01599 F #2765: Configurable VM disk monitoring (#3525) 2019-07-17 22:11:02 +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. MonteroandChristian González 8b632fbf05 F #2770 Allow updating Image metadata while being copied/saved/imported to the Datastore
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-01-10 10:09:34 +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
sergio semedi 17334789d4 B #1762: instantiate to persistent basic refactor
B #1762: mvds for instantiate as persistent
2018-11-30 10:32:11 +01:00
Christian González a6b8f48c4f F #1089 Allow creation of "Empty disk image" for type OS 2018-10-18 11:18:15 +02: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
Ruben S. Montero 75ce8a3056 Development: Fix intantiate as persistent with locked disks 2018-06-25 16:15:56 +02:00
Ruben S. Montero aa21f31085 B #1512: Do not remove DRIVER from APP if datastore does not include a
DRIVER. Only set FSTYPE when relevant
2018-05-22 17:20:18 +02:00
Ruben S. Montero 23cd4cdcdf F #1927: redo some logic 2018-04-23 19:11:57 +02:00
juanmont 34249544fd B #1960: difference between allocate and clone/saveas 2018-04-23 18:29:38 +02:00
juanmont b0635003de B #1960: Follow the value of the persistent attribute in the Image template.
(cherry picked from commit ea760d3fe5)
2018-04-16 16:08:24 +02: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
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
Vlastimil Holer a4c0447ccf Bump year to 2018 (#1623) 2018-01-02 18:27:37 +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
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