Skip to content

Full configuration support for modern TrueNAS SCALE devices#3796

Open
neilschelly wants to merge 4 commits intoytti:masterfrom
neilschelly:truenas-model-improvements-3795
Open

Full configuration support for modern TrueNAS SCALE devices#3796
neilschelly wants to merge 4 commits intoytti:masterfrom
neilschelly:truenas-model-improvements-3795

Conversation

@neilschelly
Copy link
Copy Markdown
Contributor

This is an update to the model configuration for TrueNAS devices (in particular for SCALE generation). Fixes #3795.

Pre-Request Checklist

  • Passes rubocop code analysis (try rubocop --auto-correct)
  • Tests added or adapted (try rake test)
  • Changes are reflected in the documentation
  • User-visible changes appended to CHANGELOG.md

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

@robertcheramy
Copy link
Copy Markdown
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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TrueNAS SCALE gaps in configuration and constant updates

3 participants