Description of problem: Version-Release number of selected component (if applicable): How reproducible: 3/3 Prerequisites : Rhel5.9 with following rpm subscription-manager-migration-1.0.2-1.git.2.2b23e6e.el5 subscription-manager-1.0.2-1.git.2.2b23e6e.el5 subscription-manager-migration-data-1.11.1.1-1.git.2.c7fbafe.el5 subscription-manager-gnome-1.0.2-1.git.2.2b23e6e.el5 subscription-manager-firstboot-1.0.2-1.git.2.2b23e6e.el5 python-rhsm-1.0.1-1.git.1.e4fc11c.el5 Steps to repro : Login to client console and execute following command on console subscription-manager register --serverurl 192.168.122.226:8443/candlepin --org admin subscription-manager register --serverurl http://192.168.122.226:8443/candlepin --org admin Expected Result: command should prompt for user/password Actual Result : [root@localhost ~]# subscription-manager register --serverurl 192.168.122.226:8443/candlepin --org admin 'tuple' object has no attribute 'port' [root@localhost ~]# subscription-manager register --serverurl http://192.168.122.226:8443/candlepin --org admin 'tuple' object has no attribute 'port' rhsm.log output [root@localhost ~]# tail -f /var/log/rhsm/rhsm.log return managercli.CLI().main() File "/usr/share/rhsm/subscription_manager/managercli.py", line 1951, in main return cmd.main() File "/usr/share/rhsm/subscription_manager/managercli.py", line 312, in main (self.server_hostname, File "/usr/share/rhsm/subscription_manager/utils.py", line 74, in parse_server_info DEFAULT_PREFIX) File "/usr/share/rhsm/subscription_manager/utils.py", line 180, in parse_url if result.port is not None: AttributeError: 'tuple' object has no attribute 'port
This issue i got with "http://download.eng.pnq.redhat.com/pub/rhel/nightly/RHEL5.9-Server-20120516.0.n/tree-i386/ " build
getting same erro while gui registration, and registration process failed
4f0d60d138 master 1.0.3+
Verified Using following setup subscription-manager-gui-1.0.3-1.git.30.db0f648.el5 subscription-manager-migration-1.0.3-1.git.30.db0f648.el5 subscription-manager-migration-data-1.11.1.1-1.git.2.c7fbafe.el5 subscription-manager-firstboot-1.0.3-1.git.30.db0f648.el5 subscription-manager-1.0.3-1.git.30.db0f648.el5 Working fine [root@localhost ~]# subscription-manager register --serverurl 10.65.193.186:8443/candlepin --u testuser1 --password password --org admin The system has been registered with id: 0ffb1547-78d2-4766-84bb-1326ab6eaf25 resolving defect 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. http://rhn.redhat.com/errata/RHBA-2013-0033.html