Commit Graph
247 Commits
Author SHA1 Message Date
Ruben S. Montero ca33ac46c3 development: Update VirtualMachine.add_history interface 2016-04-10 22:53:33 +02:00
Ruben S. Montero 01f1ff5bce bug development: Prevent leaving and open history record if a VM cannot get a free
VNC port
2016-04-08 19:46:56 +02:00
Ruben S. Montero 67ba59ada1 feature #3848: Remove VN_MAD from Host in oned. Remove VMWare driver in
core
2016-04-07 11:06:43 +02:00
Ruben S. Montero 784a4fc960 feature #2980: VNC port tracking. Includes a VNC bitmap for each cluster to
track the ports in use in the cluster and avoid port collision. VNC ports are
assigned when the VM is deployed and released when the VM is stopped, undeployed
or done.

Includes the following:
  - 9da66150dc0e3dc2731518d8a215f9598696a999
  - 4c35a9fcccf70cbe87d2947403ea815967e7b605
  - ccfccb6d2fc40aa1c07eb994f37b8da4fb479082
  - b1b64e61a39f4452c7ba00e581de42888e0e84a5
  - d474ee4db9ed520bcae743d510be35b25ea988ed
  - dacb61b1402da2ec309b6e79bdd285d0d11de84f
2016-04-05 12:56:34 +02: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 0267659dfc Feature #4215: Add missing error message detail
See commit:3d8d2fd8
2016-03-16 18:46:37 +01:00
Carlos Martín 400e18964c Feature #4369: Force Hosts to be always part of one cluster
This way cluster none (-1) disappears outside of the core
2016-03-16 13:31:10 +01:00
Carlos Martín b715c4f773 Feature #4369: Remove datastore_location setting by cluster 2016-03-16 13:07:10 +01:00
Carlos Martín 73f5ceb644 Feature #4369: Use multiple clusters in VM deploy & migrate 2016-03-15 17:34:21 +01:00
Ruben S. Montero c53425c0ed feature #4217: Generic class for supported actions, used in
VirtualRouter, VirtualMachine & MarketPlace. Simplify enum names for
MarketPlaceApps
2016-02-09 16:34:25 +01:00
Ruben S. Montero 313eb34a7b feature #4217: Fix error after merge from 4215. Change messages to
"virtual router"
2016-02-05 11:02:50 +01:00
Ruben S. Montero 5761be4d10 feature #4217: Simplify Template, Attribute and PoolObjectSQL class interfaces 2016-02-05 00:33:37 +01:00
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