Commit Graph
121 Commits
Author SHA1 Message Date
mcabrerizo 8b0322507f F #4913: Deprecate Keep Disks on done (oca) 2017-03-30 12:21:57 +02:00
Jaime Melis aa639970ff F #4913: Merge branch 'master' into feature-4913 2017-03-21 18:21:08 +01:00
mcabrerizo 862d54fb16 F #4913: Replace remnants of VCENTER_DATASTORE with VCENTER_DS_REF 2017-03-03 13:33:27 +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 cc0234ba34 F #4845: Load VM operations from oned.conf 2017-01-29 23:46:59 +01:00
Ruben S. Montero 8f51474553 F #4845: Add all vm actions to the VMAction enumerate 2017-01-27 20:55:38 +01:00
Ruben S. Montero 3e9e0e8807 F #4393: JAVA OCA for diskResize 2016-12-18 20:48:53 +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
Javi Fontan 3f3e137910 F #4393: add disk-resize to oca and cli 2016-11-24 14:44:50 +01:00
Javi Fontan c2b7864a4f bug #4724: move VM Driver constants to oca 2016-09-05 12:45:56 +02:00
Javi Fontan e8f0c4e9fc feature #4613: define external ip attrs only in one place 2016-06-30 16:04:35 +02:00
Carlos Martín c2da94de2e Add DISK_SNAPSHOT_REVERT status to libs
The lcm_status is not used, but it should not be removed from
the lib because the enum in VirtualMachine.h reserves #58 for it
2016-06-09 16:22:14 +02:00
Jaime Melis 511b966ba4 Feature #4157: Add support for qemu guest agent 2016-05-05 10:49:59 +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
Carlos Martín 964371f7a2 Feature #4320: Fix typo (DEVICE_MODE => MODEL) 2016-04-22 16:49:33 +02:00
Carlos Martín 0d6dd0c6ff Feature #4400: New state cloning_failure 2016-04-22 16:06:43 +02:00
Ruben S. Montero 32e15605cd feature #4320: New operation to update the configuration of a
VirtualMachine (OS, GRAPHICS, INPUT, RAW & FEATURES). CLI/OCA methods
implemented
2016-04-20 16:57:05 +02:00
Carlos Martín 7855ebd22d Feature #4400: Allow VMs to use Images in the locked state 2016-04-19 15:20:34 +02:00
Ruben S. Montero f581fae756 feature #4155: Remove :detach & :suspend strategies for disk snapshots
for VMs in ACTIVE-RUNNING. Also revert needs to be performed in
poweroff. DISK_SNAPSHOT_REVERT state has been removed.
2016-03-22 23:07:35 +01:00
Javi Fontan ba7ffbb543 Merge branch 'feature-4186' 2016-03-08 17:34:48 +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
Tino Vazquez 6be46a6bfa feature #4186: Remove attached disks from VM before shutdown/cancel 2016-01-19 17:38:07 +01:00
Carlos Martín 6bbe71a386 Bug #4108: Add option to create persistent images in onevm save-as-template
(cherry picked from commit 45b33cabc5)
2015-11-17 13:16:29 +01:00
Jaime Melis e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Tino Vazquez 05ed37c97f Feature #3786: Added KEEP_DISKS_ON_DONE to control vCenter VM disk deletion 2015-08-26 17:53:37 +02:00
Carlos Martín da8449151b Feature #2051: Implement rollback in case of error 2015-08-03 17:37:01 +02:00
Ruben S. Montero 0ad70f2142 feature #3718: Fix errors in acct with new monitor. feature #3782: Fix
acct to account for new snapshots in running. feature #3718: Reset CPU and MEMORY counters
2015-07-14 17:53:41 +02:00
Carlos Martín 27e3ac289f Feature #3782: Rename disk snapshot tag to name 2015-07-09 13:13:07 +02:00
Carlos Martín fe2e96abd2 Feature #3718: Remove USEDCPU from monitoring docs 2015-07-09 12:24:58 +02:00
Javi Fontan 4b08d76fbf Whitespace cleanup 2015-07-01 15:18:28 -04:00
Carlos Martín fc831b7c99 Feature #3782: Add disk snapshot actions to java api 2015-07-01 18:34:38 +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 685a46365d feature #3718: New template for MONITORING data, it can accomodate any
data, and support the general OpenNebula Template format.
2015-06-23 21:52:10 +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 ce85188042 feature #3782: Changes in OCA (Ruby) and CLI. Updated direct references
to OCA methods
2015-06-10 01:30:22 +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 e306680729 feature #3782: Add DISK_SNAPSHOT_POWEROFF state 2015-05-20 00:21:26 +02:00
Ruben S. Montero 98f76cf3fe feature #3782: Create and Revert operations for Disk Snapshots. Core and
OCA levels
2015-05-19 18:41:23 +02:00
Ruben S. Montero 4d50231681 feature #3654: PROLOG_RESUME_FAILURE & PROLOG_UNDEPLOY_FAILURE states 2015-05-08 13:47:48 +02:00
Carlos Martín cdc7961e92 Feature #2051: Save VMs to a new template in the ruby oca instead of oned 2015-05-07 15:50:38 +02:00
Carlos Martín 98af16330c Feature #3778: New ds-id param in oca and cli 2015-04-29 15:23:37 +02:00
Ruben S. Montero a03e3054e5 feature #3654: Add BOOT_UNDEPLOY_FAILURE and BOOT_STOPPED_FAILURE. Get rid of map<string, string> empty declarations. 2015-04-28 11:44:56 +02:00
Carlos Martín f919242634 Feature #3654: Remove boot action from oca, cli & sunstone 2015-04-27 16:38:05 +02:00
Carlos Martín 099ab8573e Feature #3214: Add action to cancel deferred disk snapshots
(cherry picked from commit 2ea26af01e1156594c70bfadf7f05ed67c4a190f)
2015-04-23 12:33:27 +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 b5da40364f feature #3654: Add retry option to the recover API calls and onevm command 2015-04-21 17:15:10 +02:00