Description of problem: Fail to register to SAM with error "undefined local variable or method `attrs' " Version-Release number of selected component (if applicable): katello-candlepin-cert-key-pair-1.0-1.noarch katello-certs-tools-1.4.2-2.el6sat.noarch katello-cli-1.4.3-3.el6sat.noarch katello-cli-common-1.4.3-3.el6sat.noarch katello-common-1.4.3-4.el6sam_splice.noarch katello-configure-1.4.4-2.el6sat.noarch katello-glue-candlepin-1.4.3-4.el6sam_splice.noarch katello-glue-elasticsearch-1.4.3-4.el6sam_splice.noarch katello-headpin-1.4.3-4.el6sam_splice.noarch katello-headpin-all-1.4.3-4.el6sam_splice.noarch katello-selinux-1.4.4-2.el6sat.noarch signo-katello-0.0.10-2.el6sat.noarch candlepin-0.8.19-1.el6sam.noarch candlepin-scl-1-5.el6_4.noarch candlepin-scl-quartz-2.1.5-5.el6_4.noarch candlepin-scl-rhino-1.7R3-1.el6_4.noarch candlepin-scl-runtime-1-5.el6_4.noarch candlepin-selinux-0.8.19-1.el6sam.noarch candlepin-tomcat6-0.8.19-1.el6sam.noarch thumbslug-0.0.32-1.el6sam.noarch thumbslug-selinux-0.0.32-1.el6sam.noarch subscription-manager-1.8.15-1.el5 subscription-manager-firstboot-1.8.15-1.el5 subscription-manager-gui-1.8.15-1.el5 How reproducible: Always Steps to Reproduce: 1.Prepare to register to SAM [root@dhcp-65-112 ~]# cat /etc/rhsm/rhsm.conf hostname = samserv.redhat.com baseurl= https://samserv.redhat.com:8088 [root@dhcp-65-112 ~]# rpm -ivh http://10.66.13.158/pub/candlepin-cert-consumer-samserv.redhat.com-1.0-1.noarch.rpm Retrieving http://10.66.13.158/pub/candlepin-cert-consumer-samserv.redhat.com-1.0-1.noarch.rpm Preparing... ########################################### [100%] 1:candlepin-cert-consumer########################################### [100%] 2.Register to SAM [root@dhcp-65-112 ~]# subscription-manager register Username: admin Password: undefined local variable or method `attrs' for #<System:0x000000088004a0> Actual results: Fail to register to SAM with error "undefined local variable or method `attrs' for #<System:0x000000088004a0>" Expected results: Register to SAM successfully. Additional info: The rhsm.log file is attached as 'rhsm.log'
Created attachment 781941 [details] 'rhsm.log'
If possible, please attach the katello-debug output run on the SAM server. This will contain all the necessary logs to help determine the cause.
Created attachment 782655 [details] 'katello-debug-20130805012931.tar.gz'
(In reply to Tom McKay from comment #2) > If possible, please attach the katello-debug output run on the SAM server. > This will contain all the necessary logs to help determine the cause. Please see attachment 'katello-debug-20130805012931.tar.gz'.
Fixed in 1.4.3-5
(In reply to Tom McKay from comment #5) > Fixed in 1.4.3-5 Hi Tom, I have verified this bug against SAM-1.3.0-RHEL-6-20130808.0, and the registration is all right. Please move the status to 'ON_QA' if you think it is really fixed. The following are packages included in SAM-1.3.0-RHEL-6-20130808.0: katello-candlepin-cert-key-pair-1.0-1.noarch katello-certs-tools-1.4.2-2.el6sat.noarch katello-cli-1.4.3-5.el6sat.noarch katello-cli-common-1.4.3-5.el6sat.noarch katello-common-1.4.3-6.el6sam_splice.noarch katello-configure-1.4.4-2.el6sat.noarch katello-glue-candlepin-1.4.3-6.el6sam_splice.noarch katello-glue-elasticsearch-1.4.3-6.el6sam_splice.noarch katello-headpin-1.4.3-6.el6sam_splice.noarch katello-headpin-all-1.4.3-6.el6sam_splice.noarch katello-selinux-1.4.4-2.el6sat.noarch signo-katello-0.0.10-2.el6sat.noarch candlepin-0.8.19-1.el6sam.noarch candlepin-scl-1-5.el6_4.noarch candlepin-scl-quartz-2.1.5-5.el6_4.noarch candlepin-scl-rhino-1.7R3-1.el6_4.noarch candlepin-scl-runtime-1-5.el6_4.noarch candlepin-selinux-0.8.19-1.el6sam.noarch candlepin-tomcat6-0.8.19-1.el6sam.noarch thumbslug-0.0.32-1.el6sam.noarch thumbslug-selinux-0.0.32-1.el6sam.noarch Thanks. Qianqian
According to comment 6, mark this 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. http://rhn.redhat.com/errata/RHEA-2013-1390.html