Project

General

Profile

Actions

Bug #3669

closed

Rudder ignores IP aliases on network interfaces

Added by Matthieu CERDA over 9 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
3
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Regression:

Description

Rudder seems to ignore IP aliases on network interfaces, and only takes the first occurrence of a given interface in a fusion inventory file.

Example:

    <NETWORKS>
      <DESCRIPTION>eth0</DESCRIPTION>
      <DRIVER>virtio_net</DRIVER>
      <IPADDRESS>192.168.110.50</IPADDRESS>
      <IPMASK>255.255.255.0</IPMASK>
      <IPSUBNET>192.168.110.0</IPSUBNET>
      <MACADDR>52:54:00:56:1e:96</MACADDR>
      <SLAVES></SLAVES>
      <STATUS>Up</STATUS>
    </NETWORKS>
    <NETWORKS>
      <DESCRIPTION>eth0</DESCRIPTION>
      <DRIVER>virtio_net</DRIVER>
      <IPADDRESS>192.168.110.250</IPADDRESS>
      <IPMASK>255.255.255.0</IPMASK>
      <IPSUBNET>192.168.110.0</IPSUBNET>
      <MACADDR>52:54:00:56:1e:96</MACADDR>
      <SLAVES></SLAVES>
      <STATUS>Up</STATUS>
    </NETWORKS>

The report containing this snippet is accepted on a 2.4 Rudder, but only the first IP is used in the interface. It also seems that this is the reason Rudder never displays IPv6 addresses.

Actions #1

Updated by François ARMAND over 9 years ago

  • Status changed from New to 8
Actions #2

Updated by François ARMAND over 9 years ago

  • Status changed from 8 to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/ldap-inventory/pull/21
Actions #3

Updated by François ARMAND over 9 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset ldap-inventory:commit:68a5edb3fc82ceaddc4f552933267e9ff57d9918.

Actions #4

Updated by Nicolas CHARLES over 9 years ago

Applied in changeset ldap-inventory:commit:e010c44fe164987be8bcccc1cec6922da9df6c14.

Actions #5

Updated by Nicolas PERRON over 9 years ago

  • Status changed from Pending release to Released
Actions #6

Updated by Nicolas PERRON over 9 years ago

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

Actions #7

Updated by Benoît PECCATTE almost 8 years ago

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

Also available in: Atom PDF