Project

General

Profile

Actions

Bug #17115

closed

Subscription manager interface facts are accepted without validation

Added by Stephen Benjamin about 8 years ago. Updated over 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

Also available in: Atom PDF