You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Tom Dyas (JIRA)" <ji...@apache.org> on 2016/07/27 19:24:20 UTC

[jira] [Created] (AURORA-1742) Missing method causes Thermos Observer /j/task_ids endpoint to always fail

Tom Dyas created AURORA-1742:
--------------------------------

             Summary: Missing method causes Thermos Observer /j/task_ids endpoint to always fail
                 Key: AURORA-1742
                 URL: https://issues.apache.org/jira/browse/AURORA-1742
             Project: Aurora
          Issue Type: Bug
          Components: Observer
    Affects Versions: 0.11.0, 0.12.0, 0.13.0
            Reporter: Tom Dyas
            Priority: Minor


The code in https://github.com/apache/aurora/blob/master/src/main/python/apache/thermos/observer/http/json.py implementing the /j/task_ids JSON endpoint of the Thermos Observer attempts calls a method "task_ids" on the TaskObserver class in https://github.com/apache/aurora/blob/master/src/main/python/apache/thermos/observer/task_observer.py.

This method does not exist and so the endpoint will always fail with an exception like this:

{noformat}
AttributeError: 'TaskObserver' object has no attribute 'task_ids'
Traceback (most recent call last):
  File "/home/produser/.pex/install/bottle-0.11.6-py2.py3-none-any.whl.e1e7f36ef104f01896f13c85c9899f9d3d0a8813/bottle-0.11.6-py2.py3-none-any.whl/bottle.py", line 764, in _handle
    return route.call(**args)
  File "/home/produser/.pex/install/bottle-0.11.6-py2.py3-none-any.whl.e1e7f36ef104f01896f13c85c9899f9d3d0a8813/bottle-0.11.6-py2.py3-none-any.whl/bottle.py", line 1575, in wrapper
    rv = callback(*a, **ka)
  File "apache/thermos/observer/http/json.py", line 30, in handle_task_ids
    return self._observer.task_ids(
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)