1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-07 17:17:41 +03:00
Commit Graph

1731 Commits

Author SHA1 Message Date
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
8e20605ef2 B #5014: Remove user from admins 2017-02-09 17:00:37 +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
04e4991d4d F #5005: Fix action queue. Update new action classes 2017-02-08 12:24:42 +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
7a2face60c F #5005: New interface of ActionManager to accommodate additional arguments. Updates managers to the new interface 2017-02-03 20:39:34 +01:00
Ruben S. Montero
e92076f71b F #4845: Missing part of ee5f9fa57d 2017-01-31 23:18:17 +01:00
Ruben S. Montero
ee5f9fa57d F #4845: Fix ActionSet class 2017-01-31 22:12:35 +01:00
Ruben S. Montero
5a856f87d3 F #4845: Add missing VM actions to get auth operation from configuration 2017-01-30 13:46:05 +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
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
5bd214ab00 F #2347: Schedule affined groups 2017-01-25 20:08:12 +01:00
Ruben S. Montero
09fafc3b0b F #2347: Get information about VMs in VMGroups 2017-01-22 22:30:39 +01:00
Ruben S. Montero
7c948b3a1c F #2347: Host affinity rules 2017-01-22 02:18:02 +01:00
Ruben S. Montero
685b0bd944 F #2347: Set antiaffinity placement constraints for VMs 2017-01-20 20:46:50 +01:00
Ruben S. Montero
d73a57dab7 F #2347: Dump VMGroups in scheduler output for DEBUG 2017-01-18 00:31:50 +01:00
Ruben S. Montero
70ce346937 F #2347: Load roles and rules in the scheduler. Helper methods to
generate requirement expressions
2017-01-16 19:19:05 +01:00
Ruben S. Montero
184bd79eaf F #2347: Split rule and role logic in different objects and libraries to reuse it in scheduler 2017-01-14 18:33:26 +01:00
Ruben S. Montero
b2f15970c9 F #2347: Add placement rules consistency checks 2017-01-13 18:32:37 +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
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
1b4c543712 F #2347: Add/del methods for VMGroup 2017-01-03 23:08:47 +01:00
Ruben S. Montero
8b3abfab09 F #2347: Mora API calls for VMGroup 2017-01-03 21:12:27 +01:00
Ruben S. Montero
202b47e9d8 F #2347: Fix bugs. Show role names in vm group output 2017-01-03 20:03:03 +01:00
Ruben S. Montero
973aac07fd F #2347: Better parsing of VMGroup attributes 2017-01-03 15:24:43 +01:00
Ruben S. Montero
ef25d1821f F #2347: VMGroup Roles managed in a separate clas 2017-01-03 04:06:51 +01:00
Ruben S. Montero
17749cb5e7 F #2347: Allocate, delete and info API calls for the VMGroup 2017-01-03 01:22:10 +01:00
Ruben S. Montero
7381aa4030 F #2347: VMGroup base classes, intial version 2017-01-02 16:43:44 +01:00
Ruben S. Montero
4429031117 F #4952: Add IPv6 support for oned 2016-12-28 00:16:49 +01:00
Ruben S. Montero
7cbceb043b Added VirtualMachineNic interface to abstract NIC logic 2016-12-24 01:36:30 +01:00
Ruben S. Montero
d9bd4cc702 Merge branch 'feature-4393' 2016-12-23 11:13:37 +01:00
Ruben S. Montero
43df8151ff F #4393: Added resize operation for running VMs 2016-12-17 19:30:11 +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
7b2e4cef98 Upgrade local DB version to 5.3.80 (5.4.0 beta1) 2016-11-25 13:53:05 +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
Ruben S. Montero
7a55686fa6 bug #4405: Optional KEEP_SNAPSHOTS parameter for VMM drivers. It
preserves system snapshots across power on/off cycles and life migrations
if the hypervisor supports that.
2016-05-18 19:49:56 +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
Jaime Melis
f852150622 Bump version 4.90.0 2016-05-11 10:45:30 +02:00
Ruben S. Montero
d2fbf0216e Development: Allow to "unreserve" bitmap-based attributes in oned.conf 2016-05-10 19:41:12 +02:00
Jaime Melis
14c318b7b9 Feature #3907: Improve the FSTYPE heuristic 2016-05-06 16:23:29 +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
0352b3a73b Development: Add missing template interface for getting attributes 2016-05-03 17:17:50 +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
Ruben S. Montero
03b7b77ce8 Merge monitor information for the VM (instead of recreating). Update
Template.merge interface
2016-04-26 15:35:07 +02:00
Ruben S. Montero
2560c2da92 feature #4400: update onegate token for updateconf call 2016-04-26 12:58:31 +02:00