Commit Graph
298 Commits
Author SHA1 Message Date
Carlos Martín 0d6dd0c6ff Feature #4400: New state cloning_failure 2016-04-22 16:06:43 +02:00
Ruben S. Montero c0da2d7f89 feature #4400: Minor changes 2016-04-22 13:13:13 +02:00
Ruben S. Montero 759e645821 feature #4320: CONTEXT can now be updated in poweroff related states 2016-04-22 11:31:47 +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
Ruben S. Montero 55660b89e6 feature #4320: BOOT allows to set any boot order in the form BOOT="disk0,nic1,disk2,nic0" 2016-04-19 16:27:56 +02:00
Carlos Martín 191eda35d3 Feature #4400: Fix missing DISK/SOURCE 2016-04-19 15:20:34 +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 ca33ac46c3 development: Update VirtualMachine.add_history interface 2016-04-10 22:53:33 +02:00
Ruben S. Montero 3c389f3270 development: Homogenous VM_MAD/TM_MAD (vs VMMMAD/TMMAD) name. oned does
not store DS_LOCATION, single get_system_dir() function
2016-04-10 22:39:21 +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
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 b61445315e feature #4215: Fix context generation bug 2016-03-16 19:14:37 +01:00
Ruben S. Montero 9fb06c870d feature #4215: Generate context before a restore action. Context is
regenerated whenever a it is needed to capture VNET and NIC updates
2016-03-16 14:54:22 +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
Ruben S. Montero 9e4af1ebc6 feature #3204: Security Group dynamic update. Add support to update SG
rules of running VMs though a new one.secgroup.commit operation
2016-03-01 23:31:31 +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
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
Tino Vazquez b5d162a50b feature #4187: Import VMs in poweroff 2016-02-09 12:56:01 +01:00
Ruben S. Montero 91c489abac feature #4217: Generic parse of CONTEXT attribute. Fix in clean up VM 2016-02-07 18:05:28 +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 6478bf1778 feature #4215: Use always created_by 2016-02-05 00:31:50 +01:00
Carlos Martín 7a7f07cdad Feature #4215: Remove vrouter ip recipients from context 2016-01-28 16:17:34 +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 3ca02c27e2 Feature #4215: Remove update_context action 2016-01-26 11:34:46 +01:00
Carlos Martín d7eb8769e1 Feature #4215: update-context uses the user token password 2016-01-25 17:38:46 +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 c41d43f09a Feature #4215: Add keepalived_id/password 2016-01-19 18:13:31 +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 f9c3a93e4b Feature #4215: Context var ethx_vrouter_ip_recipients 2016-01-15 16:42:51 +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 eafd5143c4 Feature #4215: Store VM - VR id reference 2015-12-01 16:36:50 +01:00
Carlos Martín 4b6aaa8b19 Feature #4215: Store a list of VR inside each vnet 2015-12-01 15:35:33 +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 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
Carlos Martín 29c0a05948 Merge remote-tracking branch 'origin/feature-3987'
Conflicts:
	src/sunstone/public/app/utils/disks-resize.js
	src/sunstone/public/app/utils/vcenter/networks.js
	src/sunstone/public/app/utils/vcenter/templates.js
2015-11-06 17:09:03 +01:00
Ruben S. Montero fa653b9d47 feature #3987: Resolve volatile disk attributes 2015-11-05 00:04:42 +01:00
Carlos Martín ac8f45433e Feature #4084: Fix minor bug and error message
(cherry picked from commit 0b181da15dade8b3729ab41ec56fe9cf181a465a)
2015-11-02 15:40:59 +01:00
Tino Vazquez 4a6d37cf74 Feature #4084: Fix automatic requirements
(cherry picked from commit 9b8479bacfd241ff5547990a2b3a358358386b16)
2015-11-02 15:40:59 +01:00
Ruben S. Montero fef186886b feature #4084: Parse PUBLIC_CLOUD attributes so it can use USER_INPUTS
(cherry picked from commit 4b9492574ab713531a52cdccb936dc5b9db7051c)
2015-11-02 15:40:59 +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 23fefa0256 Bug #4042: Use disk size in vm saveas
(cherry picked from commit f42a8d8693)
2015-10-16 17:57:12 +02: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 e5861631f1 Bug #3961: Check PCI attributes when a VM is instantiated 2015-09-02 17:31:19 +02:00
Ruben S. Montero 67ec62e0d4 feature #3028: Add PCI capacity when deploying a VM 2015-08-21 01:08:28 +02:00