Commit Graph
326 Commits
Author SHA1 Message Date
Pavel Czerný 05e235cde3 M #-: Fix DS id while resuming undeployed VM (#837) 2021-02-19 09:37:32 +01:00
Vlastimil Holer 096754b63f M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01:00
Pavel CzernýandRuben S. Montero 7ba1bbe633 F #1660: Hotplug VCPU and mem for KVM (#392)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2020-11-17 11:24:52 +01:00
Ruben S. Montero 26498959bc B #5131: Track VNC allocation across migration
(cherry picked from commit dd6a7f4cd6)
2020-10-16 12:45:24 +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 9b6e068b1f B #-: fix minor bug 2020-09-25 12:32:27 +02:00
Christian González 0226e8845c B #5106: rollback quotas when when RESUME fails (#244) 2020-09-24 18:21:26 +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. Montero 9af58855e3 M#-: Fix compilation warnings
(cherry picked from commit 65cedcc211)
2020-05-05 12:40:05 +02:00
Vlastimil Holer f3c50a5d89 M #-: Year bump to 2020 (#4634) 2020-04-30 15:00:02 +02: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
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
Christian González 23a698d6e9 B #3936: Fix race condition on migrate (#3937) 2019-11-14 16:52:04 +01:00
Pavel Czerný d68be6fef1 B #3174: Fix response for calculateshowback (#3718)
(cherry picked from commit 8bd6804c4c)
2019-09-17 15:30:31 +02:00
Ruben S. MonteroandPavel Czerny 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
Ruben S. MonteroandPavel Czerny 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 3b9ace0577 F #3256: Support for NUMA topology, Hugepages and CPU pinning. 2019-07-01 18:58:24 +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
Christian González 0d8d34645e Allow vm migration if the VM have PCI devices and is in poff state (#3291) 2019-04-29 17:47:57 +02:00
Christian González 3e60cc4002 B #3230 Wrong PCI to VM association removed when migrating VM with PCI pass-through (#3261) 2019-04-26 10:13:12 +02:00
Christian González d515ad9c3f Add VM id information to some errors (#3053) 2019-03-11 10:46:48 +01:00
Christian González aabba85ee5 F #1540 Add core support for ds live migration (#2866)
* F #1540 Add core support for ds live migration

* Update RequestManagerVirtualMachine.cc
2019-01-31 17:27:55 +01: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 b89642aaab F #2138: Add options to migrate through a power-off life-cycle
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2018-12-04 12:00:13 +01:00
Ruben S. Montero a27e525c4e development: add error message on wrong TM_MAD mode 2018-11-10 18:59:07 +01:00
Ruben S. Montero 39cc5ea2fa Update RequestManagerVirtualMachine.cc 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 1dd6cab6af F #1246 Add recover --delete-db option
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2018-10-15 15:38:54 +02:00
Abel Coronado 2e410af2ce F #1147: Permit to rename disk snapshot names in Sunstone
Author:  Abel Coronado <acoronado@opennebula.systems>
 Author: Christian González <cgonzalez@opennebula.systems>
2018-10-11 17:04:07 +02:00
Ruben S. Montero 2123afc890 F #2427: Add support to NICs with NETWORK_MODE=auto. This commits includes
logic in oned to delay NIC/context resolution till deployment time. Also
scheduler has been extended to use the match-making algorithm to networks.
Sunstone interface changes to select auto networks.
2018-10-11 15:27: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 08bfc40b72 commit 78c4be0ea0
Author: juanmont <juanmont@ucm.es>
Date:   Tue Sep 4 17:35:17 2018 +0200

    F #2260: Allow all VM actions for the VRouter VMs except
    nic-attach/dettach. Recursive chmown/chmod for VR
2018-09-10 20:04:04 +02:00
Ruben S. Montero 1235866e51 F #2228: Added new VM quota - RUNNING_MEMORY, RUNNING_CPU and RUNNING_VMS.
These running quotas are for all states included in ACTIVE and VMS being
scheduled (PENDING and HOLD) as those states consume the same resources (in
terms of allocation) as running VMs.

Author: juanmont <juanmont@ucm.es>
2018-09-05 15:14:39 +02:00
Ruben S. Montero a46b8fd1a4 B #2374: Restricted attributes checked for attach-disk 2018-08-29 18:08:05 +02:00
Ruben S. Montero 42d08bf814 Better updateconf, check VM state to allocate a new cluster VNC port
(cherry picked from commit acdfdd5217)
2018-06-11 22:53:23 +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 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 9effa47d26 B #2029: fixed bug with updateconf and vnc port (#2036) 2018-04-26 16:45:35 +02:00
Ruben S. Montero 5806aed256 Fix check in updateconf for non-running VMs
(cherry picked from commit 2f523660a7)
2018-04-10 12:50:25 +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
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
juanmont 6a2783a32a F #1377: User locks for resources (#1675) 2018-01-24 15:33:12 +01:00
Vlastimil Holer a4c0447ccf Bump year to 2018 (#1623) 2018-01-02 18:27:37 +01:00
Ruben S. Montero db6d72a759 B #5465: Fix history record check while getting VNC port
(cherry picked from commit 04b557188f)
2017-10-19 11:05:22 +02:00
Ruben S. Montero ff731e8e5d B #5465: Do not free VNC ports on STOP and do not reassgin them on
resume
2017-10-18 17:51:44 +02:00