Project

General

Profile

Actions

Bug #7202

closed

Technique Editor and Rudder Techniques Library isn't coherent

Bug #7202: Technique Editor and Rudder Techniques Library isn't coherent

Added by Florian Dhomps over 10 years ago. Updated over 7 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
rudder_ncf_techniques.jpeg
rudder_library.jpeg
rudder_technique_editor.png

Related issues 1 (0 open1 closed)

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

Updated by Vincent MEMBRÉ over 10 years ago Actions #1

  • 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 ...)

Updated by Florian Dhomps over 10 years ago Actions #2

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

Updated by Vincent MEMBRÉ over 10 years ago Actions #3

  • Target version changed from 2.11.14 to 2.11.15

Updated by Vincent MEMBRÉ over 10 years ago Actions #4

  • Target version changed from 2.11.15 to 2.11.16

Updated by Vincent MEMBRÉ over 10 years ago Actions #5

  • Target version changed from 2.11.16 to 2.11.17

Updated by Vincent MEMBRÉ about 10 years ago Actions #6

  • Target version changed from 2.11.17 to 2.11.18

Updated by Vincent MEMBRÉ about 10 years ago Actions #7

  • Target version changed from 2.11.18 to 2.11.19

Updated by Vincent MEMBRÉ almost 10 years ago Actions #8

  • Target version changed from 2.11.19 to 2.11.20

Updated by Vincent MEMBRÉ almost 10 years ago Actions #9

  • Target version changed from 2.11.20 to 2.11.21

Updated by Vincent MEMBRÉ over 9 years ago Actions #10

  • Target version changed from 2.11.21 to 2.11.22

Updated by Vincent MEMBRÉ over 9 years ago Actions #11

  • Target version changed from 2.11.22 to 2.11.23

Updated by Vincent MEMBRÉ over 9 years ago Actions #12

  • Target version changed from 2.11.23 to 2.11.24

Updated by Vincent MEMBRÉ over 9 years ago Actions #13

  • Target version changed from 2.11.24 to 308

Updated by Vincent MEMBRÉ over 9 years ago Actions #14

  • Target version changed from 308 to 3.1.14

Updated by Vincent MEMBRÉ over 9 years ago Actions #15

  • Target version changed from 3.1.14 to 3.1.15

Updated by Vincent MEMBRÉ over 9 years ago Actions #16

  • Target version changed from 3.1.15 to 3.1.16

Updated by Vincent MEMBRÉ over 9 years ago Actions #17

  • Target version changed from 3.1.16 to 3.1.17

Updated by Vincent MEMBRÉ about 9 years ago Actions #18

  • Target version changed from 3.1.17 to 3.1.18

Updated by Vincent MEMBRÉ about 9 years ago Actions #19

  • Target version changed from 3.1.18 to 3.1.19

Updated by Jonathan CLARKE almost 9 years ago Actions #20

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

Updated by Benoît PECCATTE almost 9 years ago Actions #21

  • Priority set to 14

Updated by Vincent MEMBRÉ almost 9 years ago Actions #22

  • Target version changed from 3.1.19 to 3.1.20

Updated by Vincent MEMBRÉ almost 9 years ago Actions #23

  • Target version changed from 3.1.20 to 3.1.21

Updated by Vincent MEMBRÉ over 8 years ago Actions #24

  • Target version changed from 3.1.21 to 3.1.22

Updated by Benoît PECCATTE over 8 years ago Actions #25

  • Priority changed from 14 to 27

Updated by Vincent MEMBRÉ over 8 years ago Actions #26

  • Target version changed from 3.1.22 to 3.1.23

Updated by Vincent MEMBRÉ over 8 years ago Actions #27

  • Target version changed from 3.1.23 to 3.1.24

Updated by Vincent MEMBRÉ over 8 years ago Actions #28

  • Target version changed from 3.1.24 to 3.1.25

Updated by Vincent MEMBRÉ about 8 years ago Actions #29

  • Target version changed from 3.1.25 to 387

Updated by Vincent MEMBRÉ about 8 years ago Actions #30

  • Target version changed from 387 to 4.1.10

Updated by Vincent MEMBRÉ almost 8 years ago Actions #31

  • Target version changed from 4.1.10 to 4.1.11

Updated by Vincent MEMBRÉ almost 8 years ago Actions #32

  • Target version changed from 4.1.11 to 4.1.12

Updated by Vincent MEMBRÉ almost 8 years ago Actions #33

  • Target version changed from 4.1.12 to 4.1.13

Updated by Vincent MEMBRÉ over 7 years ago Actions #34

  • Target version changed from 4.1.13 to 4.1.14

Updated by Benoît PECCATTE over 7 years ago Actions #35

  • Target version changed from 4.1.14 to 4.1.15

Updated by Vincent MEMBRÉ over 7 years ago Actions #36

  • Target version changed from 4.1.15 to 4.1.16

Updated by Vincent MEMBRÉ over 7 years ago Actions #37

  • Target version changed from 4.1.16 to 4.1.17

Updated by François ARMAND over 7 years ago Actions #38

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

This is in fact a duplicate of #5432

Updated by François ARMAND over 7 years ago Actions #39

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

Also available in: PDF Atom