Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1367128 - [RFE] upload FQDN with facts
[RFE] upload FQDN with facts
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager (Show other bugs)
6.7
x86_64 Linux
high Severity medium
: rc
: 6.9
Assigned To: Kevin Howell
John Sefler
: FutureFeature, Triaged
Depends On: 1367126
Blocks: 1355878
  Show dependency treegraph
 
Reported: 2016-08-15 11:49 EDT by Justin Sherrill
Modified: 2017-03-21 06:55 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1367126
Environment:
Last Closed: 2017-03-21 06:55:31 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
GUI Fqdn fact (296.31 KB, image/png)
2016-11-08 05:42 EST, Shwetha Kallesh
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Bugzilla 1356714 None CLOSED After upgrade, all of my hosts are duplicated one with shortname, one with fqdn 2018-07-17 02:38 EDT
Github candlepin/subscription-manager/pull/1508 None None None 2016-10-11 11:24 EDT
Red Hat Product Errata RHSA-2017:0698 normal SHIPPED_LIVE Moderate: subscription-manager security, bug fix, and enhancement update 2017-03-21 08:39:12 EDT

  None (edit)
Description Justin Sherrill 2016-08-15 11:49:46 EDT
+++ This bug was initially created as a clone of Bug #1367126 +++

Description of problem:

Currently subscription-manager does not upload fqdn with its facts, only equivalent of 'hostname'.  It would be very useful for it to also upload the equivalent of 'hostname -f'

I expect this would be uploaded as something like 'network.fqdn'


Version-Release number of selected component (if applicable):
subscription-manager-1.15.9-15.el7

How reproducible:
always

Steps to Reproduce:
1.  configure your system such that 'hostname' returns the host's shortname, and 'hostname -f' returns the fqdn
2.  Run 'subscription-manager facts --list | grep fqdn'

Actual results:
no fqdn listed


Expected results:
should upload fqdn.

Additional info:
This is extremely important for Satellite 6.2 and we are planning on building in support for this fact.

Some 3rd party software requires 'hostname' be set to the shortname.
Comment 3 Shwetha Kallesh 2016-11-08 05:42 EST
Created attachment 1218480 [details]
GUI Fqdn fact

[root@rhel69-shwetha ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.0.19-1
subscription management rules: 5.20
subscription-manager: 1.18.4-1.el6
python-rhsm: 1.18.4-1.el6

[root@rhel69-shwetha ~]# hostname -f
rhel69-shwetha.usersys.redhat.com


[root@rhel69-shwetha ~]# subscription-manager facts --list | grep 'fqdn'
network.fqdn: rhel69-shwetha.usersys.redhat.com
Comment 6 errata-xmlrpc 2017-03-21 06:55:31 EDT
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://rhn.redhat.com/errata/RHSA-2017-0698.html

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