You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Maxim Khutornenko (JIRA)" <ji...@apache.org> on 2015/02/13 22:48:12 UTC
[jira] [Created] (AURORA-1124) Aurora beta-update status command is
broken
Maxim Khutornenko created AURORA-1124:
-----------------------------------------
Summary: Aurora beta-update status command is broken
Key: AURORA-1124
URL: https://issues.apache.org/jira/browse/AURORA-1124
Project: Aurora
Issue Type: Bug
Components: Client
Reporter: Maxim Khutornenko
{noformat}
$ aurora beta-update status devcluster/www-data/prod/hello
Command failure:
Fatal error running command:
Traceback (most recent call last):
File "/usr/local/bin/aurora/apache/aurora/client/cli/__init__.py", line 312, in _execute
result = noun.execute(context)
File "/usr/local/bin/aurora/apache/aurora/client/cli/__init__.py", line 390, in execute
return self.verbs[context.options.verb].execute(context)
File "apache/aurora/client/cli/update.py", line 253, in execute
context.log_response_and_raise(response)
File "/usr/local/bin/aurora/apache/aurora/client/cli/context.py", line 135, in log_response_and_raise
self.print_err("\t%s" % combine_messages(resp))
File "/usr/local/bin/aurora/apache/aurora/client/base.py", line 50, in combine_messages
return ', '.join([d.message for d in (response.details or [])])
TypeError: sequence item 0: expected string, NoneType found
{noformat}
The above happens due to this line [1] that attempts to match AuroraJobKey against thrift JobKey and results in a subsequent RPC call [2] failing with NPE.
[1] - https://github.com/apache/incubator-aurora/blob/master/src/main/python/apache/aurora/client/cli/update.py#L243
[2] - https://github.com/apache/incubator-aurora/blob/master/src/main/python/apache/aurora/client/cli/update.py#L252
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)