Project

General

Profile

Bug #2613

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

Added by Jean VILVER over 7 years ago. Updated 2 months 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

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 everythingRejected2012-01-23Actions
Related to Rudder - Bug #15575: Avoid duplicating technique category when changing category nameReleasedActions

Associated revisions

Revision f043afb3 (diff)
Added by François ARMAND 3 months ago

Fixes #2613: Problem when updating a category name for Technique Management in /var/rudder

History

#1

Updated by Nicolas PERRON over 7 years ago

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

It's bugfix will be in the next version

#2

Updated by Nicolas PERRON over 7 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.

#3

Updated by Jean VILVER over 7 years ago

  • Description updated (diff)
#4

Updated by Jean VILVER over 7 years ago

  • Description updated (diff)
#5

Updated by Nicolas PERRON over 7 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

#6

Updated by Jonathan CLARKE about 7 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?

#7

Updated by Jonathan CLARKE about 7 years ago

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

Updated by Jonathan CLARKE about 7 years ago

  • Assignee set to François ARMAND
#9

Updated by Jonathan CLARKE about 7 years ago

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

Updated by Nicolas PERRON about 7 years ago

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

Updated by Vincent MEMBRÉ about 7 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

#12

Updated by Vincent MEMBRÉ about 7 years ago

  • Status changed from New to Discussion
#13

Updated by Nicolas PERRON about 7 years ago

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

Updated by François ARMAND almost 7 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.

#15

Updated by François ARMAND almost 7 years ago

  • Target version changed from 61 to 2.4.2
#16

Updated by Nicolas PERRON almost 7 years ago

  • Target version changed from 2.4.2 to 2.4.3
#17

Updated by Matthieu CERDA almost 7 years ago

  • Target version changed from 2.4.3 to 2.4.4
#18

Updated by Nicolas PERRON over 6 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 ?

#19

Updated by Nicolas PERRON over 6 years ago

  • Target version changed from 2.4.5 to 2.4.6
#20

Updated by Nicolas PERRON over 6 years ago

  • Target version changed from 2.4.6 to 2.4.7
#21

Updated by Nicolas PERRON over 6 years ago

  • Target version changed from 2.4.7 to 2.4.8
#22

Updated by Nicolas PERRON about 6 years ago

  • Target version changed from 2.4.8 to 2.4.9
#23

Updated by Nicolas PERRON about 6 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

#24

Updated by Nicolas PERRON about 6 years ago

  • Target version changed from 2.4.10 to 2.4.11
#25

Updated by Nicolas PERRON about 6 years ago

  • Target version changed from 2.4.11 to 2.4.12
#26

Updated by Nicolas PERRON about 6 years ago

  • Target version changed from 2.4.12 to 2.4.13
#27

Updated by Vincent MEMBRÉ almost 6 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

#28

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.6.11 to 2.6.12
#29

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.6.12 to 2.6.13
#30

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.6.13 to 2.6.14
#31

Updated by Jonathan CLARKE over 5 years ago

  • Target version changed from 2.6.14 to 2.6.16
#32

Updated by Jonathan CLARKE over 5 years ago

  • Target version changed from 2.6.16 to 2.6.17
#33

Updated by Nicolas PERRON over 5 years ago

  • Target version changed from 2.6.17 to 2.6.18
#34

Updated by Matthieu CERDA about 5 years ago

  • Target version changed from 2.6.18 to 2.6.19
#35

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 2.6.19 to 2.6.20
#36

Updated by François ARMAND almost 5 years ago

  • Target version changed from 2.6.20 to 2.10.10
#37

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 2.10.10 to 2.10.11
#38

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.11 to 2.10.12
#39

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.12 to 2.10.13
#40

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.13 to 2.10.14
#41

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.14 to 2.10.15
#42

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.15 to 2.10.16
#43

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.16 to 2.10.17
#44

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 2.10.17 to 2.10.18
#45

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 2.10.18 to 2.10.19
#46

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 2.10.19 to 2.10.20
#47

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 2.10.20 to 2.11.18
#48

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 2.11.18 to 2.11.19
#49

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.11.19 to 2.11.20
#50

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.11.20 to 2.11.21
#51

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.11.21 to 2.11.22
#52

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.11.22 to 2.11.23
#53

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.11.23 to 2.11.24
#54

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 2.11.24 to 308
#55

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 308 to 3.1.14
#56

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 3.1.14 to 3.1.15
#57

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 3.1.15 to 3.1.16
#58

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 3.1.16 to 3.1.17
#59

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 3.1.17 to 3.1.18
#60

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 3.1.18 to 3.1.19
#61

Updated by François ARMAND over 2 years ago

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

Updated by François ARMAND over 2 years ago

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

Updated by Vincent MEMBRÉ over 2 years ago

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

Updated by Jonathan CLARKE over 2 years ago

  • Status changed from Discussion to New
#65

Updated by Jonathan CLARKE over 2 years ago

  • Assignee deleted (François ARMAND)
#66

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 3.1.20 to 3.1.21
#67

Updated by François ARMAND over 2 years ago

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

Updated by François ARMAND over 2 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
#69

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 3.1.21 to 3.1.22
#70

Updated by Benoît PECCATTE over 2 years ago

  • Priority changed from 2 to 18
#71

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 3.1.22 to 3.1.23
#72

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 3.1.23 to 3.1.24
#73

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 3.1.24 to 3.1.25
#74

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 3.1.25 to 387
#75

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 387 to 4.1.10
#76

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 4.1.10 to 4.1.11
#77

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.1.11 to 4.1.12
#78

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.1.12 to 4.1.13
#79

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.1.13 to 4.1.14
#80

Updated by Benoît PECCATTE over 1 year ago

  • Target version changed from 4.1.14 to 4.1.15
#81

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 4.1.15 to 4.1.16
#82

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 4.1.16 to 4.1.17
#83

Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 4.1.17 to 4.1.18
#84

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 4.1.18 to 4.1.19
#85

Updated by Alexis MOUSSET 10 months ago

  • Target version changed from 4.1.19 to 4.1.20
#86

Updated by Alexis MOUSSET 5 months ago

  • Target version changed from 4.1.20 to 4.1.25
#87

Updated by Alexis MOUSSET 5 months ago

  • Target version changed from 4.1.25 to 5.0.13
#88

Updated by François ARMAND 3 months ago

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

Updated by François ARMAND 3 months 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
#90

Updated by François ARMAND 3 months ago

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

Updated by François ARMAND 3 months ago

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

Updated by Vincent MEMBRÉ 2 months ago

  • Status changed from Pending release to Released

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

Also available in: Atom PDF