Full configuration support for modern TrueNAS SCALE devices#3796
Open
neilschelly wants to merge 4 commits intoytti:masterfrom
Open
Full configuration support for modern TrueNAS SCALE devices#3796neilschelly wants to merge 4 commits intoytti:masterfrom
neilschelly wants to merge 4 commits intoytti:masterfrom
Conversation
…particular for SCALE generation). Fixes ytti#3795.
Collaborator
|
I think this update will break previous configurations, as the sudoers has to be changed. Could you warn the Users about in in CHANGELOG.md after having resolved the conflict? |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This is an update to the model configuration for TrueNAS devices (in particular for SCALE generation). Fixes #3795.
Pre-Request Checklist
rubocop --auto-correct)rake test)Description
Most of the configuration is stored in a configuration database in sqlite. It used to ignore the storage_replication table because that included "status updates" from the last run of a replication that changed regularly. That same patter was also recently adopted for the configuration of CloudSync tasks, causing them to appear "changed" every time the job ran.
Those tables will now be captured without the status update columns now, so that they are captured without the noise.
Modern TrueNAS SCALE machines also support "Apps" configurations that can manage some docker containers running on the device, and those configurations are not present in the configuration database. They are a filesystem with YAML files describing docker-compose environments instead. Those will now be captured for a more complete configuration snapshot of the device.
Closes issue #3795