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 1251610 - format error in message "Registering to: subscription.rhn.redhat.com/subscription:443"
Summary: format error in message "Registering to: subscription.rhn.redhat.com/subscrip...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: William Poteat
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-07 21:54 UTC by John Sefler
Modified: 2015-11-19 11:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 11:50:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2122 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2015-11-19 10:31:14 UTC

Description John Sefler 2015-08-07 21:54:01 UTC
Description of problem:
The port and the prefix within the "Registering to:" feedback are reversed.

I suspect an error in subscription-manager commit 968e6a407054c96291a4e64166c4840529772fff


Version-Release number of selected component (if applicable):
[root@jsefler-os7 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.51.4-1
subscription management rules: 5.15
subscription-manager: 1.15.9-3.el7
python-rhsm: 1.15.4-2.el7


How reproducible:


Steps to Reproduce:
[root@jsefler-os7 ~]# subscription-manager register --serverurl=subscription.rhn.redhat.com:443/subscription
Registering to: subscription.rhn.redhat.com/subscription:443
Username: qa
Password: 
The system has been registered with ID: 35e59c3e-8964-4788-8076-608d21530443 
[root@jsefler-os7 ~]# 


Actual results:
Registering to: subscription.rhn.redhat.com/subscription:443


Expected results:
Registering to: subscription.rhn.redhat.com:443/subscription


Additional info:

Comment 1 Adrian Likins 2015-08-14 16:05:55 UTC
fixed in master
commit 3f05b9c79280bb0137daa933c26866f5735b31a7
Author: William Poteat <wpoteat>
Date:   Wed Aug 12 08:23:42 2015 -0400

    1251610: Port and prefix were reversed in connection URL statement

Comment 3 Shwetha Kallesh 2015-08-17 06:53:26 UTC
Marking verified!!

[root@dhcp35-236 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.26.11-1
subscription management rules: 5.15
subscription-manager: 1.15.9-6.el7
python-rhsm: 1.15.4-3.el7


[root@dhcp35-236 ~]# subscription-manager register --serverurl=subscription.rhn.redhat.com:443/subscription --force
Registering to: subscription.rhn.redhat.com:443/subscription
Username: qa
Password: 
The system has been registered with ID: 45d1691a-0433-477a-8097-27d56218efba

Comment 4 errata-xmlrpc 2015-11-19 11:50:35 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-2015-2122.html


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