Project

General

Profile

Actions

Bug #17115

closed

Subscription manager interface facts are accepted without validation

Added by Stephen Benjamin over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1389063
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

Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Stephen Benjamin
  • Pull request https://github.com/Katello/katello/pull/6412 added
Actions #2

Updated by Stephen Benjamin over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms over 7 years ago

  • Subject changed from Subscription manager interface facts are accepted without validation to Subscription manager interface facts are accepted without validation
  • translation missing: en.field_release set to 197
Actions

Also available in: Atom PDF