Bug 2111469

Summary: Single host contains too many NICs
Product: Red Hat Satellite Reporter: Shimon Shtein <sshtein>
Component: RH Cloud - InventoryAssignee: Shimon Shtein <sshtein>
Status: CLOSED ERRATA QA Contact: addubey
Severity: medium Docs Contact:
Priority: medium    
Version: 6.10.0CC: ahumbe, aruzicka, kgaikwad, zhunting
Target Milestone: 6.12.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-3.3.0.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-16 13:34:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shimon Shtein 2022-07-27 11:10:12 UTC
Description of problem:

We have found hosts that contain a lot (thousands) of NICs on a single host.
From looking at the data, the nics were in form of:
{'ipv4_addresses': ['1.2.3.4'], 'ipv6_addresses': [], 'mtu': 1500, 'mac_address': '10:10:10:10:10:10', 'name': 'caliXXXXXXXXXXX'}

Those interfaces are created a lot with a random name and since Satellite accumulates all NIC crecords, the host record becomes bloated.
Apparently they are created by calico project (https://projectcalico.docs.tigera.io/reference/architecture/overview) and hence can be ignored.

How reproducible:
Always as long as you have calico generating them.

Steps to Reproduce:
1.Report about a host to Satellite server using either subscription-manager or puppet
2.Make sure the host generates a new interface each time
3.

Actual results:

A host record will contain too many nic records.

Expected results:

no cali* interfaces in the host record


Additional info:

Comment 6 errata-xmlrpc 2022-11-16 13:34:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.12 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:8506