Commit Graph

211 Commits

Author SHA1 Message Date
Ben Marsh
f672bd31a1 Horde: Use previous implementation of IsPortAvailable on Linux.
[CL 16781183 by Ben Marsh in ue5-main branch]
2021-06-24 22:31:45 -04:00
Ben Marsh
0b6e1428c9 Missing copyright notices.
[CL 16781040 by Ben Marsh in ue5-main branch]
2021-06-24 22:01:43 -04:00
Ben Marsh
c02be00304 Horde: Basic implementation of storage API.
Current limitations:

* Only supports a filesystem backend
* No garbage collection
* Refs are stored in the database, and do not automatically expire.
* Validation of refs is slow and does not cache any data.

[CL 16778495 by Ben Marsh in ue5-main branch]
2021-06-24 16:57:21 -04:00
Ben Marsh
50edd3787d Horde: Fix (caught) exception when checking for port being available when running tests.
[CL 16778400 by Ben Marsh in ue5-main branch]
2021-06-24 16:49:50 -04:00
Josh Engebretson
fdb62776ca Horde: Fix job batch lookup for leases
#jira none
#rnx

[CL 16778065 by Josh Engebretson in ue5-main branch]
2021-06-24 16:27:54 -04:00
Josh Engebretson
a4b7d5d85f Horde: Use batch error state in lease view
#jira none
#rnx

[CL 16775400 by Josh Engebretson in ue5-main branch]
2021-06-24 12:45:49 -04:00
Ben Marsh
d7b93a9cfc Horde: Change downtime service to log in the information channel.
[CL 16773872 by Ben Marsh in ue5-main branch]
2021-06-24 11:07:04 -04:00
Josh Engebretson
4983dc078c Horde: Improve server lease display with status and links to batches
#jira UE-118877
#rnx

[CL 16773013 by Josh Engebretson in ue5-main branch]
2021-06-24 10:31:33 -04:00
Ben Marsh
89cb80f518 Horde: Only allow each server to be added to conform list once.
[CL 16767613 by Ben Marsh in ue5-main branch]
2021-06-23 21:10:56 -04:00
Ben Marsh
2a539b59c3 Horde: Fix matching of servers for conform.
[CL 16764553 by Ben Marsh in ue5-main branch]
2021-06-23 18:32:54 -04:00
Ben Marsh
22938f032e Horde: Fix error message for invalid P4 cluster.
[CL 16764105 by Ben Marsh in ue5-main branch]
2021-06-23 18:13:35 -04:00
Josh Engebretson
7ef5675ce4 Horde: Fix reshelf behavior
#rnx
#jira none

[CL 16763749 by Josh Engebretson in ue5-main branch]
2021-06-23 18:04:14 -04:00
Ben Marsh
21e65e5e82 Horde: Fix search for default cluster.
[CL 16763458 by Ben Marsh in ue5-main branch]
2021-06-23 17:56:30 -04:00
Ben Marsh
a62e966f19 Horde: Track conform count for each server separately.
[CL 16762809 by Ben Marsh in ue5-main branch]
2021-06-23 17:22:20 -04:00
Ben Marsh
4840b3d343 Horde: Fix StringId type converter not correctly handling conversion from strings.
[CL 16757365 by Ben Marsh in ue5-main branch]
2021-06-23 11:07:28 -04:00
Ben Marsh
6658b27edf Horde: Enable the hosting log channel output, so the server prints information about which port it's listening on.
[CL 16757282 by Ben Marsh in ue5-main branch]
2021-06-23 11:04:23 -04:00
Ben Marsh
363c25135b Horde: Prevent server participating in elections when in read-only mode. Useful for running against prod server without clobbering settings etc...
[CL 16757200 by Ben Marsh in ue5-main branch]
2021-06-23 10:59:51 -04:00
carl bystrom
27fba12350 Horde: Suppress excessive logging in Horde Server
Much too fine-grained at the info level.

[CL 16756953 by carl bystrom in ue5-main branch]
2021-06-23 10:40:15 -04:00
carl bystrom
bbab0f5f79 Horde: Add internal retry for REAPI actions
To temporarily hide issues with remote executions and avoiding the client to do extra retries.

[CL 16756527 by carl bystrom in ue5-main branch]
2021-06-23 10:07:31 -04:00
carl bystrom
5a10e0f22c Horde: Log what action digest is used for an REAPI execution
[CL 16756014 by carl bystrom in ue5-main branch]
2021-06-23 09:04:28 -04:00
carl bystrom
e9d92e26a3 Horde: Ignore exceptions from REAPI cache result update
Simply log it as update cannot be sent. PostActionResultAsync has already been called, which probably makes sense.

[CL 16755746 by carl bystrom in ue5-main branch]
2021-06-23 08:17:59 -04:00
carl bystrom
768072baff Horde: Properly handle both result and error from agent REAPI callback
Not considering errors caused one of ActionExecuteResult's fields to be null. Was not cached by the type system since data was received at runtime.

[CL 16755492 by carl bystrom in ue5-main branch]
2021-06-23 07:04:58 -04:00
carl bystrom
f25f26a858 Horde: Add server-side reflection for gRPC
Allows the server to be self-describing, making it easier to use tools like grpcurl to make test calls to the server.

[CL 16754732 by carl bystrom in ue5-main branch]
2021-06-23 05:19:12 -04:00
carl bystrom
9c29c08d12 Horde: Log REAPI channel setup as info for better visibility
[CL 16754662 by carl bystrom in ue5-main branch]
2021-06-23 04:52:21 -04:00
carl bystrom
be32071da5 Horde: Surface failed remote executions back to the client
[CL 16750973 by carl bystrom in ue5-main branch]
2021-06-22 18:51:06 -04:00