RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1297337 - The new default server url "subscription.rhsm.redhat.com" is not provided after clicking "default" button on gui
Summary: The new default server url "subscription.rhsm.redhat.com" is not provided aft...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.8
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: William Poteat
QA Contact: Rehana
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-11 09:36 UTC by Rehana
Modified: 2016-05-10 20:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-10 20:39:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1278472 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Product Errata RHBA-2016:0797 0 normal SHIPPED_LIVE python-rhsm and subscription-manager bug fix and enhancement update 2017-01-06 16:31:50 UTC

Internal Links: 1278472

Description Rehana 2016-01-11 09:36:37 UTC
Description of problem:
Observed that the new default server url "subscription.rhsm.redhat.com" is not displayed when user clicked on "Default" button on the gui/firstboot followed by a wrong server url entry

Version-Release number of selected component (if applicable):
subscription management server: 0.9.51.11-1
subscription management rules: 5.15
subscription-manager: 1.16.7-1.el6
python-rhsm: 1.16.5-1.el6

How reproducible:
2/2

Steps to Reproduce:
1.launch subscription-manager gui
2.click on register button
3.observed that the default server url "subscription.rhsm.redhat.com" is displayed 
4. now enter a wrong server details , and click on "Default' button 

Actual results:
Observed that the "subscription.rhn.redhat.com" server details was replaced in the url 

Expected results:
Server value should be set to default hostname i.e "subscription.rhsm.redhat.com"

Additional info:

Comment 1 Rehana 2016-01-11 09:38:08 UTC
Additional info:

Same is observed on cli 

# subscription-manager config --remove server.hostname
You have removed the value for section server and name hostname.
The default value for hostname will now be used.
# cat /etc/rhsm/rhsm.conf | grep hostname
# Server hostname:
hostname = subscription.rhn.redhat.com
proxy_hostname =

Comment 2 William Poteat 2016-01-18 19:14:06 UTC
master commit be526f9b501b7621e8ed89844f4c6172ef3273c2

Comment 3 Chris Snyder 2016-01-19 19:31:39 UTC
This BZ will be included in the next build of python-rhsm. Moving to the modified state.

Comment 5 Rehana 2016-01-20 11:13:20 UTC
Retested on ,

subscription management server: 0.9.51.14-1
subscription management rules: 5.15.1
subscription-manager: 1.16.8-1.el6
python-rhsm: 1.16.6-1.el6

test observations 

1) On first boot -->  On clicking "Default' button bad server url was replaced with new correct server url "subscription.rhsm.redhat.com" 

2) Rested the same on subscription-manager-gui , observed that wrong serverurl was replaced by the new server url "subscription.rhsm.redhat.com" 

3) on cli, 

# subscription-manager config --remove server.hostname
You have removed the value for section server and name hostname.
The default value for hostname will now be used.

# cat /etc/rhsm/rhsm.conf | grep hostname
# Server hostname:
hostname = subscription.rhsm.redhat.com
proxy_hostname =

Marking Verified!!

Comment 7 errata-xmlrpc 2016-05-10 20:39:02 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://rhn.redhat.com/errata/RHBA-2016-0797.html


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