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

1783 Commits

Author SHA1 Message Date
Ruben S. Montero
741a55d17e F #4809: Generic replication serves. Solve minor bugs in election
process
2017-05-14 23:48:46 +02:00
Ruben S. Montero
ac76ab4549 F #4809: Reload ACL rule cache when a server becomes zone leader 2017-05-08 23:57:51 +02:00
Ruben S. Montero
590b3548e9 F #4809: Forward request to leader 2017-05-08 19:48:41 +02:00
Ruben S. Montero
59cf651dd6 F #4809: API methods leader_only attribute. List, Info and Raft methods
are not leader only.
2017-05-08 10:47:42 +02:00
Ruben S. Montero
c1317ed697 F #4809: Store the leader_id for the term 2017-05-08 10:12:49 +02:00
Ruben S. Montero
503b2835b8 F #4809: Update API internal name to match public xml-rpc names. Do not log
heartbeat/replicate log entries
2017-05-07 23:43:20 +02:00
Ruben S. Montero
9d3973461c F #4809: Keep last_index counters internally. Commit log records on
heartbeats
2017-05-06 23:36:08 +02:00
Ruben S. Montero
c8f77ab8be F #4809: Remove cache from core pools 2017-05-06 00:20:29 +02:00
Ruben S. Montero
c14d648e32 F #4809: Method to query raft status one servers. Updated CLI to make
use of it
2017-05-06 00:17:27 +02:00
Ruben S. Montero
9e1fd142c3 F #4809: Debug election process 2017-05-05 15:46:57 +02:00
Ruben S. Montero
03c5698a72 F #4809: Fix several issues accessing the log records 2017-05-04 22:56:07 +02:00
Ruben S. Montero
c6a7500df5 F #4809: Adds vote requests from candidate, fix some bugs 2017-05-03 20:04:42 +02:00
Ruben S. Montero
2a695bc8f0 F #4809: Persist raft state. Implement Vote API call 2017-05-03 00:31:02 +02:00
Ruben S. Montero
3f9638be1b F #4809: Condifugre raft timers through oned.conf 2017-05-02 17:57:55 +02:00
Ruben S. Montero
071d0d840f F #4809: start/stop replica threads when adding/deleting servers 2017-05-02 01:38:30 +02:00
Ruben S. Montero
3be9f38d92 F #4809: ActionManager can set timers in in ns. Adjust Raft manager to ms timers. Include Hearbeat control from leader and follower. XML-RPC calls are now async. RaftManager db calls is now decoupled with pool classes. 2017-05-01 22:30:45 +02:00
Ruben S. Montero
5441a2f834 F #4809: Log retention system 2017-04-29 23:25:53 +02:00
Ruben S. Montero
dd51b58331 F #4809: DO NOT monitor marketplaces, nor datastores in followers 2017-04-28 22:46:37 +02:00
Ruben S. Montero
6f976c1eb8 F #4809: Make some Raft events synchronous with replication threads 2017-04-28 22:23:32 +02:00
Ruben S. Montero
613ec63426 F #4809: Fix replication logic 2017-04-28 19:35:57 +02:00
Ruben S. Montero
8851308864 F #4809: ReplicateLog client logic 2017-04-27 12:42:09 +02:00
Ruben S. Montero
cc08fd98b7 F #4809: replicate logic for leader 2017-04-27 11:12:30 +02:00
Ruben S. Montero
900c37fdf5 F #4809: Solves some bugs 2017-04-27 02:16:13 +02:00
Ruben S. Montero
7c479b8ecb F #4809: Restructure Raft implementation 2017-04-27 01:03:44 +02:00
Ruben S. Montero
4c577126fa F #4809: Improve replication logic, new RaftManager to control server
states
2017-04-25 17:15:31 +02:00
Ruben S. Montero
0c8299f1b2 feature #4809: Bootstrap LogDB tables in DB, initialize next_index 2017-04-25 11:49:52 +02:00
Ruben S. Montero
f2039e0260 F #4809: Added LogDBManger to Zone server 2017-04-23 13:09:12 +02:00
Ruben S. Montero
b26e5a716a F #4809: Replication logic 2017-04-23 01:43:01 +02:00
Ruben S. Montero
ed0d64a2a0 F #4809: Updated log structure 2017-04-21 22:32:30 +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
dd0598aaa6 F #4809: Work on log management and replication 2017-04-21 16:52:54 +02:00
Ruben S. Montero
116425fc99 F #4809: Template for the LogDBManager 2017-04-20 17:11:56 +02:00
Ruben S. Montero
c8981e82a3 F #4809: Some implementation files. Fix compilation issues 2017-04-20 16:13:41 +02:00
Ruben S. Montero
bae57600fe F #4809: Some notes on the implementation of the log replication for
zone servers
2017-04-19 20:44:31 +02:00
Ruben S. Montero
e4848c55d9 F #4809: Overwrite SqlDB db_exec_* methods in DB implementations 2017-04-19 20:35:39 +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
cd580714ab F #4809: Delete servers from zone 2017-04-13 18:31:14 +02:00
Ruben S. Montero
ebc810f499 F #4809: Add Server to Zone API call 2017-04-11 21:34:38 +02:00
Ruben S. Montero
d03ed15889 F #4809: Add zone server list to zone data 2017-04-11 01:32:39 +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
53ee13b4d7 F #5058: Control default configuration attribute location user/group 2017-03-21 12:23:02 +01:00
Ruben S. Montero
4078d55b56 Added IP6 reference in IPAM addresses 2017-03-21 12:22:19 +01:00
Ruben S. Montero
7ffdf91f86 F #5058: Add logic to set PERSISTENT attribute in image templates 2017-03-14 17:34:53 +01:00
Ruben S. Montero
492d5fce2c F #5058: Method to get user-based configuration attributes for oned 2017-03-12 23:39:45 +01: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
1fbe34f3d2 B #5047: Syslog, static initialization of ident string 2017-03-01 11:23:14 +01:00
German Gutierrez
3e8d385069 Fix: Missing programname in syslog output (#187) 2017-03-01 11:03:55 +01:00
Ruben S. Montero
ba40cffd61 F #5027: Operations (hold, release, reserve...) for IP6 no-slaac ARs 2017-02-21 16:50:45 +01:00
Ruben S. Montero
948d1d98c4 F #5027: New address range types for IP6 no SLAAC. Basic lease
functionality
2017-02-17 23:49:05 +01:00
Ruben S. Montero
6dd92c0828 Merge branch 'feature-5005' 2017-02-10 18:17:58 +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
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