Actions
Bug #12026
closedWhen a network interface is deleted from a node, it is not removed on the Rudder server
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Small
Priority:
91
Name check:
Fix check:
Regression:
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
Updated by François ARMAND almost 7 years ago
- Related to Bug #11912: VM list in a host doesn't match inventory list added
Updated by Nicolas CHARLES almost 7 years ago
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
Updated by François ARMAND almost 7 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND almost 7 years ago
- 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.
Updated by François ARMAND almost 7 years ago
- 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
Updated by François ARMAND almost 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset ldap-inventory|542e8647258cb6ad06853f6e9016df4f74b2ac0c.
Updated by François ARMAND almost 7 years ago
- Related to Bug #12041: No Machine Inventory in nodes list while the details are complete added
Updated by Vincent MEMBRÉ almost 7 years ago
- 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.
- 4.1.10: Announce Changelog
- 4.2.4: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by François ARMAND over 6 years ago
- Has duplicate Bug #12539: Upgrading from a SP'ed SLES to a GA keeps the Service Pack field added
Actions