Project

General

Profile

Actions

Bug #2613

closed

Problem when updating a category name for Technique Management in /var/rudder

Added by Jean VILVER almost 9 years ago. Updated over 1 year ago.

Status:
Released
Priority:
4
Category:
Web - Config management
Target version:
Severity:
Trivial - no functional impact | cosmetic
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Priority:
18

Description

The problem:

If we edit a technique category :

% vim /var/rudder/configuration-repository/techniques/systemSettings/networking/category.xml

And then change the name of that category :

<xml>
  <!-- <name>Networking</name> -->
  <name>Networking new name</name>
  ...
</xml>

Then:

% cd /var/rudder/configuration-repository
% git add .
% git commit -m "Change category name" 

And then if we go on Technique Library Management in the user interface, and press "Reload", the category name hasn't changed.

The workaround:

If we want the "Reload" to work, we need to edit a technique. For example a technique name :

% vim /var/rudder/configuration-repository/techniques/systemSettings/networking/nfsClient/1.0/metadata.xml

And then change the technique's name :

<TECHNIQUE name="NFS Client new name">
<!-- <TECHNIQUE name="NFS Client"> -->
  ...
</TECHNIQUE>

Then:

% cd /var/rudder/configuration-repository
% git add .
% git commit -m "Change technique name" 

Now if we press "Reload", the technique change and the category name change are visible.

A other change must be there (i.e. change technique name) if we want to update a category in the user interface. This behavior has to be fixed.


Subtasks 4 (0 open4 closed)

Bug #15590: Renaming/moving technique category fails in several wayReleasedNicolas CHARLESActions
Bug #15623: Moving a category fails with "missing ldap attribute"ReleasedVincent MEMBRÉActions
Bug #15651: Moving a category from a subcategory to root failsReleasedVincent MEMBRÉActions
Bug #15673: Parent ticket didn't corrected the problem when a category is moved to rootReleasedVincent MEMBRÉActions

Related issues

Related to Rudder - Bug #2188: Reloading the Policy Template Library doesn't always reload everythingRejectedFrançois ARMAND2012-01-23Actions
Related to Rudder - Bug #15575: Avoid duplicating technique category when changing category nameReleasedVincent MEMBRÉActions
Actions #1

Updated by Nicolas PERRON almost 9 years ago

  • Target version changed from 2.4.0~beta1 to 2.4.0~beta2

It's bugfix will be in the next version

Actions #2

Updated by Nicolas PERRON almost 9 years ago

  • Target version changed from 2.4.0~beta2 to 2.4.0~beta3

2.4.0~beta2 has been released. This ticket must be moved to 2.4.0~beta3.

Actions #3

Updated by Jean VILVER almost 9 years ago

  • Description updated (diff)
Actions #4

Updated by Jean VILVER almost 9 years ago

  • Description updated (diff)
Actions #5

Updated by Nicolas PERRON almost 9 years ago

  • Target version changed from 2.4.0~beta3 to 2.4.0~beta4

This is not a blocking issue so I moved it to the next run

Actions #6

Updated by Jonathan CLARKE over 8 years ago

  • Assignee deleted (François ARMAND)
  • Priority changed from N/A to 3

This is indeed not a desirable behaviour. Any ideas on how complicated this is to fix?

Actions #7

Updated by Jonathan CLARKE over 8 years ago

  • Priority changed from 3 to 4
  • Target version changed from 2.4.0~beta4 to 2.4.0~rc1
Actions #8

Updated by Jonathan CLARKE over 8 years ago

  • Assignee set to François ARMAND
Actions #9

Updated by Jonathan CLARKE over 8 years ago

  • Target version changed from 2.4.0~rc1 to 2.4.0~rc2
Actions #10

Updated by Nicolas PERRON over 8 years ago

  • Target version changed from 2.4.0~rc2 to 2.4.0~rc1
Actions #11

Updated by Vincent MEMBRÉ over 8 years ago

I investigated on that bug.

Technique library reloading only take modification on technique file into accounts, not category file.

So for the reloading process when there is only modification on category file, there is no modification so there is no update of the technique library.

A simple solution, would be to update library even if there's no modification, but that would imply a lot of requests.

A better solution, would need a lot of work, and maybe to redefine how we reload the technique library, which may be to important for that beta

Actions #12

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from New to Discussion
Actions #13

Updated by Nicolas PERRON over 8 years ago

  • Target version changed from 2.4.0~rc1 to 2.4.0~rc2
Actions #14

Updated by François ARMAND over 8 years ago

  • Target version changed from 2.4.0~rc2 to 61

Move to 2.4.1 as it is not that a killer bug, but its resolution touch tricky and dangerous part of Rudder.

Actions #15

Updated by François ARMAND over 8 years ago

  • Target version changed from 61 to 2.4.2
Actions #16

Updated by Nicolas PERRON over 8 years ago

  • Target version changed from 2.4.2 to 2.4.3
Actions #17

Updated by Matthieu CERDA over 8 years ago

  • Target version changed from 2.4.3 to 2.4.4
Actions #18

Updated by Nicolas PERRON about 8 years ago

  • Target version changed from 2.4.4 to 2.4.5

François ARMAND wrote:

Move to 2.4.1 as it is not that a killer bug, but its resolution touch tricky and dangerous part of Rudder.

Are there some news about this bug, François ?

Actions #19

Updated by Nicolas PERRON about 8 years ago

  • Target version changed from 2.4.5 to 2.4.6
Actions #20

Updated by Nicolas PERRON almost 8 years ago

  • Target version changed from 2.4.6 to 2.4.7
Actions #21

Updated by Nicolas PERRON almost 8 years ago

  • Target version changed from 2.4.7 to 2.4.8
Actions #22

Updated by Nicolas PERRON over 7 years ago

  • Target version changed from 2.4.8 to 2.4.9
Actions #23

Updated by Nicolas PERRON over 7 years ago

  • Target version changed from 2.4.9 to 2.4.10

Nicolas PERRON wrote:

François ARMAND wrote:

Move to 2.4.1 as it is not that a killer bug, but its resolution touch tricky and dangerous part of Rudder.

Are there some news about this bug, François ?

+1

Actions #24

Updated by Nicolas PERRON over 7 years ago

  • Target version changed from 2.4.10 to 2.4.11
Actions #25

Updated by Nicolas PERRON over 7 years ago

  • Target version changed from 2.4.11 to 2.4.12
Actions #26

Updated by Nicolas PERRON over 7 years ago

  • Target version changed from 2.4.12 to 2.4.13
Actions #27

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 2.4.13 to 2.6.11

Since version 2.4 is not maintained anymore, retageting this issue to 2.6

Actions #28

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 2.6.11 to 2.6.12
Actions #29

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 2.6.12 to 2.6.13
Actions #30

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 2.6.13 to 2.6.14
Actions #31

Updated by Jonathan CLARKE almost 7 years ago

  • Target version changed from 2.6.14 to 2.6.16
Actions #32

Updated by Jonathan CLARKE almost 7 years ago

  • Target version changed from 2.6.16 to 2.6.17
Actions #33

Updated by Nicolas PERRON almost 7 years ago

  • Target version changed from 2.6.17 to 2.6.18
Actions #34

Updated by Matthieu CERDA over 6 years ago

  • Target version changed from 2.6.18 to 2.6.19
Actions #35

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 2.6.19 to 2.6.20
Actions #36

Updated by François ARMAND over 6 years ago

  • Target version changed from 2.6.20 to 2.10.10
Actions #37

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 2.10.10 to 2.10.11
Actions #38

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 2.10.11 to 2.10.12
Actions #39

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 2.10.12 to 2.10.13
Actions #40

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 2.10.13 to 2.10.14
Actions #41

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 2.10.14 to 2.10.15
Actions #42

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 2.10.15 to 2.10.16
Actions #43

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 2.10.16 to 2.10.17
Actions #44

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.10.17 to 2.10.18
Actions #45

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.10.18 to 2.10.19
Actions #46

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.10.19 to 2.10.20
Actions #47

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.10.20 to 2.11.18
Actions #48

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.11.18 to 2.11.19
Actions #49

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 2.11.19 to 2.11.20
Actions #50

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 2.11.20 to 2.11.21
Actions #51

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 2.11.21 to 2.11.22
Actions #52

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 2.11.22 to 2.11.23
Actions #53

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #54

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.11.24 to 308
Actions #55

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 308 to 3.1.14
Actions #56

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #57

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #58

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #59

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #60

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 3.1.18 to 3.1.19
Actions #61

Updated by François ARMAND about 4 years ago

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Infrequent - complex configurations | third party integrations
Actions #62

Updated by François ARMAND about 4 years ago

  • User visibility changed from Infrequent - complex configurations | third party integrations to Operational - other Techniques | Technique editor | Rudder settings
Actions #63

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 3.1.19 to 3.1.20
  • Priority set to 0
Actions #64

Updated by Jonathan CLARKE about 4 years ago

  • Status changed from Discussion to New
Actions #65

Updated by Jonathan CLARKE about 4 years ago

  • Assignee deleted (François ARMAND)
Actions #66

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 3.1.20 to 3.1.21
Actions #67

Updated by François ARMAND almost 4 years ago

  • Severity changed from Minor - inconvenience | misleading | easy workaround to Trivial - no functional impact | cosmetic
  • Priority changed from 0 to 13
Actions #68

Updated by François ARMAND almost 4 years ago

  • User visibility changed from Operational - other Techniques | Technique editor | Rudder settings to Infrequent - complex configurations | third party integrations
  • Priority changed from 13 to 2
Actions #69

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 3.1.21 to 3.1.22
Actions #70

Updated by Benoît PECCATTE almost 4 years ago

  • Priority changed from 2 to 18
Actions #71

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 3.1.22 to 3.1.23
Actions #72

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 3.1.23 to 3.1.24
Actions #73

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 3.1.24 to 3.1.25
Actions #74

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 3.1.25 to 387
Actions #75

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 387 to 4.1.10
Actions #76

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 4.1.10 to 4.1.11
Actions #77

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 4.1.11 to 4.1.12
Actions #78

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 4.1.12 to 4.1.13
Actions #79

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 4.1.13 to 4.1.14
Actions #80

Updated by Benoît PECCATTE almost 3 years ago

  • Target version changed from 4.1.14 to 4.1.15
Actions #81

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 4.1.15 to 4.1.16
Actions #82

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 4.1.16 to 4.1.17
Actions #83

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 4.1.17 to 4.1.18
Actions #84

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 4.1.18 to 4.1.19
Actions #85

Updated by Alexis MOUSSET over 2 years ago

  • Target version changed from 4.1.19 to 4.1.20
Actions #86

Updated by Alexis MOUSSET almost 2 years ago

  • Target version changed from 4.1.20 to 588
Actions #87

Updated by Alexis MOUSSET almost 2 years ago

  • Target version changed from 588 to 5.0.13
Actions #88

Updated by François ARMAND over 1 year ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #89

Updated by François ARMAND over 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/2429
Actions #90

Updated by François ARMAND over 1 year ago

  • Status changed from Pending technical review to Pending release
Actions #91

Updated by François ARMAND over 1 year ago

  • Related to Bug #15575: Avoid duplicating technique category when changing category name added
Actions #95

Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.13 which was released today.

Actions

Also available in: Atom PDF