Bug 991405 - Fail to register to SAM with error "undefined local variable or method `attrs' "
Summary: Fail to register to SAM with error "undefined local variable or method `attrs' "
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: candlepin
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Katello Bug Bin
QA Contact: SAM QE List
URL:
Whiteboard:
Depends On:
Blocks: sam13-tracker
TreeView+ depends on / blocked
 
Reported: 2013-08-02 11:25 UTC by qianzhan
Modified: 2013-10-01 11:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-01 11:16:04 UTC
Embargoed:


Attachments (Terms of Use)
'rhsm.log' (14.87 KB, text/plain)
2013-08-02 11:27 UTC, qianzhan
no flags Details
'katello-debug-20130805012931.tar.gz' (97.63 KB, application/x-gzip)
2013-08-05 05:50 UTC, qianzhan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1390 0 normal SHIPPED_LIVE Release 1.3 of Subscription Asset Manager 2013-10-01 14:43:14 UTC

Description qianzhan 2013-08-02 11:25:37 UTC
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'

Comment 1 qianzhan 2013-08-02 11:27:05 UTC
Created attachment 781941 [details]
'rhsm.log'

Comment 2 Tom McKay 2013-08-02 11:39:23 UTC
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.

Comment 3 qianzhan 2013-08-05 05:50:35 UTC
Created attachment 782655 [details]
'katello-debug-20130805012931.tar.gz'

Comment 4 qianzhan 2013-08-05 05:51:23 UTC
(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'.

Comment 5 Tom McKay 2013-08-05 11:55:37 UTC
Fixed in 1.4.3-5

Comment 6 qianzhan 2013-08-08 11:24:04 UTC
(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

Comment 7 qianzhan 2013-08-12 06:15:35 UTC
According to comment 6, mark this bug as 'VERIFIED'.

Comment 9 errata-xmlrpc 2013-10-01 11:16:04 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.

http://rhn.redhat.com/errata/RHEA-2013-1390.html


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