open-nomad/website/content/docs
Tim Gross 903b5baaa4
keyring: safely handle missing keys and restore GC (#15092)
When replication of a single key fails, the replication loop breaks early and
therefore keys that fall later in the sorting order will never get
replicated. This is particularly a problem for clusters impacted by the bug that
caused #14981 and that were later upgraded; the keys that were never replicated
can now never be replicated, and so we need to handle them safely.

Included in the replication fix:
* Refactor the replication loop so that each key replicated in a function call
  that returns an error, to make the workflow more clear and reduce nesting. Log
  the error and continue.
* Improve stability of keyring replication tests. We no longer block leadership
  on initializing the keyring, so there's a race condition in the keyring tests
  where we can test for the existence of the root key before the keyring has
  been initialize. Change this to an "eventually" test.

But these fixes aren't enough to fix #14981 because they'll end up seeing an
error once a second complaining about the missing key, so we also need to fix
keyring GC so the keys can be removed from the state store. Now we'll store the
key ID used to sign a workload identity in the Allocation, and we'll index the
Allocation table on that so we can track whether any live Allocation was signed
with a particular key ID.
2022-11-01 15:00:50 -04:00
..
commands fix: website broken links (#14904) 2022-10-17 11:32:10 -04:00
concepts website: fixes redirected links (#14918) 2022-10-18 10:31:52 -05:00
configuration keyring: safely handle missing keys and restore GC (#15092) 2022-11-01 15:00:50 -04:00
devices feat(website): extract /plugins /tools docs (#11584) 2021-12-09 14:25:18 -05:00
drivers Revert removing deprecated client options docs (#14753) 2022-09-30 08:38:03 -04:00
enterprise fix: website broken links (#14904) 2022-10-17 11:32:10 -04:00
install docs: improved documentation on hardening and required capabilities (#15036) 2022-10-26 09:46:13 -04:00
integrations website: fixes redirected links (#14918) 2022-10-18 10:31:52 -05:00
job-specification website: fixes redirected links (#14918) 2022-10-18 10:31:52 -05:00
nomad-vs-kubernetes Update supplement.mdx with the right GitHub spelling (#13326) 2022-06-10 11:46:19 +02:00
operations website: fixes redirected links (#14918) 2022-10-18 10:31:52 -05:00
other-specifications docs: rename Secure Variables to Variables (#14352) 2022-08-29 11:37:08 -04:00
runtime website: fixes redirected links (#14918) 2022-10-18 10:31:52 -05:00
upgrade website: fix broken links (#14946) 2022-10-19 14:07:48 -04:00
ecosystem.mdx docs: Fixing heading order, adding text for links in /docs/ecosystem (#14549) 2022-09-13 10:59:02 -04:00
faq.mdx website: fixes redirected links (#14918) 2022-10-18 10:31:52 -05:00
index.mdx website: content updates for developer (#14473) 2022-09-16 10:38:39 -05:00
partnerships.mdx website: content updates for developer (#14473) 2022-09-16 10:38:39 -05:00
schedulers.mdx docs: rename Internals to Concepts (#13696) 2022-07-11 16:55:33 -04:00
who-uses-nomad.mdx Lob.com uses Nomad too! (#13295) 2022-06-21 09:10:08 -04:00