Closed
Bug 1192012
Opened 11 years ago
Closed 11 years ago
setup_supersearch_app.py broke when socorro.external.elasticsearch died
Categories
(Socorro :: General, task)
Socorro
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peterbe, Assigned: adrian)
References
Details
Here's the error:
Traceback (most recent call last):
File "setup_supersearch_app.py", line 102, in <module>
generic_app.main(SetupSuperSearchApp)
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/socorro/app/socorro_app.py", line 493, in main
values_source_list=values_source_list
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/socorro/app/socorro_app.py", line 178, in run
values_source_list=values_source_list
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/socorro/app/socorro_app.py", line 276, in _do_run
return_code = fix_exit_code(app_to_run.main())
File "setup_supersearch_app.py", line 58, in main
index_creator.create_index('socorro', None)
AttributeError: 'ESCrashStorage' object has no attribute 'create_index'
This happens when I run:
$ cd scripts # grr! why do I have to do that!?
$ python setup_supersearch_app.py
How can tests on master work if we can't create indexes?
| Assignee | ||
Comment 1•11 years ago
|
||
Peter, my commit to rework that script didn't make it to master when you merged your work on bug xxx. See the script, it still has your comment asking me to fix it: https://github.com/mozilla/socorro/blob/master/scripts/setup_supersearch_app.py#L66
I will file that one again against master instead.
Assignee: nobody → adrian
Status: NEW → ASSIGNED
Comment 2•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/41bc91cace28e407d77ccf66dbfc70b37672c0f5
Fixes bug 1192012 - Rewrote setup_supersearch_app.py file to use ES1.4 style bulk indexing. r=peterbe
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•