Bug #5808
closedCorrectly display technique removed from source library
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.
Updated by François ARMAND over 9 years ago
- Subject changed from Disable technique removed from source library to Disable and correctly display technique removed from source library
- Description updated (diff)
Updated by François ARMAND over 9 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.
Updated by François ARMAND over 9 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.
Updated by François ARMAND over 9 years ago
Actually, I can only disable active technique with missing technique easely in the Technique library management scree.
Updated by François ARMAND over 9 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
PR is here: https://github.com/Normation/rudder/pull/664
Updated by François ARMAND over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 4da4dc54ecc2c825d4cba98dfca2553ba5fa68da.
Updated by Nicolas CHARLES over 9 years ago
Applied in changeset 48243d4f0ae4c791535a7063d4752c39f3a3b9d7.
Updated by Vincent MEMBRÉ over 9 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)
- Announcement 2.10 2.11
- Changelog 2.10 2.11
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/