Bill Farner created AURORA-301:
----------------------------------

             Summary: aurora_admin query is broken
                 Key: AURORA-301
                 URL: https://issues.apache.org/jira/browse/AURORA-301
             Project: Aurora
          Issue Type: Bug
          Components: Client
            Reporter: Bill Farner


When trying to query tasks to collect some information, i ran into this:

{noformat}
$ aurora_admin query --force <cluster> --states=PENDING -l '%taskId%'
Traceback (most recent call last):
  File 
"/Users/bill/.tools-cache/home/mesos/tools/admin/bin/aurora_admin/twitter/common/app/application.py",
 line 738, in _wrap_method
    return_code = method()
  File 
"/Users/bill/.tools-cache/home/mesos/tools/admin/bin/aurora_admin/twitter/common/app/application.py",
 line 760, in <lambda>
    main = lambda: main_method(*args, **kwargs)
  File 
"/Users/bill/.tools-cache/home/mesos/tools/admin/bin/aurora_admin/.deps/apache.aurora.client-0.5.0_DEV1395166800-py2.6.egg/apache/aurora/client/commands/admin.py",
 line 144, in query
    tasks = query_info.result.scheduleStatusResult.tasks
AttributeError: 'NoneType' object has no attribute 'scheduleStatusResult'
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to