Project

General

Profile

Actions

Bug #4882

closed

FusionInventory may report duplicated Network interfaces on AIX system, causing Rudder to ignore them

Bug #4882: FusionInventory may report duplicated Network interfaces on AIX system, causing Rudder to ignore them

Added by Nicolas CHARLES over 11 years ago. Updated almost 11 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
Web - Nodes & inventories
Target version:
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}


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #4883: Network interface sharing the ip adress are ignored by the inventory parserReleasedFrançois ARMANDActions
Has duplicate Rudder - Bug #4724: Some network interfaces from AIX inventory don't appear in RudderRejectedMatthieu CERDAActions

Updated by Nicolas CHARLES over 11 years ago Actions #1

Ok, I guess I understood the issue:
  1. lscfg is done, and get all the ent* adresses, and fill them with en name in the list interfaces
  2. ifconfig -l is made, and pushed to the list interfaces
  3. 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 11 years ago Actions #2

  • Description updated (diff)

Updated by Matthieu CERDA over 11 years ago Actions #4

Updated by Matthieu CERDA over 11 years ago Actions #5

  • 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 11 years ago Actions #6

  • 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 11 years ago Actions #7

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:commit:72369806273696f22d093d5fed9c66285b8f00bc.

Updated by Jonathan CLARKE over 11 years ago Actions #8

Applied in changeset packages:commit:4062bed3764cb38ce1ac9ef8f9623e6265b164cf.

Updated by Vincent MEMBRÉ over 11 years ago Actions #9

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.1, which was released today.
Check out:

Updated by Benoît PECCATTE almost 11 years ago Actions #10

  • Category changed from 26 to Web - Nodes & inventories
Actions

Also available in: PDF Atom