Files
nomad/.changelog/23763.txt
Tim Gross bcb0ee3031 identity: prevent missing task identity from panicking server (#23763)
Tasks have a default identity created during canonicalization. If this default
identity is somehow missing, we'll hit panics when trying to create and sign the
claims in the plan applier. Fallback to the default identity if it's missing
from the task.

This changeset will need a different implementation in 1.7.x+ent backports, as
the constructor for identities was refactored significantly in #23708. The panic
cannot occur in 1.6.x+ent.

Fixes: https://github.com/hashicorp/nomad/issues/23758
2024-08-07 15:26:20 -04:00

4 lines
107 B
Plaintext

```release-note:bug
identity: Fixed a bug where a missing default task identity could panic the leader
```