1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00
Commit Graph

1642 Commits

Author SHA1 Message Date
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
08d88e0119 F #4901: Updates MEM & CPU when RESERVED_ attributes are updated. Adds TOTAL_CPU
and TOTAL_MEM shares to store raw monitoring cpu/mem metrics. Adds
migrator and increases local DB version number.
2016-11-12 21:18:25 +01:00
Ruben S. Montero
09825bd7ba F #4901: RESERVED_CPU and RESERVED_MEM can be expressed using %. Update
HostShare interface.
2016-11-05 21:14:38 +01:00
Carlos Martín
7323fa0c6b F #4714: Add onedb migrator 2016-10-06 15:21:37 +02:00
Ruben S. Montero
289a09009a F #4714: Allow users to select objects owned just by the session's group 2016-09-30 17:31:49 +02:00
Jaime Melis
51f5718608 Merge branch 'master' of https://github.com/OpenNebula/one 2016-09-29 14:29:20 +02:00
Ruben S. Montero
2dc9ddea40 F #4775: Consolidate authorization requests for User creates. User
groups are always managed as a set
2016-09-29 12:22:59 +02:00
Jaime Melis
238a75c608 Bump version 5.2 2016-09-27 11:49:32 +02:00
Carlos Martín
d17818a32b F #4775: Add Group membership to one.user.allocate API call 2016-09-23 13:28:44 +02:00
Jaime Melis
a49f2a747f Bump version 5.1.80 2016-09-14 17:27:24 +02:00
Carlos Martín
0d5b532a83 Fix typo 2016-09-13 18:25:03 +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
e83994bb47 Feature #4714: Add expired token collector 2016-09-08 12:03:24 +02:00
Ruben S. Montero
9c929148fc Do not update disk monitor infor in the DB. Disk usage will be kept in
the object and written to the DB the next time the VM is updated
(presumably, in the next monitor message from probes). This will reduce
DB I/O needs
2016-09-02 13:58:33 +02:00
Jaime Melis
6852a1aba7 Merge branch 'feature-4714' 2016-09-01 17:37:06 +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
Ruben S. Montero
2e0cd9509f feature #4714: Check EGID as stored in the token is still a valid group for the user. 2016-08-31 18:24:15 +02:00
Ruben S. Montero
27c5a7ea48 feature #4714: Add multiple authentication tokens per user. Tokens are
extended to include an efective gid, used for object creation and
authorization (when using the token).
2016-08-31 14:52:33 +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
Jaime Melis
2f70d56268 Merge branch 'feature-4658' 2016-08-30 12:34:46 +02:00
Jaime Melis
b542aea0ce Feature #4658: remove debugging info 2016-08-30 12:33:21 +02:00
Jaime Melis
d8ee69a09a Feature #4658: Better range definitions for VLAN_IDs 2016-08-30 12:20:07 +02:00
Ruben S. Montero
5764e05834 Merge branch 'feature-4446b' 2016-08-26 17:26:49 +02:00
Guillaume Oberlé
f8874bb320 feature #4446: Reservations are handled always by OpenNebula's internal
IPAM. Add consistency check to IPAM results. Log error messages from
IPAM drivers. Remove unused internal AR attribute (ipam_mad)

Signed-off-by: Ruben S. Montero <rsmontero@opennebula.org>
2016-08-26 17:21:07 +02:00
Carlos Martín
e95328a516 Bug #4745: Fix segfault for malformed template attributes 2016-08-26 12:05:52 +02:00
Carlos Martín
9e23c60a55 Feature #4715: Set a max login token time in oned.conf for each driver 2016-08-24 10:49:22 +02:00
Carlos Martín
a3e99f538f Feature #4715: Update group IDs when auth diver provides them 2016-08-23 14:48:45 +02:00
Guillaume Oberlé
34628427ec feature #4446: Activate IPAM. Fix minor bugs
Signed-off-by: Ruben S. Montero <rsmontero@opennebula.org>
2016-08-21 19:54:31 +02:00
Guillaume Oberlé
5ebe8c5e0d feature #4446: IPAM driver - OpenNebula core message parsing
Signed-off-by: Ruben S. Montero <rsmontero@opennebula.org>
2016-08-19 13:26:08 +02:00
Guillaume Oberlé
1772a358f5 feature #4446: Extends IPAMRequest to include driver formatting.
Implements IPAM AddressRange (callbacks still missing).

Signed-off-by: Ruben S. Montero <rsmontero@opennebula.org>
2016-08-18 21:42:24 +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
Guillaume Oberlé
e8292cd84f feature #4446: Logic for OpenNebula core IPAM Manager and driver
Signed-off-by: Ruben S. Montero <rsmontero@opennebula.org>
2016-08-18 13:30:31 +02:00
Guillaume Oberlé
f8615d6e5c Feature #4446: Redesign of AddressRange class to include multiple
implementations. When managing leases 4 abstract methos have been added
to the interface:
  - from_vattr, to notify/request a new network from IPAM
  - allocate_addr, to set an address as used
  - get_addr, to request a free address
  - free_addr, to set an address as unused

This commits also includes an AddressRange implementation based on
OpenNebula's internal IPAM

Signed-off-by: Ruben S. Montero <rsmontero@opennebula.org>
2016-08-17 19:22:53 +02:00
Ruben S. Montero
8bba5b8b73 bug #4662: Removes double unlocks from MarketPlace. Adds SSL callbacks
for multithread calls
2016-07-29 17:50:52 +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 eed6b268ad)
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
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
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
Ruben S. Montero
d482d967aa feature #4411: Change AUTH_DRIVER_CONF to AUTH_MAD_CONF. Added defaults
for AUTH_MAD_CONF
2016-07-06 10:16:47 +02:00
Carlos Martín
e8f9de4bb2 Feature #4411: Disable password change for some auth drivers 2016-06-29 17:17:18 +02:00
Javi Fontan
02c6d1bb86 Bump version to 5.0.1 2016-06-24 10:39:56 +02:00
Ruben S. Montero
1956b15db6 Bug #4547: Do no generate VLAN_ID if not needed.Inherit VLAN_ID in
reservations
2016-06-10 17:12:37 +02:00
Jaime Melis
865470cd47 Bump version 5.0.0 2016-06-08 12:56:22 +02:00
Javi Fontan
496196730b Bump version to 4.90.10 2016-06-07 12:39:50 +02:00
Ruben S. Montero
57976f61c2 Bug #4516: Fix deadlock with concurrent reservations on the same
vnet.
2016-06-03 19:19:23 +02:00
Javi Fontan
a34293c420 Bump version 4.90.5 2016-05-26 13:21:38 +02:00
Ruben S. Montero
698014748b Development: Do not change vn_mad string 2016-05-25 00:00:12 +02:00
Ruben S. Montero
f45fe15bc5 bug #4476: Add default views to users group at DB bootstraping 2016-05-20 14:15:18 +02:00