Bug #4149
closedExporting groups with same name but in different categories to another server Rudder is not working
Description
In the Node Management/Groups screen, if several Sub-categories have the same name, it will lead to an error when the Rudder Server configuration will be exported to another one.
For example:
Debian |--Servers | -- Group A containing debian01.local.lan --Clients -- Group B containing debian11.local.lan SLES |--Servers | -- Group C containing sles01.local.lan --Clients -- Group D containing sles11.local.lan
After an export, on the other Rudder Server, the Groups C and D will not be present, any Rule depending on these Groups will display an Error and a message error will be in the /var/log/webapp/xxxxx.log:
[...]Ignoring Active Categor with ID 'yyyyyyyyyyyyy' because its name is 'Servers' already referenced by category with ID 'xxxxxxxxxx'[...]
A workaround is to create another SubCategories, move the groups to them and then reexport.
Updated by Nicolas PERRON about 11 years ago
In the first Rudder server the logs /var/log/rudder/weabapp/xxxx.log contains:
[...] Auto-archive git failure when moving directory (not found in added file): 'groups/xxxxxxxx/xxxxxxxx'. You can safelly ignore that warning if the files was already existing in Git and was not modified by that archive. [...]
Updated by Jonathan CLARKE almost 11 years ago
- Assignee set to François ARMAND
Francois, can you please investigate and work on this bug? It seems pretty impacting.
Updated by François ARMAND almost 11 years ago
- Category set to Web - Config management
- Status changed from New to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Priority changed from N/A to 2
- Target version set to 2.6.10
- Pull Request set to https://github.com/Normation/rudder/pull/414
Updated by François ARMAND almost 11 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 75bf275e3f6cf6b13625330694d6c080bfd786bf.
Updated by Nicolas CHARLES almost 11 years ago
Applied in changeset 24716053d225090cf411d9b599621774dfaef84e.
Updated by Vincent MEMBRÉ almost 11 years ago
- Subject changed from Node Management/Groups screen: The use of sub-categories with the same names will lead to have error when exporting the configuration to another Rudder server to Exporting 2 groups with same name but in different categories to another server Rudder is not working
Updated by Vincent MEMBRÉ almost 11 years ago
- Subject changed from Exporting 2 groups with same name but in different categories to another server Rudder is not working to Exporting groups with same name but in different categories to another server Rudder is not working
Updated by Vincent MEMBRÉ almost 11 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.6.10 which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-January/000070.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog26
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/