Bug 612206 - crash in strata plugin
crash in strata plugin
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: report (Show other bugs)
6.0
All Linux
low Severity medium
: rc
: ---
Assigned To: Gavin Romig-Koch
David Kutálek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-07 10:51 EDT by Gavin Romig-Koch
Modified: 2010-11-10 16:29 EST (History)
2 users (show)

See Also:
Fixed In Version: report-0.18-3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-11-10 16:29:43 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gavin Romig-Koch 2010-07-07 10:51:14 EDT
Attempting to submit a report that did not already contain a product and/or version through the strata plugin will result in a unhandled exception:


bash-4.1$ report strata_client/sealert-report.xml 


Where do you want to send this report:
1: ftp
2: bugzilla.redhat.com
3: RHEL-bugzilla.redhat.com
4: strata-test
5: Red Hat Global Support
6: local
7: scp
0: cancel
Choice (0-7): 4


Create new case or Attach report to existing case?
1: Create Case
2: Attach to existing case
0: cancel
Choice (0-2): 1

Login for support-services-devel.gss.redhat.com:8080
Username: rhn-support-twalsh
Password: 
Traceback (most recent call last):
  File "/usr/bin/report", line 160, in <module>
    app = report.report(signature, io, **optsDict)
  File "/usr/lib64/python2.6/site-packages/report/__init__.py", line 493, in report
    retval = choice(signature, io)
  File "/usr/lib64/python2.6/site-packages/report/__init__.py", line 413, in <lambda>
    (lambda module, optionsDict: lambda signature, io : module.report(signature, io, optionsDict))(module, optionsDict)))
  File "/usr/lib64/python2.6/site-packages/report/plugins/strata/__init__.py", line 133, in report
    product = report.release_information.getProduct()
AttributeError: 'function' object has no attribute 'release_information'
bash-4.1$
Comment 1 Gavin Romig-Koch 2010-07-07 10:56:22 EDT
Fixed pushed to fedorahosted src repo.

This fix is very simple and safe.  

https://fedorahosted.org/report/changeset/4661f148d6d52fc737e6d9a4deabced52f07c8fd/
Comment 5 releng-rhel@redhat.com 2010-11-10 16:29:43 EST
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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