Project

General

Profile

Actions

Enhancement #14488

open

"Archive everything" in Rudder commits everything in /var/rudder/configuration-repository

Added by Nicolas CHARLES about 5 years ago. Updated 7 months ago.

Status:
New
Priority:
N/A
Category:
Web - Maintenance
UX impact:
Suggestion strength:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Name check:
Fix check:
Regression:

Description

When we do an archive of Rudder, it first do a commit of /var/rudder/configuration-repository (even for untracked files)
This is really weird and surprising as:
  • if there are unstaged changes in the Techniques folders, they are commited, and then taken into account in Rudder, so archivin CHANGES the behaviour of Rudder
  • it causes the Archive to not match what the Rudder server was doing at the time of the Archiving (techniques can be widely different)
  • it is simply strange to have commits for that

Not that shared-files should probably be added and commited, as they don't need to be in the git tree to be used by nodes (or maybe we should simply include them in the archive, without commit, but it raises the question of the expected behaviour of "restore from latest commit")


Subtasks 1 (0 open1 closed)

Bug #14607: Document the behaviour of archives everything that commits everyhting in repoReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF