Commit Graph
174 Commits
Author SHA1 Message Date
Ruben S. Montero 43df8151ff F #4393: Added resize operation for running VMs 2016-12-17 19:30:11 +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 5a3e0596a4 feature #4464: Return list of viable clusters on automatic_requirements
API call
2016-09-01 15:46:01 +02:00
Carlos Martín b9588846ef Feature #4464: Refresh VM cluster requirements
Cluster requirements are recalculated:

- on release from hold
- on resume from undeployed/stopped
- on resched
- on migrate
2016-08-30 18:35:09 +02:00
Ruben S. Montero 3ad4d275d3 bug #4662: Do not double unlock on deploy/migrate operations
(cherry picked from commit 61a246400f)
2016-08-01 11:01:58 +02:00
Carlos Martín a7fe7e5468 Feature #4597: Remove VM id from VR when VM is not active
(cherry picked from commit 68b6a1cb58)
2016-07-11 12:38:33 +02:00
Carlos Martín ffdb41bc3e Feature #4597: Allow to create more VR VMs, and terminate existing ones
(cherry picked from commit 94070576d8)
2016-07-08 11:21:59 +02:00
Carlos Martín f362b7ca85 Feature #3932, #3801: Minor fix, error formatting 2016-05-05 17:48:32 +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 0d6dd0c6ff Feature #4400: New state cloning_failure 2016-04-22 16:06:43 +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 9a440e558c feature #4320: Rework the attach logic of NIC and DISK 2016-04-18 16:46:02 +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
Ruben S. Montero ef9001bfef feature #4369:Use CLUSTER_ID instead of CLUSTER_IDS for compatibility
reasons
2016-03-21 15:03:46 +01:00
Carlos Martín 82892ad70f Merge remote-tracking branch 'origin/master' into feature-4369 2016-03-17 18:22:51 +01:00
Carlos Martín 6bbac5077c Feature #4369 #1803: Check multiple cluster ids in disk/nic attach 2016-03-15 18:17:53 +01:00
Carlos Martín e8a05ca1d7 Feature #4369: Replace cluster ID with a set of IDs 2016-03-10 16:28:33 +01:00
Tino Vazquez 006ba41c62 feature #4186: Merge branch 'feature-4217' into feature-4186
Marketplace branch into vcenter storage
2016-02-10 12:25:28 +01:00
Tino Vazquez b5d162a50b feature #4187: Import VMs in poweroff 2016-02-09 12:56:01 +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 a4b466fa6a Feature #4215: New method vrouter.attachnic 2016-01-28 16:06:18 +01:00
Carlos Martín 41739b8e7e Feature #4215: Fix attach nic rollback in wrong order 2016-01-27 11:37:24 +01:00
Carlos Martín 364d9ecda8 Feature #4215: Redo context variables when a NIC is attached/detached 2016-01-27 11:27:26 +01:00
Carlos Martín 3cee54afc9 Feature #4215: Attach nic action updates the context cdrom 2016-01-25 16:20:12 +01:00
Carlos Martín 4c68cd7c9e Feature #4215: VRs have NICs defined
VRs can request vnet leases. If a vm template has a
VROUTER_ID, the NICs from that VR are merged into
the template. If the VR NIC has a floating IP, it
is added as VROUTER_IP.
2015-12-16 12:32:19 +01:00
Carlos Martín 4b6aaa8b19 Feature #4215: Store a list of VR inside each vnet 2015-12-01 15:35:33 +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 1b9919435e bug #4022: Removes snapshots from non-shared persistent disks. Update
Datastore Quota management to deal with bulk updates. Hook on DM & LCM
resubmit and clean_up_vm to remove snapshots

(cherry picked from commit 6f02a240ec8f4be7ef232e8f8c584665e6747233)
2015-11-13 01:40:16 +01:00
Carlos Martín 5bb39611d5 Bug #4022: Delete disk snapshotds for non-persistent images on delete --recreate
(cherry picked from commit 5ba0b121976964ce1f939d7a5f17c5b9182dd921)
2015-11-13 01:40:16 +01:00
Jaime Melis e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Ruben S. Montero ea1af3246a Bug #3876: Initialize error message 2015-09-01 19:41:38 +02:00
Tino Vazquez e484ecbb21 Check if host exist in finalize action 2015-08-28 17:51:02 +02:00
Ruben S. Montero 2fff41d8d0 Merge branch 'feature-3028' 2015-08-26 14:35:01 +02:00
Tino Vazquez ea9b2342bb Bug #3876: Adjust locking order in vm and host 2015-08-24 17:28:19 +02:00
Tino Vazquez 7831797444 Bug #3876: Fix erasing VMs in pending 2015-08-21 17:34:03 +02:00
Ruben S. Montero c4c6416458 feature #3028: Delete pci devices from host when removing the VM. Always
include VMID in PCI elements
2015-08-21 12:00:19 +02:00
Ruben S. Montero 67ec62e0d4 feature #3028: Add PCI capacity when deploying a VM 2015-08-21 01:08:28 +02:00
Tino Vazquez f22ca784b3 Bug #3876: Trigger cancel on other states than active if host is hybrid 2015-08-20 23:05:04 +02:00
goberle 17f38ea37e Bug #3883: Attach disk doesn't check cluster compatibility. It also sets all
output values in set_up_attach_disk. Changed some checks in
DispatchManager::attach

(cherry picked from commit 4227b80cc5)
2015-07-29 18:49:21 +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
Ruben S. Montero ae86849be6 feature #3782: Snapshots (create & revert operations) in running can be
performed either in a suspend/snap/restore cycle or in a detach/snap/attach one.
Allow to revert to the current snapshot
2015-07-08 17:58:00 +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 480ad9178d feature #3782: Add missing unlocks to failure exits 2015-06-04 20:17:45 +02:00