169 Commits

Author SHA1 Message Date
Ingo Oppermann
0a74470d38
Don't mark processes as errNotEnoughResourcesForDeployment when budget has been used up 2024-07-24 12:54:45 +02:00
Ingo Oppermann
54b1fe8e86
Dump casbin, replace with own policy enforcer 2024-07-23 15:54:09 +02:00
Ingo Oppermann
879819f10f
Retrieve current process from leader, clone metadata, introduce new state 'deploying' 2024-07-22 16:58:57 +02:00
Ingo Oppermann
9e52f19a66
Introduce synchronize budget, experimental 2024-07-22 09:25:23 +02:00
Ingo Oppermann
308f008969
Only compare configs if the process will get replaced 2024-07-19 16:00:45 +02:00
Ingo Oppermann
72883d18d4
Remove bottlenecks in process handling, still some rough edges 2024-07-18 17:16:49 +02:00
Ingo Oppermann
4d0eed092e
Return error from ClusterProcessList, remove ProcessFindNodeID 2024-07-17 16:50:39 +02:00
Ingo Oppermann
db564de1f1
Use store.ProcessGetNode function 2024-07-17 16:49:09 +02:00
Ingo Oppermann
e12fb0be52
Fix cluster shutdown, limit parallel opstack worker 2024-07-17 16:48:33 +02:00
Ingo Oppermann
3df1075548
Add ProcessGetNode function 2024-07-17 16:47:00 +02:00
Ingo Oppermann
88739e3f7f
Cosmetics 2024-07-17 16:45:33 +02:00
Ingo Oppermann
3d78122053
Fix crash when updating unavailable node 2024-07-16 08:13:15 +02:00
Ingo Oppermann
7e90bb87ce
Allow to import report history for a process 2024-07-10 16:46:49 +02:00
Ingo Oppermann
480dbb7f53
Refactor cluster node code 2024-07-09 12:26:02 +02:00
Ingo Oppermann
28603aab98
Incorporate process throttling into deploy decision, fix bug in rebalance, parallelize opstack 2024-06-26 17:03:42 +02:00
Ingo Oppermann
ca177becfa
Fix tests 2024-06-24 17:37:04 +02:00
Ingo Oppermann
c032cdf5c7
Add API for setting node status, respect it in leader tasks 2024-06-24 16:50:15 +02:00
Ingo Oppermann
166e313642
Fix tests 2024-06-19 15:38:42 +02:00
Ingo Oppermann
a9d6b1ec49
Add API endpoints for relocating processes 2024-06-19 15:28:30 +02:00
Ingo Oppermann
de6a267fd4
Add operations to relocate processes 2024-06-18 16:50:59 +02:00
Ingo Oppermann
f5d9725a48
Return proper HTTP status on leave 2024-06-12 15:08:07 +02:00
Ingo Oppermann
1a64fddbb1
Allow cluster leave endpoint to remove any node in the cluster 2024-06-07 11:28:54 +02:00
Ingo Oppermann
03da97217b
Use faster JSON and gzip packages 2024-04-24 15:42:11 +02:00
Ingo Oppermann
423e0453de
Remove NodeID from ClusterAbout 2024-04-10 16:58:34 +02:00
Ingo Oppermann
4bc08d2b1e
Lift some message from the cluster to info 2024-04-10 10:39:34 +02:00
Ingo Oppermann
7a4875f818
Promote core version in cluster about 2024-04-09 15:57:17 +02:00
Ingo Oppermann
3b11c84545
Remove /v1/about cluster API endpoint 2024-04-09 15:56:40 +02:00
Ingo Oppermann
487529c598
Expose general infos in cluster about, bump cluster API version to 2.0.0 2024-04-08 21:55:07 +02:00
Ingo Oppermann
727c358921
Add filesystem access via cluster node 2024-03-13 15:11:20 +01:00
Ingo Oppermann
2c47ab77d2
Add missing implementation for GET /api/v3/cluster/fs/{storage} 2023-11-27 12:51:14 +01:00
Ingo Oppermann
8d63cafda0
Ignore self if in list of peers 2023-11-15 10:11:07 +01:00
Ingo Oppermann
48cc454314
Add expose 'mode' from avstream progress 2023-09-20 20:53:50 +02:00
Ingo Oppermann
a7cd4f4e50
Convert old resource format to types and resource 2023-09-18 21:12:04 +02:00
Ingo Oppermann
ad2a50df6f
Separate resource type and resource for IAM policies 2023-09-18 17:11:09 +02:00
Ingo Oppermann
92f2f6de8c
Add CreatedAt and UpdatedAt field to IAM user 2023-09-18 15:18:21 +02:00
Ingo Oppermann
8361e5fd3d
Use more precise wording 2023-09-11 14:54:37 +02:00
Ingo Oppermann
022c5c1a6d
Emit warnings 2023-09-11 14:42:46 +02:00
Ingo Oppermann
fde99733c6
Add term number to cluster leader synchronization and rebalance logs 2023-09-04 15:06:25 +02:00
Ingo Oppermann
ce362e76bb
Fix occasional process rebalance if node resources are not reliable 2023-09-04 12:16:02 +02:00
Ingo Oppermann
d19010944d
Add POST /cluster/process/probe endpoint 2023-08-09 14:10:16 +03:00
Ingo Oppermann
0b718b8b18
Add IAM identity alias to API 2023-08-03 17:28:02 +03:00
Ingo Oppermann
8be031a3d1
Use RLock instead of Lock 2023-07-26 11:34:29 +02:00
Ingo Oppermann
80feb0b565
Use RLock instead of Lock 2023-07-26 11:28:22 +02:00
Ingo Oppermann
d74165a90a
Add node resource error, replace ping with about 2023-07-25 17:17:20 +02:00
Ingo Oppermann
bb5b580561
Don't use a map for the process list 2023-07-24 10:32:51 +02:00
Ingo Oppermann
bc76b4615d
Fix redeploying process when locally deleted 2023-07-23 20:33:18 +02:00
Ingo Oppermann
6789dbb783
Fix potential nil dereference 2023-07-23 16:15:01 +02:00
Ingo Oppermann
2844d2d7a2
Split Lock type into its own file 2023-07-21 15:38:43 +02:00
Ingo Oppermann
ff2b7fe054
Add cache for file to node relation in cluster proxy 2023-07-20 20:51:20 +02:00
Ingo Oppermann
e6391b0b7b
Replace polling with asking other nodes for files in proxy
Polling has the drawback, that it's usually delayed and can lead to
404 responses even though the files would be available on another
node. With asking, this problem doesn't exist but it may lead to
more internal requests and a bit higher latency.
2023-07-20 15:17:03 +02:00