Closed Bug 615298 Opened 14 years ago Closed 14 years ago

mware needs crashStorageClass defined in commonconfig.py.dist

Categories

(Socorro :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Assigned: rhelmer)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

We need this defined somewhere, in order to override it using environment variables in /etc/socorro/common.conf

On staging, the attached has been added to commonconfig.py manually. Not sure if CrashStorageSystemForHBase is a good default or not though.
Attachment #493752 - Flags: review?(lars)
Blocks: 605185
Comment on attachment 493752 [details] [diff] [review]
set a default for crashStorageClass

the problem is actually just the opposite.  'crashStorageClass' is a deprecated config parameter.  Anything that is depending on it need to be fixed.  Which app was complaining that it needed it?
Attachment #493752 - Flags: review?(lars) → review-
(In reply to comment #1)
> Comment on attachment 493752 [details] [diff] [review]
> set a default for crashStorageClass
> 
> the problem is actually just the opposite.  'crashStorageClass' is a deprecated
> config parameter.  Anything that is depending on it need to be fixed.  Which
> app was complaining that it needed it?

mware ( scripts/webservices.py ), running via WSGI:

mod_wsgi (pid=3551): Target WSGI script '/data/socorro/application/scripts/webservices.py' cannot be loaded as Python module.
mod_wsgi (pid=3551): Exception occurred processing WSGI script '/data/socorro/application/scripts/webservices.py'.
Traceback (most recent call last):
  File "/data/socorro/application/scripts/webservices.py", line 6, in <module>
    import config.webapiconfig as configModule
  File "/data/socorro/application/scripts/config/webapiconfig.py", line 9, in <module>
    from config.commonconfig import crashStorageClass
ImportError: cannot import name crashStorageClass
a fix has been checked into .../scripts/config/webapiconfig.py.dist  removing references to 'crashStorageClass'.  Please update the config in staging and try again...
(In reply to comment #3)
> a fix has been checked into .../scripts/config/webapiconfig.py.dist  removing
> references to 'crashStorageClass'.  Please update the config in staging and try
> again...

Almost.. had to remove this as well:

from config.commonconfig import crashStorageClass

Went ahead and checked in removal of that line, r2794

Thanks!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
OS: Linux → All
Hardware: x86_64 → All
Whiteboard: [qa-]
Component: Socorro → General
Product: Webtools → Socorro
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: