Closed Bug 1030319 Opened 11 years ago Closed 11 years ago

Searching for a Feed element fails with a 500

Categories

(Marketplace Graveyard :: Curation Tools, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Assigned: kngo)

References

Details

Attachments

(1 file)

Attached image search 500.png
steps to reproduce: 1. Load https://marketplace.allizom.org/curate/manage 2. Search for "water" observed behavior: Search fails with a 500 GET https://marketplace.allizom.org/api/v2/feed/elements/search/ [HTTP/1.1 500 INTERNAL SERVER ERROR 1270ms
http://sentry.dmz.phx1.mozilla.com/marketplace-stage/marketplace-stage/group/20109/ ElasticHttpNotFoundError: Non-OK response returned (404): u'IndexMissingException[[feed_brands_stage] missing]' Stacktrace (most recent call last): File "rest_framework/views.py", line 396, in dispatch response = handler(request, *args, **kwargs) File "mkt/feed/views.py", line 315, in get **query).values_list('id')] File "elasticutils/__init__.py", line 1458, in __iter__ return iter(self._do_search()) File "elasticutils/__init__.py", line 1283, in _do_search response = self.raw() File "elasticutils/__init__.py", line 1357, in raw doc_type=self.get_doctypes()) File "pyelasticsearch/client.py", line 96, in decorate return func(*args, query_params=query_params, **kwargs) File "pyelasticsearch/client.py", line 590, in search return self._search_or_count('_search', query, **kwargs) File "pyelasticsearch/client.py", line 567, in _search_or_count query_params=query_params) File "pyelasticsearch/client.py", line 254, in send_request self._raise_exception(resp, prepped_response) File "pyelasticsearch/client.py", line 269, in _raise_exception raise error_class(response.status_code, error_message)
We needed to reindex stage here; it's kicked off and should be finished soonish.
credit to rob for kicking it off
Assignee: nobody → robhudson.mozbugs
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
This is still 500ing on dev
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Component: Admin Tools → Curation Tools
Had to make sure all the indices were built and aliased correctly. There were some missing aliases before but they're all there now.
Assignee: robhudson.mozbugs → kngo
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
verified fixed
Status: RESOLVED → VERIFIED
No longer blocks: 1027970
Blocks: 1033040
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: