500'ing search on ceph charm

Bug #1193436 reported by Richard Harding
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charmworld
Fix Released
Critical
Aaron Bentley

Bug Description

Attempting to search for ceph returned a 500 errors. Other charms did work.

Traceback of error:

2013-06-21 17:20:36 [14621] [ERROR] Error handling request
Traceback (most recent call last):
  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 125, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/paste/deploy/config.py", line 291, in __call__
    return self.app(environ, start_response)
  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyramid/router.py", line 251, in __call__
    response = self.invoke_subrequest(request, use_tweens=True)
  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyramid/router.py", line 227, in invoke_subrequest
    response = handle_request(request)
  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyramid/tweens.py", line 21, in excview_tween
    response = handler(request)
  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyramid_exclog/__init__.py", line 44, in exclog_tween
    return handler(request)
  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyramid/router.py", line 161, in handle_request
    response = view_callable(context, request)
  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyramid/config/views.py", line 375, in viewresult_to_response
    result = view(context, request)
  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyramid/config/views.py", line 491, in _requestonly_view
    response = view(request)
  File "/home/webops_deploy/charmworld/charmworld/views/search.py", line 70, in search_json
    charms.sort(result_sorter)
  File "/home/webops_deploy/charmworld/charmworld/views/helpers.py", line 97, in result_sorter
    series = cmp(SERIES_SORT.index(a['series']),
ValueError: u'raring' is not in list

Related branches

Aaron Bentley (abentley)
Changed in charmworld:
assignee: nobody → Juju-Jitsu Hackers (juju-jitsu)
status: Triaged → In Progress
Aaron Bentley (abentley)
Changed in charmworld:
assignee: Juju-Jitsu Hackers (juju-jitsu) → Aaron Bentley (abentley)
Aaron Bentley (abentley)
Changed in charmworld:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in charmworld:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.