Project

General

Profile

Actions

Bug #5808

closed

Correctly display technique removed from source library

Added by François ARMAND almost 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Technique that are not found anymore in the git repository must be disabled.

Moreover, the error message is quite unuseful:

No technique available for that active technique

Great, what technique ? What version ? Is it used in directives ?

And finally, if you go to the technique tree, the active technique without matching technique are just not displayed!

What the user is expected to do ?

A workaround if you know what is the ID of the missing technique is:
- to add-back the technique with a version in /var/rudder/configuration-repository/techniques/.../ + git add & git commit
- to go the Rudder page Administration > Techniques
click on [Update Techniques Now]
- the technique name should appear in place of "No technique available for that active technique"
- now, you can remove it from the active techniques tree: click on it, and in the technique details at the bottom of the page, click on [delete]
- and finally, you can remove again the technique files from git and the file system.


Related issues 3 (0 open3 closed)

Related to Rudder - User story #5670: Auto add ncf Technique to Rudder techniquesReleasedFrançois ARMAND2014-11-24Actions
Related to Rudder - Bug #5203: There is no way to remove a Directive based on a Technique that no longer existsReleasedVincent MEMBRÉActions
Related to Rudder - Bug #5829: Deleted Technique from NCF builder are still present in Rudder Technique libraryRejectedActions
Actions #1

Updated by François ARMAND almost 10 years ago

  • Parent task deleted (#5670)
Actions #2

Updated by François ARMAND almost 10 years ago

  • Subject changed from Disable technique removed from source library to Disable and correctly display technique removed from source library
  • Description updated (diff)
Actions #3

Updated by François ARMAND almost 10 years ago

  • Subject changed from Disable and correctly display technique removed from source library to Correctly display technique removed from source library

The "disable" part seems to be a little too much involving for a bug, delaying it to 3.0.

So that bug will at least correctly display missing technique to let them actionnable by the user.

Actions #4

Updated by François ARMAND almost 10 years ago

The chosen solution to limit at most the quantity of modification in stable release is:

- to display the name of the missing technique in the directive tree,
- to disaply the active technique based on missing technique in the Technique library management screen,
- to disable such active techniques in both screen.

That last point is clearly a kind of hack, and we should disable active techniques when the library is updated, but it need a lot more work.

Actions #5

Updated by François ARMAND almost 10 years ago

Actually, I can only disable active technique with missing technique easely in the Technique library management scree.

Actions #6

Updated by François ARMAND almost 10 years 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/664
Actions #7

Updated by François ARMAND almost 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #9

Updated by François ARMAND almost 10 years ago

  • Description updated (diff)
Actions #10

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.8 and 2.11.5, which were released today (16/12/14)

Actions #11

Updated by François ARMAND almost 10 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF