Project

General

Profile

Actions

Bug #7202

closed

Technique Editor and Rudder Techniques Library isn't coherent

Added by Florian Dhomps about 9 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
2
Assignee:
-
Category:
Web - Technique editor
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

Hi,
I have several problems with technical editor.

$ sudo ls /var/rudder/configuration-repository/ncf/50_techniques/
FusionInventory  SSMTP
$ sudo ls /var/rudder/configuration-repository/techniques/ncf_techniques/
category.xml  Enable_Backup_User  Enable_Backup_User_on_Debian_8  FusionInventory  SSMTP  VMWare_Tools

I juste use "FusionInventory" and "SSMTP" techniques.
Others are deleted in Technique Editor but are always present in the Rudder Directives.
And in Rudder directive, I have 2 FusionInventory technique. (look screen "techniques list in rudder directives").

$ dpkg -l |grep rudder
ii  rudder-agent                    3.0.8-jessie0               amd64        Configuration management and audit tool - agent
ii  rudder-inventory-endpoint       3.0.8-jessie0               all          Configuration management and audit tool - service to receive inventory data
ii  rudder-inventory-ldap           3.0.8-jessie0               amd64        Configuration management and audit tool - OpenLDAP
ii  rudder-jetty                    3.0.8-jessie0               all          Configuration management and audit tool - Jetty application server
ii  rudder-plugin-advancedreporting 2.3.0~release-jessie0       all          Configuration management and audit tool - advanced reporting plugin
ii  rudder-reports                  3.0.8-jessie0               all          Configuration management and audit tool - reports database
ii  rudder-server-root              3.0.8-jessie0               all          Configuration management and audit tool - root server base package
ii  rudder-techniques               3.0.8-jessie0               all          Configuration management and audit tool - techniques
ii  rudder-webapp                   3.0.8-jessie0               all          Configuration management and audit tool - webapp

$ dpkg -l |grep ncf
ii  ncf                             0.201508172248-jessie1      all          ncf - CFEngine framework
ii  ncf-api-virtualenv              3.0.8-jessie1               all          ncf - CFEngine framework

Files

rudder_ncf_techniques.jpeg (10.1 KB) rudder_ncf_techniques.jpeg techniques list in rudder directives Florian Dhomps, 2015-09-18 11:05
rudder_library.jpeg (15 KB) rudder_library.jpeg techniques list in rudder library Florian Dhomps, 2015-09-18 11:05
rudder_technique_editor.png (91.7 KB) rudder_technique_editor.png techniques list in rudder technique editor Florian Dhomps, 2015-09-18 11:18

Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #5432: Deleted Technique from technique editor are still present in directive tree viewResolvedActions
Actions #1

Updated by Vincent MEMBRÉ about 9 years ago

  • Priority changed from N/A to 2
  • Target version set to 2.11.14

Rudder techniques are not deleted when you delete them in technique editor.

You have to remove them from:

  • The user technique library (go to techniques pages, click on each you want to delete, scrool down, click on delete button)
  • The git directory with 'git rm -r'
cd /var/rudder/configuration-repository/techniques/ncf_techniques/
git rm -r Enable_Backup_User Enable_Backup_User_on_Debian_8 VMWare_Tools

We should add a default post-delete hook that remove the technique from repoisotry if possible (it may not work if some Directive based on those techniques exists ...)

Actions #2

Updated by Florian Dhomps about 9 years ago

Hi,

I tried on a test platform and it isn't enough.
The technique is still present in the directives.

Just create 'Test' Technique

root@rudder:/var/rudder/configuration-repository/techniques/ncf_techniques# ls ../../ncf/50_techniques/
Test

root@rudder:/var/rudder/configuration-repository/techniques/ncf_techniques# git status                                                                                                                                                                                         
On branch master                                                                                                                                                                                                                                                               
Untracked files:                                                                                                                                                                                                                                                               
  (use "git add <file>..." to include in what will be committed)                                                                                                                                                                                                               

        ../../ncf/ncf.conf                                                                                                                                                                                                                                                     

nothing added to commit but untracked files present (use "git add" to track)                                                                                                                                                                                                   

Remove With NCF

root@rudder:/var/rudder/configuration-repository/techniques/ncf_techniques# git status
On branch master                                                                                                                                                                                                                                                               
Changes not staged for commit:                                                                                                                                                                                                                                                 
  (use "git add/rm <file>..." to update what will be committed)                                                                                                                                                                                                                
  (use "git checkout -- <file>..." to discard changes in working directory)                                                                                                                                                                                                    

        deleted:    ../../ncf/50_techniques/Test/Test.cf                                                                                                                                                                                                                       

Untracked files:                                                                                                                                                                                                                                                               
  (use "git add <file>..." to include in what will be committed)                                                                                                                                                                                                               

        ../../ncf/ncf.conf                                                                                                                                                                                                                                                     

no changes added to commit (use "git add" and/or "git commit -a")                                                                                                                                                                                                              

Remove Rudder Technique

       
root@rudder:/var/rudder/configuration-repository/techniques/ncf_techniques# git rm -r Test
rm 'techniques/ncf_techniques/Test/1.0/expected_reports.csv'
rm 'techniques/ncf_techniques/Test/1.0/metadata.xml'

root@rudder:/var/rudder/configuration-repository/techniques/ncf_techniques# git status
On branch master                                                                                                                                                                                                                                                               
Changes to be committed:                                                                                                                                                                                                                                                       
  (use "git reset HEAD <file>..." to unstage)                                                                                                                                                                                                                                  

        deleted:    Test/1.0/expected_reports.csv                                                                                                                                                                                                                              
        deleted:    Test/1.0/metadata.xml                                                                                                                                                                                                                                      

Changes not staged for commit:                                                                                                                                                                                                                                                 
  (use "git add/rm <file>..." to update what will be committed)                                                                                                                                                                                                                
  (use "git checkout -- <file>..." to discard changes in working directory)                                                                                                                                                                                                    

        deleted:    ../../ncf/50_techniques/Test/Test.cf                                                                                                                                                                                                                       

Untracked files:                                                                                                                                                                                                                                                               
  (use "git add <file>..." to include in what will be committed)                                                                                                                                                                                                               

        ../../ncf/ncf.conf                                                                                                                                                                                                                                                     

The technique is still present in the webapp after reboot server and manual technique update.

I am looking for other files 'Test'.

               
root@rudder:/var/rudder/configuration-repository/techniques/ncf_techniques# locate Test |grep var
/var/rudder/configuration-repository/directives/89636d5d-d552-4b72-b4ba-6655f4e5a6cc/Test
/var/rudder/configuration-repository/directives/89636d5d-d552-4b72-b4ba-6655f4e5a6cc/Test/activeTechniqueSettings.xml
rm -r /var/rudder/configuration-repository/directives/89636d5d-d552-4b72-b4ba-6655f4e5a6cc/Test

WebApp Directives.

  User Techniques
  - The technique with id ''Test'' is missing from repository

Thx

Actions #3

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.14 to 2.11.15
Actions #4

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.15 to 2.11.16
Actions #5

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.16 to 2.11.17
Actions #6

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.17 to 2.11.18
Actions #7

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.18 to 2.11.19
Actions #8

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.19 to 2.11.20
Actions #9

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.20 to 2.11.21
Actions #10

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.21 to 2.11.22
Actions #11

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.22 to 2.11.23
Actions #12

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #13

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.24 to 308
Actions #14

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 308 to 3.1.14
Actions #15

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #16

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #17

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #18

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #19

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.18 to 3.1.19
Actions #20

Updated by Jonathan CLARKE over 7 years ago

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
Actions #21

Updated by Benoît PECCATTE over 7 years ago

  • Priority set to 14
Actions #22

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.19 to 3.1.20
Actions #23

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.20 to 3.1.21
Actions #24

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.21 to 3.1.22
Actions #25

Updated by Benoît PECCATTE over 7 years ago

  • Priority changed from 14 to 27
Actions #26

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.22 to 3.1.23
Actions #27

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.23 to 3.1.24
Actions #28

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.24 to 3.1.25
Actions #29

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 3.1.25 to 387
Actions #30

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 387 to 4.1.10
Actions #31

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.10 to 4.1.11
Actions #32

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.11 to 4.1.12
Actions #33

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.12 to 4.1.13
Actions #34

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.13 to 4.1.14
Actions #35

Updated by Benoît PECCATTE over 6 years ago

  • Target version changed from 4.1.14 to 4.1.15
Actions #36

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.15 to 4.1.16
Actions #37

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.16 to 4.1.17
Actions #38

Updated by François ARMAND about 6 years ago

  • Status changed from New to Rejected
  • Priority changed from 27 to 0

This is in fact a duplicate of #5432

Actions #39

Updated by François ARMAND about 6 years ago

  • Is duplicate of Bug #5432: Deleted Technique from technique editor are still present in directive tree view added
Actions

Also available in: Atom PDF