Bhuvan Arumugam created AURORA-988:
--------------------------------------
Summary: 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)