Project

General

Custom queries

Profile

Actions

Bug #17862

closed

error when importing techniques and running reload-techniques in 6.1

Added by Nicolas CHARLES almost 5 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Web - Config management
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

I unziped a full archive in /var/rudder/configuration-repository/ and executed

# rudder server reload-techniques
error: Could not reload techniques from files
Error: An error occured when updating the Technique library from file system
cause:Accumulated: Error when automatically activating technique 'NTP_configuration'; cause was: Consistancy: Can not add a technique with id 'NTP_configuration' in user library. active technique 'activeTechniqueId=0075285c-8da9-4fc9-be46-3a9bf03f5f29,techniqueCategoryId=ncf_techniques,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuration}' is already defined with such a reference technique.

it does work but this is surprising
webapp logs says
[2020-06-29 12:55:45+0000] INFO  com.normation.rudder.services.policies.TechniqueAcceptationUpdater - Automatically addi
ng technique 'Desactivate_Telnet' in category 'User Techniques (ncf_techniques)' of active techniques library
[2020-06-29 12:55:45+0000] INFO  com.normation.rudder.services.policies.DeployOnTechniqueCallback - Technique library re
loaded from REST API
[2020-06-29 12:55:45+0000] ERROR com.normation.rudder.rest.v1.RestTechniqueReload - An error occured when updating the Technique library from file system <- Accumulated: Error when automatically activating technique 'NTP_configuration'; cause was: Consistancy: Can not add a technique with id 'NTP_configuration' in user library. active technique 'activeTechniqueId=0075285c-8da9-4fc9-be46-3a9bf03f5f29,techniqueCategoryId=ncf_techniques,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuration}' is already defined with such a reference technique.


Related issues 3 (2 open1 closed)

Related to Rudder - Bug #17690: When creating a user technique with restore archive, policy are not correctly regeneratedNewActions
Related to Rudder - Bug #17774: Duplicate category name error when saving a new user techniqueReleasedVincent MEMBRÉActions
Related to Rudder - Bug #20520: Error while importing ncf techniques using the restore from latest commit featureNewActions
#2

Updated by Nicolas CHARLES almost 5 years ago

  • Related to Bug #17690: When creating a user technique with restore archive, policy are not correctly regenerated added
#3

Updated by François ARMAND almost 5 years ago

  • Related to Bug #17774: Duplicate category name error when saving a new user technique added
#6

Updated by François ARMAND over 4 years ago

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Priority changed from 0 to 32
#7

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.1.2 to 6.1.3
#8

Updated by François ARMAND over 4 years ago

  • Target version changed from 6.1.3 to 6.1.4
#9

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.1.4 to 6.1.5
#10

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.1.5 to 6.1.6
  • Priority changed from 32 to 31
#11

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.1.6 to 6.1.7
#12

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.1.7 to 6.1.8
  • Priority changed from 31 to 30
#13

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.1.8 to 6.1.9
#14

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.1.9 to 6.1.10
  • Priority changed from 30 to 29
#15

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.1.10 to 6.1.11
#16

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.1.11 to 6.1.12
#17

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 6.1.12 to 6.1.13
  • Priority changed from 29 to 28
#18

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 6.1.13 to 6.1.14
#19

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
  • Priority changed from 28 to 27
#20

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
#21

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
#22

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
#23

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
#24

Updated by Benoît PECCATTE over 3 years ago

  • Category set to Web - Config management
#25

Updated by François ARMAND about 3 years ago

  • Related to Bug #20520: Error while importing ncf techniques using the restore from latest commit feature added
#26

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.19 to 6.1.20
#27

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.20 to 6.1.21
#28

Updated by Vincent MEMBRÉ almost 3 years ago

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

Updated by François ARMAND over 1 year ago

  • Status changed from New to Rejected
  • Priority changed from 27 to 0
  • Regression set to No
Actions

Also available in: Atom PDF