Bug #4882
closed
FusionInventory may report duplicated Network interfaces on AIX system, causing Rudder to ignore them
Added by Nicolas CHARLES over 9 years ago.
Updated over 8 years ago.
Category:
Web - Nodes & inventories
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}
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
- Description updated (diff)
- Status changed from New to In progress
- Assignee set to Matthieu CERDA
Adding PR as a patch to our builds
- 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 :)
- Status changed from Pending technical review to Pending release
Applied in changeset packages:commit:72369806273696f22d093d5fed9c66285b8f00bc.
Applied in changeset packages:commit:4062bed3764cb38ce1ac9ef8f9623e6265b164cf.
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.1, which was released today.
Check out:
- Category changed from 26 to Web - Nodes & inventories
Also available in: Atom
PDF