Bug #12026
closed
When a network interface is deleted from a node, it is not removed on the Rudder server
Added by Nicolas CHARLES almost 7 years ago.
Updated over 6 years ago.
Category:
Web - Nodes & inventories
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Description
If network interfaces are removed on a node (like, on a docker server), they don't disappear from the Rudder server - resulting in an ever growing list of network interface in Rudder for every nodes
- Related to Bug #11912: VM list in a host doesn't match inventory list added
A workaround can be to delete all network interfaces with following script, then regenerating an inventory
ldapsearch -o ldif-wrap=no -v -h localhost -p 1389 -x -D "cn=Manager,cn=rudder-configuration" -w secret -b "nodeId=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX,ou=Nodes,ou=Accepted Inventories,ou=Inventories,cn=rudder-configuration" -s one "(objectClass=networkInterfaceLogicalElement)" 1.1 | grep -e "^dn*" | sed -e "s/dn: //" > dn_to_delete.txt
ldapdelete -h localhost -p 1389 -D "cn=manager,cn=rudder-configuration" -w 'secret' -c -f dn_to_delete.txt
- Status changed from New to In progress
- Assignee set to François ARMAND
- Severity set to Critical - prevents main use of Rudder | no workaround | data loss | security
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
- Effort required set to Small
- Priority changed from 0 to 91
So, it happens on any sub-ldap entries of node (i.e mountPoint or networkInterface) or machine (bios, cpu, controllers, etc). So it is critical, because obviously it can impact dyn-group consistancy.
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/ldap-inventory/pull/124
- Status changed from Pending technical review to Pending release
- Related to Bug #12041: No Machine Inventory in nodes list while the details are complete added
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.10 and 4.2.4 which were released today.
- Has duplicate Bug #12539: Upgrading from a SP'ed SLES to a GA keeps the Service Pack field added
Also available in: Atom
PDF