Commit Graph
235 Commits
Author SHA1 Message Date
Ruben S. Montero b01e2336c5 Merge branch 'feature-4215' into feature-4217 2016-02-02 14:17:20 +01:00
Ruben S. Montero 3d8d2fd81e feature #4215: Simplify interface for util::gsub. Decouple Request methods to
better support static request actions.
2016-02-01 00:18:47 +01:00
Carlos Martín 4851a0c49f Feature #4215: New method vrouter.detachnic 2016-01-28 17:20:52 +01:00
Carlos Martín a4b466fa6a Feature #4215: New method vrouter.attachnic 2016-01-28 16:06:18 +01:00
Jaime Melis 15e54f59ea Feature #4217: Send the market data to the driver 2016-01-26 20:24:33 +01:00
Carlos Martín 47c7d8f38b Feature #4215: Add workaround to delete VMs if DB consistency fails 2016-01-19 15:35:55 +01:00
Carlos Martín 4f5fd6dda6 Feature #4215: Delete VMs when VRs are deleted. Disable actions on VRouter VMs 2016-01-18 16:47:14 +01:00
Carlos Martín 6595df3b01 Bug #4164: Remove poweroff action for kvm & xen imported VMs
(cherry picked from commit d369908da2)
2015-11-18 13:17:09 +01:00
Ruben S. Montero 6bcc97bd08 bug #4022: Do not set snapshots on persistent images if its TM ln mode
is SYSTEM. Update quota update and snapshot survival after delete
--recreate according to:

 +--------+-------------------------------------+
 |LN/CLONE|     PERSISTENT    |   NO PERSISTENT |
 |        |---------+---------+-----------------+
 | TARGET | created |  quota  | created | quota |
 +--------+---------+---------+-----------------+
 | SYSTEM | system  | VM + DS | system  | VM    |
 | SELF   | image   | DS      | image   | DS    |
 | NONE   | image   | DS      | image   | DS    |
 +----------------------------------------------+

Snapshots created at system ds (LN_TARGET/TM_TARGET) will be deleted
after a recreate.

(cherry picked from commit c5ad05fc60680cda2763973f5079598c2bf166e7)
2015-11-13 01:40:16 +01:00
Ruben S. Montero fa653b9d47 feature #3987: Resolve volatile disk attributes 2015-11-05 00:04:42 +01:00
Ruben S. Montero 117a3df0c7 feature #3987: Define DS_MIGRATE for TM_MAD_CONF. Do not allow System DS
migrations for TM_MAD with ds_migrate="no"
2015-10-29 00:57:43 +01:00
Ruben S. Montero e7349889a0 feature #3987: Extend volatile DISK attribute with Datastore atttributes 2015-10-29 00:02:26 +01:00
Carlos Martín f42a8d8693 Bug #4042: Use disk size in vm saveas 2015-10-16 17:56:29 +02:00
Jaime Melis e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Carlos Martín 8178f90f8f Feature #3028: Ignore cpu,mem when capacity is not enforced 2015-09-04 13:22:11 +02:00
Carlos Martín e348918ea2 Feature #3028: Check pci devices in Host::test_capacity 2015-08-26 12:34:27 +02:00
Ruben S. Montero 67ec62e0d4 feature #3028: Add PCI capacity when deploying a VM 2015-08-21 01:08:28 +02:00
Ruben S. Montero 2d1b92fc24 feature #1727: Rename disk_target to disk_tm_target 2015-07-29 12:40:21 +02:00
Ruben S. Montero 6fb47ac1be Merge branch 'feature-1727' 2015-07-29 12:33:57 +02:00
Ruben S. Montero f2ce88fcc0 feature #1727: Not use dynamic memory in method 2015-07-28 00:23:29 +02:00
Carlos Martín 7e127b1f33 Feature #1727: Disk attach now adds to the SYSTEM_DISK quota 2015-07-24 13:28:38 +02:00
Carlos Martín 14c2f2a1c8 Feature #1727: Disk snapshot actions add/del from system disk quotas 2015-07-23 12:30:39 +02:00
Ruben S. Montero 35a5f247bb feature #3782: Lazy auth for Snapshots methods 2015-07-22 20:31:34 +02:00
Carlos Martín ecb8d5d528 Feature #3782: Disk-snapshot actions operate on persistent images
For persisten images, quota usage is taken from the image owner.

The image snapshots are now in sync during the VM lifecycle, not
just when the VM is shutdown. This was needed because the quota
size is now the image size + image quotas, and it caused problems
if the owner was changed with snapshots pending to be saved back
to the image.
2015-07-17 18:35:52 +02:00
Carlos Martín 27e3ac289f Feature #3782: Rename disk snapshot tag to name 2015-07-09 13:13:07 +02:00
Javi Fontan 4b08d76fbf Whitespace cleanup 2015-07-01 15:18:28 -04:00
Carlos Martín 143017e30d Feature #3782: Minor fixes to oned code 2015-07-01 15:43:22 +02:00
Ruben S. Montero a2e49d4264 feature #3782: Snapshots do not increment IMAGE counter in datastore for
persistent images
2015-06-18 12:30:25 +02:00
Ruben S. Montero b2101281ec feature #3782: Update quotas for snapshots on non-persistent disks on
disk detach and vm done
2015-06-17 16:02:12 +02:00
Ruben S. Montero 9542d396b8 feature #3782: Update quotas on non-persistent snapshots 2015-06-17 10:10:28 +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 32832269e5 feature #3782: Fix return codes 2015-06-16 01:59:24 +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 9d20167c1c feautre #3782: Remove SAVE_AS from core 2015-06-09 23:25:10 +02:00
Ruben S. Montero 62a98c550d feature #3782: Image XML-RPC methods for snapshot delete 2015-06-05 03:24:46 +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 98f76cf3fe feature #3782: Create and Revert operations for Disk Snapshots. Core and
OCA levels
2015-05-19 18:41:23 +02:00
Jaime Melis e8d5fc6f69 Feature #3778: Allows Sys DS migration from RUNNING state 2015-05-12 11:35:23 +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 525e8deb84 Feature #3778: Allow DS migration for poweroff VMs only 2015-04-30 11:56:26 +02:00
Carlos Martín 5000d27281 Feature #3778: Add new ds-id param to one.vm.migrate 2015-04-29 13:10:07 +02:00
Ruben S. Montero 41782d01e5 feature #3654: Retry PROLOGs, EPILOGs, SHUTDOWNs and BOOTs through recover. Remove restart action from oned, removed shutdown retries through shutdown
feature #3214: Redo saveas check.

Revert "Feature #3654: Allow to run a shutdown again from shutdown state". This reverts 36afa9c864

Revert "Feature #3654: Allow to run a poweroff/undeploy again from shutdown_poweroff/undeploy". This reverts 9be8b151bc
2015-04-26 22:54:15 +02:00
Carlos Martín 55dd9304bc Feature #3654: Merge Dispatch Manager reset with reboot 2015-04-24 15:45:54 +02:00
Carlos Martín ae7fab2ff8 Feature #3654: Merge the cancel and shutdown states 2015-04-24 15:25:47 +02:00
Carlos Martín 402400053f Feature #3654 #1610: Improve reason when an action is not available
(cherry picked from commit 24fa8d779c745cf6d80a75a0aaed28875209bd08)
2015-04-23 15:08:59 +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
Ruben S. Montero b030daa78b feature #3654: Adjust migrate history actions and reasons, fix transition 2015-04-23 12:07:40 +02:00
Ruben S. Montero 23aa6b0419 feature #3654: Retry PROLOG_MIGRATE_POWEROFF
(cherry picked from commit b36fe966801fe65a35f62eea86fb6fcaae13ba93)
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