Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1389063 - Subscription manager interface facts are accepted without validation
Summary: Subscription manager interface facts are accepted without validation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Stephen Benjamin
QA Contact: Justin Sherrill
URL:
Whiteboard:
: 1384970 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-26 18:25 UTC by Stephen Benjamin
Modified: 2021-06-10 11:37 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 17:06:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 17115 0 Normal Closed Subscription manager interface facts are accepted without validation 2020-10-22 03:22:25 UTC
Red Hat Knowledge Base (Solution) 2706701 0 None None None 2019-12-16 07:06:37 UTC
Red Hat Knowledge Base (Solution) 2728591 0 None None None 2016-10-26 21:19:52 UTC

Description Stephen Benjamin 2016-10-26 18:25:05 UTC
Description of problem:
Subscription manager sends values like "Unknown" as an ip address value on RHEL 5, and these values are directly set as the host's interface's IP.  As fact uploaded hosts are saved without validation, these cause errors later for things like remote execution which expects to find valid IP's in the interfaces.

How reproducible:
Always

Steps to Reproduce:
1. Have an interface on an el5 box w/out an IP
2. subscription-manager facts | grep ip shows 'Unknown' for that interface
3. Register with subscription manager

Actual results:
Host interface has 'Unknown' as IP

Expected results:
Host interface has no IP

Comment 1 Stephen Benjamin 2016-10-26 19:19:51 UTC
Created redmine issue http://projects.theforeman.org/issues/17115 from this bug

Comment 2 Bryan Kearney 2016-10-26 20:20:54 UTC
Upstream bug assigned to stbenjam

Comment 3 Bryan Kearney 2016-10-26 20:20:56 UTC
Upstream bug component is Content Management

Comment 4 Bryan Kearney 2016-10-26 20:20:58 UTC
Upstream bug assigned to stbenjam

Comment 6 Marcelo Moreira de Mello 2016-10-26 21:19:52 UTC
Added KCS https://access.redhat.com/solutions/2728591

Comment 8 Bryan Kearney 2016-10-28 20:20:27 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17115 has been resolved.

Comment 11 Taft Sanders 2016-12-21 13:11:21 UTC
*** Bug 1384970 has been marked as a duplicate of this bug. ***

Comment 12 Justin Sherrill 2017-09-06 17:35:57 UTC
Verified on 6.3.0 snap 14.0

Registered a host with a custom fact setting the ip address of "Unknown".  Host was created with an interface without an ip address as expected.

Comment 13 Bryan Kearney 2018-02-21 17:06:26 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, 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-2018:0336


Note You need to log in before you can comment on or make changes to this bug.