Hide Forgot
1. Proposed title of this feature request Subscription manager display the hostname it is registering as part of its output 2. Who is the customer behind the request? Account name : Nasa - Msfc Account # : 1086728 TAM customer: No SRM customer: No Strategic: Yes 3. What is the nature and description of the request? Currently subscription manager will register a host with an overrid'ed hostname contained in the /etc/rhsm/facts/katello.facts without the users knowledge. The customer is requesting that the Subscription Manager display the hostname it is registering as part of its output. 4. Why does the customer need this? (List the business requirements here) It becomes easy to manage the systems. 5. Is there already an existing RFE upstream or in Red Hat Bugzilla? No 6. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)? There is no emergency as such. It should be available in all versions. 9. Is the sales team involved in this request and do they have any additional input? The Sales Team is not involved. 10. List any affected packages or components. subscription-manager, subscription-manager-gui 11. Would the customer be able to assist in testing this functionality if implemented? Yes
Moving to RHEL since that's where subscription-manager packages are released.
Hello, It would be great if you could share the status of this bug. Thanks! Regards, Prathamesh
Verifying on RHEL75 with following build: ======================================= subscription-manager-rhsm-certificates-1.20.5-1.el7.x86_64 subscription-manager-gui-1.20.5-1.el7.x86_64 subscription-manager-rhsm-1.20.5-1.el7.x86_64 subscription-manager-1.20.5-1.el7.x86_64 subscription-manager-initial-setup-addon-1.20.5-1.el7.x86_64 subscription-manager-plugin-container-1.20.5-1.el7.x86_64 1) Verifying the system's hostname is used to report "The registered system name" [root@dhcp35-157 ~]# hostname --fqdn dhcp35-157.lab.eng.blr.redhat.com [root@dhcp35-157 ~]# subscription-manager register Registering to: F21-candlepin.usersys.redhat.com:8443/candlepin Username: admin Password: Organization: admin The system has been registered with ID: 5cec7b0d-ba5d-4b9e-9cf9-4e9924f2a6f2 The registered system name is: dhcp35-157.lab.eng.blr.redhat.com ^^ observed that hostname matches "the registered system name " 2) Verifying that even with overrid'ed hostname facts value, subscription-manager register continues to use the system hostname [root@dhcp35-157 ~]# cat /etc/rhsm/facts/hostname.facts {"network.hostname":"testing-an-overridden-hostname-fact.redhat.com"} [root@dhcp35-157 ~]# subscription-manager facts --list | grep hostname network.hostname: testing-an-overridden-hostname-fact.redhat.com [root@dhcp35-157 ~]# hostname dhcp35-157.lab.eng.blr.redhat.com [root@dhcp35-157 ~]# subscription-manager register --username=admin --password=admin --org=admin Registering to: F21-candlepin.usersys.redhat.com:8443/candlepin The system has been registered with ID: 5966712c-c04d-4df0-8a66-59825d0d502f The registered system name is: dhcp35-157.lab.eng.blr.redhat.com ^^ observed that hostname continues to match "the registered system name " 3)Verify that when "--name" value given during registration , the provided name will be written to the terminal instead of hostname [root@dhcp35-157 ~]# subscription-manager register --username=admin --password=admin --org=admin --name=Verify1463325 Registering to: F21-candlepin.usersys.redhat.com:8443/candlepin The system has been registered with ID: 170f57d9-855c-4d78-bd00-f683bc8f6e7c The registered system name is: Verify1463325 --> matches the value provided in the register command [root@dhcp35-157 ~]# hostname dhcp35-157.lab.eng.blr.redhat.com Based on the above observations , marking the bug as "Verified"
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/RHBA-2018:0681