Bug 1767455

Summary: Satellite defaults for "Ignore interfaces with matching identifier" and "Exclude pattern for facts stored in satellite" wrong
Product: Red Hat Satellite Reporter: Andreas Bleischwitz <ableisch>
Component: ProvisioningAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: sganar
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.6.0CC: akjha, ehelms, inecas, sshtein
Target Milestone: 6.10.0Keywords: Patch, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:08: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:
Attachments:
Description Flags
Patch for adjusting default interface list none

Description Andreas Bleischwitz 2019-10-31 13:51:39 UTC
Description of problem:
Current defaults on interface exclusion lists a wrong interface for RHV/oVirt's vdsmdummy interface

Version-Release number of selected component (if applicable):
foreman-1.22.0.32-1.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. See "Exclude pattern for facts stored in satellite" and "Ignore interfaces with matching identifier" on "Administer -> Settings - > Provisionig" tab
2.
3.

Actual results:
Defaults to "_vdsmdummy_", does not list "br-int" of OVS

Expected results:
Has ";vdsmdummy;" and "br-int" listed in the defaults

Additional info:
Current interface output of a RHV-Linux hypervisor with OVS enabled:

# ip l |egrep "vdsmdummy|br-int"
7: br-int: <BROADCAST,MULTICAST> mtu 1442 qdisc noop state DOWN mode DEFAULT group default qlen 1000
40: ;vdsmdummy;: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000

Comment 3 Andreas Bleischwitz 2019-10-31 13:52:36 UTC
Created attachment 1631060 [details]
Patch for adjusting default interface list

Comment 4 Leos Stejskal 2020-05-20 07:07:19 UTC
Created redmine issue https://projects.theforeman.org/issues/29888 from this bug

Comment 5 Bryan Kearney 2020-05-20 12:01:39 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/29888 has been resolved.

Comment 7 sganar 2021-08-24 13:34:23 UTC
Verified.

Tested on Satellite 6.10.0 Snap 14.0

Steps followed: 

1. See "Exclude pattern for facts stored in satellite" and "Ignore interfaces with matching identifier" on "Administer -> Settings - > Provisionig" tab


Observation: 

";vdsmdummy;" and "br-int" are listed in the defaults as expected.

Comment 10 errata-xmlrpc 2021-11-16 14:08: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 (Moderate: Satellite 6.10 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-2021:4702