1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-05 22:50:08 +03:00

678 Commits

Author SHA1 Message Date
Ruben S. Montero
a2ad9662a7 B: Solves issues when loading VM template in history records 2017-07-18 18:19:58 +02:00
Ruben S. Montero
468a406097 B : Load vm_info from history records 2017-07-18 13:44:58 +02:00
Ruben S. Montero
8576ae69fd F #4763: Do not allow to make snapshots to readonly disks 2017-07-05 19:03:12 +02:00
Ruben S. Montero
ebc165f70f F #4885: Enable TM mads to define orphan snapshots. This is control
under TM_MAD_CONF for each MAD. By default orphans are not allowed
2017-07-05 18:13:47 +02:00
Ruben S. Montero
a2c5a4cbaa F #4809. Fix index in PoolSQL. Update interface in all classes 2017-06-21 03:22:56 +02:00
Ruben S. Montero
226531e09d B #5024: Implements recover actions for system snapshots. Sets name of
KVM snapshots to OpenNebula's snapshot ID
2017-06-09 15:04:19 +02:00
Ruben S. Montero
bb6b578a3e F #5005: Missing constructor 2017-06-05 23:19:33 +02:00
Ruben S. Montero
e5ee3aae0b F #5005: Do not load empty history records 2017-06-05 19:13:48 +02:00
Ruben S. Montero
1c6e9af2ca F #5005: Initialize UID, GID, and REQID to -1 in History records 2017-06-05 18:59:45 +02:00
Javi Fontan
8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Ruben S. Montero
bca17f4ee6 F #4809: Update SqlDB method name. DO NOT replicate monitoring data 2017-04-21 19:16:45 +02:00
Ruben S. Montero
a6d4ab3c9f F #4809: Update Sql database interface to include read/write/bootstrap
operations
2017-04-18 17:12:19 +02:00
Ruben S. Montero
e1cb2c928a F #4809: Add a base class for extended template attributes 2017-04-10 19:25:29 +02:00
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
34ea719974 F #5027: Generate IP6 context variables for IP6 AR 2017-03-03 18:41:58 +01:00
Ruben S. Montero
3e63bef21c Fix bug when adding security group rules to attached nics 2017-02-28 11:57:56 +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
62d9ec2b39 F #5005 History records now include the UID/GID/REQUEST_ID that closed
the record
2017-02-09 16:58:47 +01:00
Ruben S. Montero
cc0234ba34 F #4845: Load VM operations from oned.conf 2017-01-29 23:46:59 +01:00
Ruben S. Montero
8f51474553 F #4845: Add all vm actions to the VMAction enumerate 2017-01-27 20:55:38 +01:00
Ruben S. Montero
27f63ead9a F #4393: Fix error in updating quotas on resize failure 2017-01-27 16:10:54 +01:00
Ruben S. Montero
97c5fcd2f2 F #2347: VMGroupRule class. Methods to check rule consistency 2017-01-13 01:56:25 +01:00
Ruben S. Montero
a1c1dee188 F #2347: Moved VMGroup logic from VirtualMachine to VMGroupPool. Added
authorization tests to VMGroup usage in VMs
2017-01-05 16:51:30 +01:00
Ruben S. Montero
20d10c7b12 F #2347: Fixes some bugs to VMGroups 2017-01-05 00:32:14 +01:00
Ruben S. Montero
a6fc7b23cb F #2347: VMs are added/removed from VMGROUP roles. VMGROUP with VMs
cannot be updated
2017-01-04 15:23:35 +01:00
Ruben S. Montero
7cbceb043b Added VirtualMachineNic interface to abstract NIC logic 2016-12-24 01:36:30 +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
178489ef11 F #4393: Moved Saveas implementation to VirtualMachineDiks. Fix bugs 2016-12-14 18:16:00 +01:00
Ruben S. Montero
71e7b3dc20 F #4393: Move authorize disk to VirtualMachineDisk class 2016-12-12 09:30:11 +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
7c36ef0381 B #4779: Allow to instantiate a VM without NICs 2016-09-14 23:28:18 +02:00
Daniel Dehennin
f362e64c05 Feature #3510: authorize “EMULATOR” in VM TEMPLATE (#112)
* src/vm/VirtualMachine.cc (insert): Add “EMULATOR” to the list of
  VM attributes understood by opennebula.

* src/vmm/LibVirtDriverKVM.cc (deployment_description_kvm): Get
  “EMULATOR” from VM template first, then from default and finally from
  hardcoded path.

Thanks Vladislav Gorbunov for the patch
2016-09-13 14:48:13 +02:00
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
34672cbb1f bug #4637: Adds @> operator for boolean expresions. @> evaluates to
true if the value is included in a result array. An array of attributes
is obtained for multiple values xpath, e.g.
<CLUSTER>
<ID>100</ID>
<ID>101</ID>
</CLUSTER>

an expresion of the form CLUSTER/ID in a requirement returns [100, 101].
To test if a given element is in a datastore:

CLUSTER/ID @> 101 -----> [100, 101] @> 101 ---> true

Note that CLUSTER/ID = 101 only evaluates the first element found

CLUSTER/ID = 101 ----> 100 = 101 ----> false

(cherry picked from commit eed6b268adcb70660b0a5251c2d434b591c7bd8b)
2016-07-19 13:07:02 +02:00
Carlos Martín
73ff900acb Feature #4620: Minor fixes 2016-07-18 18:54:15 +02:00
Ruben S. Montero
69ab761fad feature-4620: Context for PCI devices 2016-07-18 17:05:27 +02:00
Ruben S. Montero
b6dbd9c92c feature #4630: Automatic assgiment of passthrough devices. Attribute and
deployment file
2016-07-18 14:33:50 +02:00
Ruben S. Montero
086ccd4f09 feature #4620: Add PCI_ID to PCI devices 2016-07-18 11:32:58 +02:00
Ruben S. Montero
caefeb0e37 feature #4620: Add PCI network requests to automatic requirements 2016-07-14 15:34:55 +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
Carlos Martín
4f7fb20dfc Feature #2237: Show allocated VM and Memory values in VM capacity 2016-07-12 12:44:18 +02:00
Carlos Martín
1d6e8e5be2 Bug #4610: Check memory value in KB
(cherry picked from commit 1c3881c6c6e22c2d12656099fc22a528bc102070)
2016-07-11 11:29:38 +02:00
Carlos Martín
8529d13061 Bug #4610: Check boot order contents
(cherry picked from commit e71b23a4e7ebda1335cb91f212965315d098eebf)
2016-07-08 17:26:03 +02:00
Ruben S. Montero
c33ea24113 bug #4587: Fixes issues when filtering context values 2016-06-21 18:15:04 +02:00
Guillaume Oberlé
107daf1431 Remove orders attributes when removing boot orders (#99)
This is to make sure that the ORDER attribute is removed correctly for disks and nics if we remove OS = [ BOOT = "disk0,...." ] from the XML template of the VM.
2016-06-08 10:06:11 +02:00