1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-27 10:50:10 +03:00

309 Commits

Author SHA1 Message Date
Ruben S. Montero
ecc8be7c20 B #4774: Aonly network variables are parsed when regeneriting context 2016-09-13 13:11:09 +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
Ruben S. Montero
69ab761fad feature-4620: Context for PCI devices 2016-07-18 17:05:27 +02:00
Ruben S. Montero
23f556a406 feature #4620: PCI devices of type NIC gets an IP as regular NIC 2016-07-14 11:06:59 +02:00
Ruben S. Montero
7287a16c93 Bug #4467: Remove EC2 as valid public cloud name for AUTOMATIC_REQUIREMENTS 2016-05-17 18:53:49 +02:00
Ruben S. Montero
20b84754ee Bug #4314 Feature #4320: VMs get IP6 context with ULA only addresses.
Re-design of update logic to work as other update methods
2016-05-06 12:18:48 +02:00
Javi Fontan
e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero
2560c2da92 feature #4400: update onegate token for updateconf call 2016-04-26 12:58:31 +02:00
Ruben S. Montero
bb9d4a99b5 feature #4400: Regenerate network context support for updateconf 2016-04-26 11:47:03 +02:00
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 676f36e0aa4f6ca705f60b826fd52d69888d7bb9)
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 d369908da2c162d04132eb2c55fb5e26c99ed66d)
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