Bug 612206 - crash in strata plugin
Summary: crash in strata plugin
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: report   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Gavin Romig-Koch
QA Contact: David Kutálek
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-07 14:51 UTC by Gavin Romig-Koch
Modified: 2010-11-10 21:29 UTC (History)
2 users (show)

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

Attachments (Terms of Use)

Description Gavin Romig-Koch 2010-07-07 14:51:14 UTC
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
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'

Comment 1 Gavin Romig-Koch 2010-07-07 14:56:22 UTC
Fixed pushed to fedorahosted src repo.

This fix is very simple and safe.  


Comment 5 releng-rhel@redhat.com 2010-11-10 21:29:43 UTC
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.