-
Notifications
You must be signed in to change notification settings - Fork 83
Add fmd inventory to the database #10345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
smklein
wants to merge
35
commits into
main
Choose a base branch
from
add-fmd-inventory-db
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
322d5b3
Add FMD fault inventory to sled-agent API
smklein ab9399b
Run FMD collection on a blocking thread
smklein 32c5872
Regenerate sled-agent OpenAPI spec
smklein 887f61a
xtask: allowlist libfmd_adm.so.1 for sled-agent binaries
smklein 2c83840
merge
smklein 026bd3f
InventoryResult, less optional
smklein bcb288d
Convert 'FMD unavailable' to a default impl that's empty
smklein 778afd5
Destructuring
smklein 34884ba
review feedback
smklein a659107
Bump fmd-adm rev; use InvisibleResources::Included
smklein 0c26760
fmd: replace match on spawn_blocking JoinError with .expect()
smklein 6d0ec5f
merge
smklein 67ec15a
fmd: import GenericUuid so from_untyped_uuid resolves on illumos
smklein 058314f
merge
smklein 829bd2f
Add CRDB schema + DB model for FMD inventory tables
smklein 00e6347
nexus-types/inventory: add fmd field on SledAgent + builder passthrough
smklein cfb3eea
datastore: write + prune for inv_fmd_* tables
smklein 8e47394
datastore: read path for FMD inventory
smklein 39053f7
Display wrappers + omdb golden output for FMD inventory
smklein 3291762
merge
smklein d44c588
omicron-rpaths: panic on illumos if no DEP_*_LIBDIRS env vars are set
smklein 604a831
Replace FmdInventoryResult with Result<FmdInventory, String>
smklein 115d388
merge
smklein 040b815
Add foreign-key comments to inv_fmd_* tables
smklein f677b4b
sled-agent: use InlineErrorChain for FMD collection errors
smklein 2e3d1e9
merge
smklein e43ae1f
Add typed FmdInventoryError and per-sled FMD bounds
smklein d9d3da3
merge add-fmd-inventory + wire typed error through DB
smklein 25e6cea
Split inv-fmd up01.sql into per-DDL files
smklein 2d63473
merge
smklein cff0320
merge
smklein ef544c4
merge
smklein fa93ec8
review feedback
smklein 2ef12f0
merge
smklein 1e81977
Address eliza review nits: SQL comment, bool padding, snapshot example
smklein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.