Add Elasticsearch fixture to deployed files

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
4 years ago
4 years ago

People

(Reporter: selenamarie, Assigned: selenamarie)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Comment hidden (empty)
I don't understand the title of this bug, what's it about?
Summary: Add elastic search fixture to deployed files → Add Elasticsearch fixture to deployed files
Here's the error: 



2015-01-05 13:31:16,576 DEBUG - processor -  - Thread-1 - skunk_classifier: reject - not a plugin hang
2015-01-05 13:31:16,577 INFO - processor -  - Thread-1 - finishing successful job: d94c019c-1ddd-4bea-8296-71e782150105
2015-01-05 13:31:16,811 CRITICAL - processor -  - Thread-1 - Submission to elasticsearch failed for d94c019c-1ddd-4bea-8296-71e782150105
Traceback (most recent call last):
  File "/data/socorro/socorro-virtualenv/lib/python2.6/site-packages/socorro-master-py2.6.egg/socorro/external/elasticsearch/crashstorage.py", line 169, in _submit_crash_to_elasticsearch
    self.create_socorro_index(es_index)
  File "/data/socorro/socorro-virtualenv/lib/python2.6/site-packages/socorro-master-py2.6.egg/socorro/external/elasticsearch/crashstorage.py", line 253, in create_socorro_index
    with open(self.config.elasticsearch_base_settings) as f:
IOError: [Errno 2] No such file or directory: '/data/socorro/socorro-virtualenv/lib/python2.6/site-packages/socorro-master-py2.6.egg/socorro/external/elasticsearch/mappings/socorro_index_settings.json'
2015-01-05 13:31:16,812 ERROR - processor -  - Thread-1 - Error in processing a job
Traceback (most recent call last):
  File "/data/socorro/socorro-virtualenv/lib/python2.6/site-packages/socorro-master-py2.6.egg/socorro/lib/threaded_task_manager.py", line 342, in run
    function(*args, **kwargs)  # execute the task
  File "/data/socorro/application/socorro/processor/processor_app.py", line 163, in transform
    crash_id
  File "/data/socorro/socorro-virtualenv/lib/python2.6/site-packages/socorro-master-py2.6.egg/socorro/external/crashstorage_base.py", line 467, in save_raw_and_processed
    crash_id
  File "/data/socorro/socorro-virtualenv/lib/python2.6/site-packages/socorro-master-py2.6.egg/socorro/external/elasticsearch/crashstorage.py", line 145, in save_raw_and_processed
    crash_document
  File "/data/socorro/socorro-virtualenv/lib/python2.6/site-packages/socorro-master-py2.6.egg/socorro/database/transaction_executor.py", line 110, in __call__
    result = function(connection, *args, **kwargs)
  File "/data/socorro/socorro-virtualenv/lib/python2.6/site-packages/socorro-master-py2.6.egg/socorro/external/elasticsearch/crashstorage.py", line 169, in _submit_crash_to_elasticsearch
    self.create_socorro_index(es_index)
  File "/data/socorro/socorro-virtualenv/lib/python2.6/site-packages/socorro-master-py2.6.egg/socorro/external/elasticsearch/crashstorage.py", line 253, in create_socorro_index
    with open(self.config.elasticsearch_base_settings) as f:
IOError: [Errno 2] No such file or directory: '/data/socorro/socorro-virtualenv/lib/python2.6/site-packages/socorro-master-py2.6.egg/socorro/external/elasticsearch/mappings/socorro_index_settings.json'
2015-01-05 13:31:23,406 DEBUG - processor -  - QueuingThread - RabbitMQCrashStorage acking with delivery_tag 1



And here's the patch: https://github.com/mozilla/socorro/pull/2618
Sounds like this issue is resolved so we don't need the fixture!
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.