Actions
Bug #4882
closedFusionInventory may report duplicated Network interfaces on AIX system, causing Rudder to ignore them
Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
We may have duplicate Network entries in the Inventory:
<NETWORKS> <DESCRIPTION>en1</DESCRIPTION> <IPADDRESS>126.126.112.93</IPADDRESS> <IPDHCP>No</IPDHCP> <IPMASK>255.255.255.0</IPMASK> <IPSUBNET>126.246.112.0</IPSUBNET> <MACADDR>A6:85:84:CF:CA:2C</MACADDR> <STATUS>up</STATUS> <TYPE>ethernet</TYPE> </NETWORKS> <NETWORKS> <DESCRIPTION>en1</DESCRIPTION> <IPADDRESS>126.126.112.93</IPADDRESS> <IPDHCP>No</IPDHCP> <IPMASK>255.255.255.0</IPMASK> <IPSUBNET>126.246.112.0</IPSUBNET> <STATUS>up</STATUS> </NETWORKS>
From what I gather, first one is returned by command
lscfg -v -l en*
second by:
ifconfig -l lsattr -E -l $interface->{DESCRIPTION}
Updated by Nicolas CHARLES over 10 years ago
Ok, I guess I understood the issue:
- lscfg is done, and get all the ent* adresses, and fill them with en name in the list interfaces
- ifconfig -l is made, and pushed to the list interfaces
- then this list is enhanced with extra data
So, if ent1 is the physical name of en1, we have twice en1 in the list
Updated by Nicolas CHARLES over 10 years ago
Link on the Fusion forge:
http://forge.fusioninventory.org/issues/2527
Updated by Matthieu CERDA over 10 years ago
PR added to fusion ticket https://github.com/fusinv/fusioninventory-agent/pull/18
Updated by Matthieu CERDA over 10 years ago
- Status changed from New to In progress
- Assignee set to Matthieu CERDA
Adding PR as a patch to our builds
Updated by Matthieu CERDA over 10 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Matthieu CERDA to Jonathan CLARKE
- % Done changed from 0 to 100
- Pull Request set to https://github.com/Normation/rudder-packages/pull/325
PR is ready for rudder-agent :)
Updated by Matthieu CERDA over 10 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset packages:commit:72369806273696f22d093d5fed9c66285b8f00bc.
Updated by Jonathan CLARKE over 10 years ago
Applied in changeset packages:commit:4062bed3764cb38ce1ac9ef8f9623e6265b164cf.
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.1, which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-June/000087.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog27
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Benoît PECCATTE over 9 years ago
- Category changed from 26 to Web - Nodes & inventories
Actions