Project

General

Profile

Actions

Enhancement #14488

open

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

Added by Nicolas CHARLES over 5 years ago. Updated about 1 year 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 #1

Updated by Alexander Brunhirl over 5 years ago

Perhaps there should be a note in the documentation/GUI that if you want to perform a full export, all unstaged files should be commited first. For example, when you transfer/clone the entire rudder environment.

Actions #2

Updated by François ARMAND over 5 years ago

  • Translation missing: en.field_tag_list set to Sponsored
  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Priority changed from 0 to 65

I think we should error archive if there is uncomited files in `/var/rudder/configuration-repository/techniques` or `/var/rudder/configuration-repository/ncf`. Other directories are OK.
This seems to be the most safe option, as at least it let the user know that what he wanted to do is not what was going to happen - either he forgot to commit some techniques, or he would have archived a bad state.

Actions #3

Updated by Alexander Brunhirl over 5 years ago

François ARMAND wrote:

I think we should error archive if there is uncomited files in `/var/rudder/configuration-repository/techniques` or `/var/rudder/configuration-repository/ncf`. Other directories are OK.
This seems to be the most safe option, as at least it let the user know that what he wanted to do is not what was going to happen - either he forgot to commit some techniques, or he would have archived a bad state.

That would be great, thanks! :)

Actions #4

Updated by François ARMAND over 5 years ago

  • Assignee set to François ARMAND
Actions #5

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.21 to 4.1.22
Actions #6

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.22 to 4.1.23
  • Priority changed from 65 to 64
Actions #7

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.23 to 4.1.24
Actions #8

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.24 to 588
  • Priority changed from 64 to 62
Actions #9

Updated by Nicolas CHARLES over 5 years ago

  • Target version changed from 588 to 5.0.13
Actions #10

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.13 to 5.0.14
  • Priority changed from 62 to 61
Actions #11

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.14 to 5.0.15
  • Priority changed from 61 to 59
Actions #12

Updated by François ARMAND about 5 years ago

  • Effort required set to Very Small
  • Priority changed from 59 to 84
Actions #13

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 5.0.15 to 5.0.16
  • Priority changed from 84 to 83
Actions #14

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 5.0.16 to 5.0.17
  • Priority changed from 83 to 79
Actions #15

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.17 to 5.0.18
  • Priority changed from 79 to 78
Actions #16

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.18 to 5.0.19
Actions #17

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 5.0.19 to 5.0.20
Actions #18

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 5.0.20 to 797
Actions #19

Updated by Benoît PECCATTE over 3 years ago

  • Target version changed from 797 to 6.1.14
Actions #20

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #21

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #22

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #23

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #24

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #25

Updated by François ARMAND almost 3 years ago

  • Tracker changed from Bug to Enhancement
  • Severity deleted (Minor - inconvenience | misleading | easy workaround)
  • Priority deleted (78)
Actions #26

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.19 to 6.1.20
Actions #27

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.20 to 6.1.21
Actions #29

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.21 to old 6.1 issues to relocate
Actions #30

Updated by Alexis Mousset over 1 year ago

  • Target version changed from old 6.1 issues to relocate to 7.2.5
Actions #31

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.5 to 7.2.6
Actions #32

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.6 to 7.2.7
Actions #33

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.7 to 7.2.8
Actions #34

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.8 to 7.2.9
Actions #35

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.9 to 7.2.10
Actions #36

Updated by Alexis Mousset over 1 year ago

  • Target version changed from 7.2.10 to 7.2.11
Actions #37

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.2.11 to 1046
Actions #38

Updated by Alexis Mousset about 1 year ago

  • Target version changed from 1046 to Ideas (not version specific)
Actions

Also available in: Atom PDF