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}
Actions