Bug #20710
closed
Creating a technique with a name normalized to generic method id breaks technique editor
Added by Benoît PECCATTE almost 3 years ago.
Updated almost 3 years ago.
Category:
Web - Technique editor
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Description
Create a technique name "User shell", its id is user_shell
Apply it.
Now the technique editor is broken, the generation is broken
To repair it, juste delete the directive
- Subject changed from Creating a technique with the wrong name may break the technique editor to Creating a technique with a name normailzed to generic method id breaks technique editor
- Target version set to 7.0.1
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Getting started - demo | first install | Technique editor and level 1 Techniques
- Priority changed from 0 to 70
So, the problem is when you use a technique name that is normalized to a generic method id, which causes two bundles to have the same name.
The simplest solution is to know the list of forbiden ID for techniques (ie, in addidion to existing techniques names) and to use a workaround - at minima, an error message "change the name" (like today for same technique names), or perhaps something like happending a number of whatever.
We will target that change in 7.0 even if it also exists in previous version since their is a workaround (even if you must be aware of it) and a lot of things changed in the technique editor in that version.
- Subject changed from Creating a technique with a name normailzed to generic method id breaks technique editor to Creating a technique with a name normalized to generic method id breaks technique editor
- Status changed from New to In progress
- Assignee set to Elaad FURREEDAN
- Status changed from In progress to Pending technical review
- Assignee changed from Elaad FURREEDAN to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/4173
- Status changed from Pending technical review to Pending release
- Fix check changed from To do to Checked
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.0.1 which was released today.
- Has duplicate Bug #12869: If we call a technique with same name as a generic method, policy generation fails because of a duplicate bundle name added
Also available in: Atom
PDF