Commit Graph
272 Commits
Author SHA1 Message Date
Ruben S. Montero d1ad6a0cc6 B #5032: Further fixes for SELF DS (e.g. Ceph) for disks with resizes
and snapshots. Also updates delete-recreate quota computation
2017-03-31 20:09:27 +02:00
Ruben S. Montero d90cd64cca B #5032: Add datastore capacity usage in quota calculations for storage
drivers that clone to SELF (e.g. Ceph)
2017-03-30 18:58:18 +02:00
Ruben S. Montero 4197718d13 F #5058: Test and set persistent attribute in one.image.create
one.image.clone and one.vm.disksaveas
2017-03-15 17:17:07 +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 d143012eb6 F #5005: Add request information to events and callbacks from API calls. 2017-02-07 17:26:23 +01:00
Ruben S. Montero 61bfe3d6d0 F #4845: Get permissions for vm operations from configuration in
RequestManager
2017-01-30 13:19:32 +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 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 45533cf3d8 Allow to migrate VMs with no cluster requirements 2016-09-09 18:03:39 +02:00
Carlos Martín b2b59dedb3 Feature #4701: Roll back a failed migration with recover --failure 2016-09-01 17:53:58 +02: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
Carlos Martín b836ad30c0 Feature #4464: Allow migration between clusters that share datastores/vnets
(cherry picked from commit f789d500f4005d00c63657ebed8d1b87b066dde6)
2016-08-18 16:25:38 +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
Jaime Melis 14c318b7b9 Feature #3907: Improve the FSTYPE heuristic 2016-05-06 16:23:29 +02:00
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero 6db32d4470 feature #4320: Do not add multiple CREATED_BY attributes 2016-05-03 10:21:33 +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
Ruben S. Montero 0d6659c5d8 feature #4400: Better scope for RM functions, homogenous function naming 2016-04-21 17:18:01 +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
Carlos Martín 9c8d5e89bd Feature #2980: Fix port assignment 2016-04-13 11:31:56 +02:00
Ruben S. Montero f6c9924629 feautre #4403: Adds OFFLINE mode to Host. 2016-04-12 00:33:09 +02:00
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