Files
nomad/nomad
Tim Gross 55fe05d353 heartbeat: use leader's ACL token when failing heartbeat (#24241)
In #23838 we updated the `Node.Update` RPC handler we use for heartbeats to be
more strict about requiring node secrets. But when a node goes down, it's the
leader that sends the request to mark the node down via `Node.Update` (to
itself), and this request was missing the leader ACL needed to authenticate to
itself.

Add the leader ACL to the request and update the RPC handler test for
disconnected-clients to use ACLs, which would have detected this bug. Also added
a note to the `Authenticate` comment about how that authentication path requires
the leader ACL.

Fixes: https://github.com/hashicorp/nomad/issues/24231
Ref: https://hashicorp.atlassian.net/browse/NET-11384
2024-10-17 13:48:20 -04:00
..
2023-08-14 08:43:27 -05:00
2024-09-19 13:56:42 -04:00
2024-09-19 13:56:42 -04:00
2024-09-19 13:56:42 -04:00
2024-09-19 13:56:42 -04:00
2024-09-19 13:56:42 -04:00
2024-09-19 13:56:42 -04:00
2024-03-21 11:44:23 -07:00
2024-03-21 11:44:23 -07:00
2023-10-12 12:21:48 -04:00
2024-03-11 08:52:08 +00:00