[ 
https://issues.apache.org/jira/browse/AURORA-988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266945#comment-14266945
 ] 

Bhuvan Arumugam commented on AURORA-988:
----------------------------------------

[~joshua.cohen] i can replicate it without any of my local changes. Can you 
confirm you use {{aurora2.pex}} you just built?

{code}
[bhuvan@build ~/projects/mesos/incubator-aurora]$ git log -1 --stat
commit c1174a7bb6b7ee3efb76199071d7981d647560da
Author: Dave Lester <[email protected]>
Date:   Mon Dec 29 16:49:01 2014 -0500

    Fixes typo and markdown in Developing Aurora Client documentation.
    
    Reviewed at https://reviews.apache.org/r/29423/

 docs/developing-aurora-client.md |    4 ++--
[bhuvan@build ~/projects/mesos/incubator-aurora]$ ./pants 
src/main/python/apache/aurora/client/cli:aurora2
Build operating on top level addresses: 
set([BuildFileAddress(/Volumes/apple/quark/incubator-aurora/src/main/python/apache/aurora/client/cli/BUILD,
 aurora2)])
Building PythonBinary 
PythonBinary(BuildFileAddress(/Volumes/apple/quark/incubator-aurora/src/main/python/apache/aurora/client/cli/BUILD,
 aurora2)):
[bhuvan@build ~/projects/mesos/incubator-aurora]$ ./dist/aurora2.pex job status 
vagrant/bhuvan/devel/hello
 INFO] Checking status of vagrant/bhuvan/devel/hello
Fatal error running command:
Traceback (most recent call last):
  File 
"/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/cli/__init__.py",
 line 368, in _execute
    result = noun.execute(context)
  File 
"/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/cli/__init__.py",
 line 457, in execute
    return self.verbs[context.options.verb].execute(context)
  File 
"/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/cli/jobs.py",
 line 652, in execute
    result = self.get_status_for_jobs(jobs, context)
  File 
"/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/cli/jobs.py",
 line 613, in get_status_for_jobs
    job_tasks = context.get_job_status(jk)
  File 
"/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/cli/context.py",
 line 222, in get_job_status
    resp = api.check_status(key)
  File 
"/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/api/__init__.py",
 line 121, in check_status
    return self.query_no_configs(job_key.to_thrift_query())
  File 
"/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/api/__init__.py",
 line 140, in query_no_configs
    raise self.ThriftInternalError(e.args[0])
ThriftInternalError: Error during thrift call getTasksWithoutConfigs to 
vagrant: __init__() got an unexpected keyword argument 'user_agent'

{code}

> aurora client apache.aurora.client.api.ThriftInternalError error due to 
> unexpected kwarg user_agent
> ---------------------------------------------------------------------------------------------------
>
>                 Key: AURORA-988
>                 URL: https://issues.apache.org/jira/browse/AURORA-988
>             Project: Aurora
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.7.0
>            Reporter: Bhuvan Arumugam
>
> The issue occur for all commands, with both clients: v1 and v2.
> v1 error:
> {code}
> ./dist/aurora_client.pex status -v vagrant/bhuvan/devel/hello[master]
> WARNING: status is an aurora clientv1 command which will be deprecated soon
> To run this command using clientv2, use 'aurora job status 
> vagrant/bhuvan/devel/hello'
>  INFO] Checking status of vagrant/bhuvan/devel/hello
> Traceback (most recent call last):
>   File 
> "/home/bhuvan/.pex/install/twitter.common.app-0.3.2-py2-none-any.whl.c9a6c61d19a8540640a20ab7a9e32d8fe783ded1/twitter.common.app-0.3.2-py2-none-any.whl/twitter/common/app/application.py",
>  line 758, in _wrap_method
>     return_code = method()
>   File 
> "/home/bhuvan/.pex/install/twitter.common.app-0.3.2-py2-none-any.whl.c9a6c61d19a8540640a20ab7a9e32d8fe783ded1/twitter.common.app-0.3.2-py2-none-any.whl/twitter/common/app/application.py",
>  line 780, in <lambda>
>     main = lambda: main_method(*args, **kwargs)
>   File 
> "/Volumes/apple/quark/incubator-aurora/dist/aurora_client.pex/apache/aurora/client/commands/core.py",
>  line 690, in status
>   File 
> "/Volumes/apple/quark/incubator-aurora/dist/aurora_client.pex/apache/aurora/client/api/__init__.py",
>  line 121, in check_status
>   File 
> "/Volumes/apple/quark/incubator-aurora/dist/aurora_client.pex/apache/aurora/client/api/__init__.py",
>  line 140, in query_no_configs
> apache.aurora.client.api.ThriftInternalError: Error during thrift call 
> getTasksWithoutConfigs to vagrant: __init__() got an unexpected keyword 
> argument 'user_agent'
> {code}
> v2 error:
> {code}
> ./dist/aurora2.pex job status vagrant/bhuvan/devel/hello                 
> [latest]
>  INFO] Checking status of vagrant/bhuvan/devel/hello
> Fatal error running command:
> Traceback (most recent call last):
>   File 
> "/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/cli/__init__.py",
>  line 368, in _execute
>     result = noun.execute(context)
>   File 
> "/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/cli/__init__.py",
>  line 457, in execute
>     return self.verbs[context.options.verb].execute(context)
>   File 
> "/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/cli/jobs.py",
>  line 652, in execute
>     result = self.get_status_for_jobs(jobs, context)
>   File 
> "/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/cli/jobs.py",
>  line 613, in get_status_for_jobs
>     job_tasks = context.get_job_status(jk)
>   File 
> "/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/cli/context.py",
>  line 222, in get_job_status
>     resp = api.check_status(key)
>   File 
> "/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/api/__init__.py",
>  line 121, in check_status
>     return self.query_no_configs(job_key.to_thrift_query())
>   File 
> "/Volumes/apple/quark/incubator-aurora/dist/aurora2.pex/apache/aurora/client/api/__init__.py",
>  line 140, in query_no_configs
>     raise self.ThriftInternalError(e.args[0])
> ThriftInternalError: Error during thrift call getTasksWithoutConfigs to 
> vagrant: __init__() got an unexpected keyword argument 'user_agent'
> {code}



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

Reply via email to