Commit Graph
133 Commits
Author SHA1 Message Date
Vlastimil Holer f3c50a5d89 M #-: Year bump to 2020 (#4634) 2020-04-30 15:00:02 +02:00
Christian González 8563e96d7e M #: Fix minor bug (#4467) 2020-04-01 18:59:38 +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
Jan Orel e98c801f8f F#3244: Better mixed modes (#3574) 2019-08-07 11:37:39 +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. 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
Christian González 20772f5329 Delete get_ro calls from TransferManager
(cherry picked from commit ca10b5a5d8b50a0a7a30409f4d1b9856ceef9c28)
2018-10-19 09:41:30 +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 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
juanmont 3cbda46ec1 B #5316: Given token password of the owner of creator user doesn't exist (#507) 2017-09-28 16:55:57 +02:00
Ruben S. Montero 431f96a783 Fixed disk resizes for volatile disks 2017-06-27 15:36:00 +02:00
Javi Fontan 8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Ruben S. Montero 7a2face60c F #5005: New interface of ActionManager to accommodate additional arguments. Updates managers to the new interface 2017-02-03 20:39:34 +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 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 cc81681ba2 bug #4579: Add trigger for EPILOG_LOCAL event 2016-06-17 15:54:14 +02:00
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero 058e23c37a feature #3801, bug #3775: Delete operation is now under the recover
interface for admin. New terminate operation can be used in any "final"
state for end-users.
2016-05-02 18:34:42 +02:00
Ruben S. Montero 3c389f3270 development: Homogenous VM_MAD/TM_MAD (vs VMMMAD/TMMAD) name. oned does
not store DS_LOCATION, single get_system_dir() function
2016-04-10 22:39:21 +02:00
Ruben S. Montero 3fb8a0e161 feature #4369: Better const signature. Removed unused varibles and
methods. ACL filter is generated in the ClusterPool class, moved DB name
to private scope. Copy constructor for object collection. Uniform
get_cluster_id function.
2016-03-21 13:01:45 +01:00
Ruben S. Montero c4404430c7 feature #4217: Context is generated whenever a VM is deployed or
restored.
2016-03-17 13:14:43 +01:00
Ruben S. Montero b61445315e feature #4215: Fix context generation bug 2016-03-16 19:14:37 +01:00
Anton Todorov f9375eccab improve rescue of VM when node fail is detected
* Introduce new LCM states PROLOG_MIGRATE_UNKNOWN and PROLOG_MIGRATE_UNKNOWN_FAILURE

* Change VM migrate logic for when state is ACTIVE and lcm_state is UNKNOWN to
  call TM's PROLOG_MIGR action before VMM's BOOT

All core TM drivers that are not empty are skipping disks so there is no impact on
the default behaviour

The datastore addon drivers that implement access to raw block devices should check
if the LCM_STATE == 60 (PROLOG_MIGRATE_UNKNOWN) and to remove block device access
from the failed node and provide access to the current node.
There is a simple script function added to get LCM_STATE that can be used as follow

```bash
LCM_STATE=$(lcm_state)
if [ "$LCM_STATE" = "60" ]
fi
```

(cherry picked from commit 676f36e0aa)
2016-03-03 23:59:53 +01:00
Ruben S. Montero 5761be4d10 feature #4217: Simplify Template, Attribute and PoolObjectSQL class interfaces 2016-02-05 00:33:37 +01:00
Carlos Martín 8b648b3bad Feature #4215: Use created_by uid to get token_password 2016-02-05 00:31:50 +01:00
Carlos Martín c83565fe56 Feature #4215: Perform TM:CONTEXT on prolog_resume 2016-01-26 13:24:42 +01:00
Carlos Martín 3cee54afc9 Feature #4215: Attach nic action updates the context cdrom 2016-01-25 16:20:12 +01:00
Jaime Melis e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Carlos Martín 143017e30d Feature #3782: Minor fixes to oned code 2015-07-01 15:43:22 +02:00
Ruben S. Montero 10442f8182 feature #3782: Snapshots in RUNNING state 2015-07-01 13:38:19 +02:00
Ruben S. Montero 6ca1ff4b6e feature #3782: Delete snapshots in RUNNING. Added new states for disk
snapshots in running
2015-06-30 20:45:43 +02:00
Ruben S. Montero 803592d43b feature #3782: Snapshots in SUSPENDED state + dummy changed to exit 0 2015-06-25 15:36:22 +02:00
Ruben S. Montero dac9db95d2 feature #3782: Size for snapshots (Virtual size). Renamed is* functions to is_* in VirtualMachine. 2015-06-16 23:59:12 +02:00
Ruben S. Montero 4a0438c11b feature #3782: Fix comment 2015-06-15 23:28:38 +02:00
Ruben S. Montero 80c06dca38 feature #3782: renamed method to disksaveas, cli and Ruby OCA. Added
snap id to save as disks
2015-06-10 19:56:35 +02:00
Ruben S. Montero 630e036005 feature #3782: Removed _hot from saveas functions 2015-06-10 12:53:55 +02:00
Ruben S. Montero 9d20167c1c feautre #3782: Remove SAVE_AS from core 2015-06-09 23:25:10 +02:00
Ruben S. Montero 83ac6188de feature #3782: New state to delete snapshots. Delete action OCA (Ruby),
core and CLI
2015-05-27 16:29:41 +02:00
Ruben S. Montero a5c04b47e6 feature #3782: Re-design of revert operation. New action for drivers, and new state. 2015-05-26 11:24:34 +02:00
Ruben S. Montero 9bb5770f86 feature #3782: Snapshot event triggers 2015-05-21 14:52:36 +02:00
Ruben S. Montero 904b3248e9 feature #3782: Remove SOURCE and PARENT from snapshots. Drivers MUST
generate internal snapshot references from snapshot_id, parent_id
2015-05-21 14:12:35 +02:00
Ruben S. Montero 20fac744a7 feature #3782: Generate snapshot files for TransferManager 2015-05-20 17:48:58 +02:00
Carlos Martín b94d0d951b Feature #3778: Use previous system dir in TM commands 2015-04-29 17:01:06 +02:00
Carlos Martín f46afca372 Feature #3654: Transitions to migrate suspended VMs
(cherry picked from commit ee7bccf48a6852117091ae3051d219cd93addd3d)
2015-04-23 10:46:07 +02:00
Carlos Martín 6d3e9f4fcf Feature #3654: Transitions to migrate VMs in poweroff
(cherry picked from commit 783775471eae90759b9ca74431415551b2b83495)
(cherry picked from commit 07015c349ffe6ca2d6d0afa08c2f4091f7b23513)
2015-04-22 19:41:24 +02:00
Ruben S. Montero 44ab9678a3 feature #3564: Remove FAILED and FAILURE states 2015-04-21 14:00:52 +02:00
Carlos Martín d1ca5081e0 Feature #2065: Attach disk for VMs in poweroff 2015-03-18 12:51:01 +01:00
Jaime Melis 8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00