Commit Graph
310 Commits
Author SHA1 Message Date
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
juanmont 1166485a7f B #5404: Checked vm permissions in all cases (#497) 2017-09-28 16:59:30 +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
juanmont cdd5bc848c B #5301 Changed Error msg when disk-saveas without name (#445) 2017-09-05 11:05:53 +02:00
Javi Fontan 8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Ruben S. Montero d1ad6a0cc6 B #5032: Further fixes for SELF DS (e.g. Ceph) for disks with resizes
and snapshots. Also updates delete-recreate quota computation
2017-03-31 20:09:27 +02:00
Ruben S. Montero d90cd64cca B #5032: Add datastore capacity usage in quota calculations for storage
drivers that clone to SELF (e.g. Ceph)
2017-03-30 18:58:18 +02:00
Ruben S. Montero 4197718d13 F #5058: Test and set persistent attribute in one.image.create
one.image.clone and one.vm.disksaveas
2017-03-15 17:17:07 +01:00
Ruben S. Montero 0f7e642516 F #5005: Add user ids and action request id to history records. Removed
uneeded reason history entry. Updated cli
2017-02-10 14:19:55 +01:00
Ruben S. Montero d143012eb6 F #5005: Add request information to events and callbacks from API calls. 2017-02-07 17:26:23 +01:00
Ruben S. Montero 61bfe3d6d0 F #4845: Get permissions for vm operations from configuration in
RequestManager
2017-01-30 13:19:32 +01:00
Ruben S. Montero 6f3066ddd1 F #4393: Add resize API calls. Fix disk for SELF tm_mad drivers quotas. 2016-12-17 02:49:14 +01:00
Ruben S. Montero c1c3d0479d F #4393: More work on resize 2016-12-15 21:12:33 +01: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 45533cf3d8 Allow to migrate VMs with no cluster requirements 2016-09-09 18:03:39 +02:00
Carlos Martín b2b59dedb3 Feature #4701: Roll back a failed migration with recover --failure 2016-09-01 17:53:58 +02:00
Ruben S. Montero 5a3e0596a4 feature #4464: Return list of viable clusters on automatic_requirements
API call
2016-09-01 15:46:01 +02:00